blob: d6f37a996ad9fee8d03747d152ef5be6dfe25797 [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")
span#ces-banner-text Sponsors
include sponsor-icons.pug
li.nav-item.dropdown
a.nav-link.dropdown-toggle#share(href="javascript:;" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false") Share
div.dropdown-menu.dropdown-menu-right
if storageSolution !== "null"
a.dropdown-item#shareShort(href="javascript:;" data-target="#sharelinkdialog" data-toggle="modal" data-bind="Short")
span.dropdown-icon.fas.fa-cloud
| Short Link
|  
a.dropdown-item#shareFull(href="javascript:;" data-target="#sharelinkdialog" data-toggle="modal" data-bind="Full")
span.dropdown-icon.fas.fa-store-slash
| Full Link
|  
a.dropdown-item#shareEmbed(href="javascript:;" data-target="#sharelinkdialog" data-toggle="modal" data-bind="Embed")
span.dropdown-icon.fas.fa-window-restore
| Embed in iframe
|  
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