blob: 168fe7fc171e67c431ecb9c636121e261082f345 [file] [log] [blame] [raw]
doctype html
html(lang="en")
head
base(href=httpRoot)
include monaco.pug
include head.pug
body(class=extraBodyClass)
.navbar-default
.container-fluid
.navbar-header
a.navbar-brand(href="javascript:;" title="Compiler Explorer")
img.normal(src=require("site-logo.svg") height="50" width="165" alt="Compiler Explorer")
img.inverse(src=require("site-logo-inverse.svg") height="50" width="165" alt="Compiler Explorer")
if extraBodyClass === "beta"
img.beta-overlay(src=require("site-logo-beta.svg") height="50" width="165")
button(type="button" class="navbar-toggle collapsed" data-toggle="collapse"
data-target="#navbar-collapse" aria-expanded="false")
span.sr-only Toggle navigation
span.icon-bar
span.icon-bar
span.icon-bar
li.navbar-collapse.collapse#navbar-collapse
ul.nav.navbar-nav.navbar-left
li: a#add-editor(href="javascript:;" title="Click or drag to desired destination") Editor
li: a#add-diff(href="javascript:;" title="Click or drag to desired destination") Diff View
li.dropdown
a.dropdown-toggle(href="javascript:;" data-toggle="dropdown") More#[b.caret]
ul.dropdown-menu
li: a#setting(href="javascript:;" data-target="#settings" data-toggle="modal") Settings
li.divider
li: a#ui-reset(href="javascript:;") Reset (code and UI layout)
ul#motd.nav.navbar-nav.navbar-center.community-advert.hide
span.content
| Thanks for using Compiler Explorer
span.community-hide(title="Hide and never show again" aria-label="Close")
button.close(type="button" aria-hidden="true") ×
ul.nav.navbar-nav.navbar-right
li: a#share(href="javascript:;") Share#[b.caret]
li.dropdown
a.dropdown-toggle(href="javascript:;" data-toggle="dropdown") Other#[b.caret]
ul.dropdown-menu.menu-other
li
a(href="https://www.patreon.com/bePatron?u=3691963"
title="Help Compiler Explorer - become a Patron" target="_blank" rel="noopener")
img(height="20" width="20" src=require("patreon_logo.png"))
|   Become a Patron
if githubEnabled
li
a(href="https://github.com/mattgodbolt/compiler-explorer"
title="View the source on GitHub" target="_blank" rel="noopener")
img(height="20" width="20" src=require("GitHub-Mark-20px.png"))
|   Source on GitHub
li
a(href="https://groups.google.com/forum/#!forum/compiler-explorer-discussion"
title="Join Compiler Explorer Public Google Group" target="_blank" rel="noopener")
img(height="20" width="20" src=require("Google-Groups-20px.png"))
|   Mailing list
li: a(href="https://github.com/mattgodbolt/compiler-explorer/wiki/Installed-libraries" target="_blank" rel="noopener") Installed libraries
li: a(href="https://github.com/mattgodbolt/compiler-explorer/wiki" target="_blank" rel="noopener") Wiki
li: a(href="https://github.com/mattgodbolt/compiler-explorer/issues" target="_blank" rel="noopener") Report an issue
li#thanks-to: a(href="javascript:;") Thanks to...
li: a(href="https://xania.org/201609/how-compiler-explorer-runs-on-amazon" target="_blank") How it works
li: a(href="mailto:matt@godbolt.org" target="_blank" rel="noopener noreferrer") Contact the author
li: a(href="https://xania.org/MattGodbolt" rel="author" target="_blank") About the author
li#changes: a(href="javascript:;") Changelog
if sharingEnabled
li#socialshare
if policies.cookies.enabled || policies.privacy.enabled
li.dropdown
a.dropdown-toggle(href="javascript:;" data-toggle="dropdown") Policies#[b.caret]
ul.dropdown-menu.menu-other
if policies.cookies.enabled
li#cookies: a(href="javascript:;") Cookie policy
if policies.privacy.enabled
li#privacy: a(href="javascript:;") Privacy policy
#root
include templates.pug
include popups.pug