Files
compiler-explorer/views/templates/codeEditor.pug
T
RabsRincon f184e69ffb Also extract templates to their files
Compiler got some mixin love too :)
2022-07-06 08:24:06 +02:00

45 lines
2.6 KiB
Plaintext

#codeEditor
.top-bar.btn-toolbar.bg-light(role="toolbar" aria-label="Editor toolbar" name="editor-btn-toolbar")
include ../font-size
.btn-group.btn-group-sm(role="group" aria-label="Editor settings")
button.btn.btn-sm.btn-light.load-save(title="Load or save text" aria-label="Load or save text")
span.fa.fa-save
span.hideable Save/Load
button.dropdown-toggle.btn.btn-sm.btn-light.add-pane(type="button" title="Add a new pane" aria-label="Add a new pane" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false")
span.fa.fa-plus
span.hideable Add new...
.dropdown-menu
button.dropdown-item.btn.btn-sm.btn-light.add-compiler(title="Add a new compiler for this source" aria-label="New compiler")
span.dropdown-icon.fa.fa-cogs
| Compiler
button.dropdown-item.btn.btn-sm.btn-light.add-executor(title="Add a new executor for this source" aria-label="New executor")
span.dropdown-icon.fas.fa-microchip
| Execution only
button.dropdown-item.btn.btn-sm.btn-light.conformance(title="Add a new conformance view" aria-label="New conformance view")
span.dropdown-icon.fa.fa-list
| Conformance view
button.dropdown-item.btn.btn-sm.btn-light.add-editor(title="Add a new source editor view" aria-label="New source editor")
span.dropdown-icon.fa.fa-code
| Source editor
button#vim-flag.btn.btn-sm.btn-light(title="Toggle Vim Keybindings")
span.fab.fa-vimeo-v
span.hideable Vim
if thirdPartyIntegrationEnabled
.btn-group.btn-group-sm(role="group" aria-label="External Sites")
a.btn.btn-sm.btn-light.open-in-cppinsights(href="https://cppinsights.io/" target="_blank" title="Open in Cppinsights" aria-label="Open in Cppinsights")
svg(height="16" width="16")
include ../resources/cppinsights.svg
span.hideable CppInsights
a.btn.btn-sm.btn-light.open-in-quickbench(href="http://quick-bench.com/" target="_blank" title="Open in Quick-bench" aria-label="Open in Quick-bench")
svg(height="16" width="16")
include ../resources/quickbench.svg
span.hideable Quick-bench
.btn-group.btn-group-sm.mx-auto
button.btn.btn-sm.btn-outline-info.ctrlSNothing(disabled=true style="display: none")
span.fas.fa-smile
.btn-group.btn-group-sm.ml-auto(role="group" aria-label="Editor language")
select.change-language(title="Change this editor's (and associated panels) language" placeholder="Language" disabled=embedded && readOnly)
div.currentCursorPosition
div#v-status
.monaco-placeholder