blob: 6d7beea76511fc0750bcd9b57bc31b10bc4428cf [file] [log] [blame] [raw]
extends _layout.pug
block prepend content
nav.navbar.navbar-godbolt.navbar-expand-md.navbar-light.bg-light
include logo.pug
button.navbar-toggler(type="button" data-toggle="collapse" data-target="#navbarContent" aria-controls="navbarContent" aria-expanded="false" aria-label="Toggle navigation")
span.navbar-toggler-icon
.collapse.navbar-collapse#navbarContent
ul.navbar-nav.navbar-left.mr-auto
li.nav-item.dropdown
a.nav-link.dropdown-toggle#addDropdown(href="javascript:;" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false") Add...
div.dropdown-menu(aria-labelledby="moreDropdown")
a.dropdown-item#add-editor(href="javascript:;" title="Click or drag to desired destination")
span.dropdown-icon.fa.fa-code
| Source Editor
a.dropdown-item#add-diff(href="javascript:;" title="Click or drag to desired destination")
span.dropdown-icon.fas.fa-exchange-alt
| Diff View
li.nav-item.dropdown
a.nav-link.dropdown-toggle#moreDropdown(href="javascript:;" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false") More
div.dropdown-menu(aria-labelledby="moreDropdown")
a.dropdown-item#setting(href="javascript:;" data-target="#settings" data-toggle="modal")
span.dropdown-icon.fas.fa-sliders-h
| Settings
div.dropdown-divider
a.dropdown-item#ui-brokenlink(href="javascript:;")
span.dropdown-icon.fas.fa-undo-alt
| Reset UI layout
a.dropdown-item#ui-reset(href="javascript:;")
span.dropdown-icon.fas.fa-trash-alt
| Reset code and UI layout
a.dropdown-item#ui-duplicate(href="javascript:;")
span.dropdown-icon.fas.fa-external-link-alt
| Open new tab
a.dropdown-item#ui-history(href="javascript:;")
span.dropdown-icon.fas.fa-exchange-alt
| History
li.nav-item.ui-presentation-control.d-none
a.nav-link.ui-presentation-first(href="javascript:;")
span.dropdown-icon.fas.fa-fast-backward
| Start
li.nav-item.ui-presentation-control.d-none
a.nav-link.ui-presentation-prev(href="javascript:;")
span.dropdown-icon.fas.fa-backward
| Previous
li.nav-item.ui-presentation-control.d-none
a.nav-link.ui-presentation-next(href="javascript:;")
span.dropdown-icon.fas.fa-forward
| Next
ul#motd.navbar-nav.navbar-center.mr-auto.community-advert.d-none
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.navbar-nav.navbar-right
if showSponsors
li.nav-item.btn.btn-outline-primary#ces(data-toggle="modal") Sponsors
include sponsor-icons.pug
li.nav-item
a.nav-link#share(href="javascript:;") Share
b.fas.fa-caret-down
li.nav-item.dropdown
a.nav-link.dropdown-toggle#otherDropdown(href="javascript:;" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false") Other
div.dropdown-menu.dropdown-menu-right(aria-labelledby="otherDropdown")
include menu-other.pug
if policies.cookies.enabled || policies.privacy.enabled
li.nav-item.dropdown
a.nav-link.dropdown-toggle#policiesDropdown(href="javascript:;" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false")
|  Policies
span#policyBellNotification.d-none.badge.badge-pill.badge-primary
span.fa.fa-bell
div.dropdown-menu.dropdown-menu-right(aria-labelledby="policiesDropdown")
include menu-policies.pug
block append footer
include popups.pug