| doctype html |
| html(lang="en") |
| head |
| include monaco.pug |
| include head.pug |
| body(class=extraBodyClass) |
| .navbar |
| .container-fluid |
| .navbar-header |
| a.navbar-brand(href="#" 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") |
| 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="#" title="Click or drag to desired destination") Editor |
| li: a#add-diff(href="#" title="Click or drag to desired destination") Diff View |
| li.dropdown |
| a.dropdown-toggle(href="#" data-toggle="dropdown") More#[b.caret] |
| ul.dropdown-menu |
| li: a(href="#" data-target="#settings" data-toggle="modal") Settings |
| li.divider |
| li: a#ui-reset(href="#") Reset (code and UI layout) |
| ul.nav.navbar-nav.navbar-right |
| li: a#share(href="#") Share#[b.caret] |
| li.dropdown |
| a.dropdown-toggle(href="#" data-toggle="dropdown") Other#[b.caret] |
| ul.dropdown-menu |
| 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="#") 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="#") Changelog |
| if sharingEnabled |
| li.tweet: a.twitter-share-button(href="https://twitter.com/share" data-via="mattgodbolt") |
| |
| #root |
| |
| include templates.pug |
| |
| .gl_keep.template |
| .urls |
| .input-group.urls-container |
| .input-group-btn |
| .btn-group.btn-group-sm |
| button.btn.btn-sm.dropdown-toggle( |
| data-toggle="dropdown" type="button" aria-haspopup="true" aria-expanded="false") |
| span.current Short |
| span.caret |
| ul.dropdown-menu.sources |
| if gapiKey |
| li: a(href="#" data-bind="Short") Short |
| li: a(href="#" data-bind="Full") Full |
| li: a(href="#" data-bind="Embed") Embed |
| li: a(href="#" data-bind="Embed (RO)") Embed (read only) |
| input.form-control.input-sm.permalink( |
| type="text" placeholder="Loading" readonly size="1024") |
| span.input-group-btn |
| button.btn.btn-sm.clippy( |
| type="button" data-clipboard-target=".popover .permalink" |
| title="Copy to clipboard") |
| img.clippy( |
| src = require("clippy.svg") width="13px" |
| alt="Copy to clipboard") |
| .lang |
| |
| include popups.pug |