Files
compiler-explorer/views/popups/history.pug
Mats Jun Larsen 47e8e6d3a7 Replace href=javascript:; with bootstrap link class (#7797)
Fixes #7792

Bootstrap styles `a:has([href])` as a link so the attribute had been
used in the past for things that aren't actually links, yet we want the
style for. It's better to just use `.link-primary` so it doesn't affect
the contents as discovered in #7792
2025-06-13 02:43:14 +09:00

20 lines
883 B
Plaintext

#history.modal.fade.gl_keep(tabindex="-1" role="dialog")
.modal-dialog.modal-lg
.modal-content
.modal-header
h5.modal-title History
button.btn-close(type="button" data-bs-dismiss="modal" aria-hidden="true" aria-label="Close")
.modal-body
.card
.card-body
.d-flex
div.list-content#load-history(style="height:600px;overflow-y:scroll;flex:1")
ul.historiccode(style="list-style-type: none;")
li.template
input.preview(type="radio" name="preview" style="margin-right: 10px;")
a.link-primary
div.src-content#load-history-src-display(style="height:600px;overflow-y:scroll;flex:2")
div.monaco-placeholder
.modal-footer
button.btn.btn-outline-primary(type="button" data-bs-dismiss="modal") Close