Quick search: Ctrl+K palette, live test endpoint and wiring
This commit is contained in:
1 parent
26a0394ca9
commit
5793204b1b
3 files changed
+42
-2
No files matched your search
@@ -18,6 +18,7 @@
|
||||
<link rel="stylesheet" href="{% static 'ux.css' %}?{{ static_version }}">
|
||||
<link rel="stylesheet" href="{% static 'board.css' %}?{{ static_version }}">
|
||||
<link rel="stylesheet" href="{% static 'refresh.css' %}?{{ static_version }}">
|
||||
<link rel="stylesheet" href="{% static 'palette.css' %}?{{ static_version }}">
|
||||
|
||||
<link href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css' rel='stylesheet'>
|
||||
|
||||
@@ -32,6 +33,7 @@
|
||||
|
||||
<script src="{% static 'ui.js' %}?{{ static_version }}" defer></script>
|
||||
<script src="{% static 'ux.js' %}?{{ static_version }}" defer></script>
|
||||
<script src="{% static 'palette.js' %}?{{ static_version }}" defer></script>
|
||||
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
@@ -98,8 +100,8 @@
|
||||
<div class="topbar-spacer"></div>
|
||||
|
||||
<nav class="topbar-actions" aria-label="Quick actions">
|
||||
<a class="topbar-btn" href="/search" title="Search tests">
|
||||
<i class="fa-solid fa-magnifying-glass fa-fw"></i><span>Search</span>
|
||||
<a class="topbar-btn" id="palette-open" href="/search" title="Search tests" aria-keyshortcuts="Control+K Meta+K">
|
||||
<i class="fa-solid fa-magnifying-glass fa-fw"></i><span>Search</span><kbd class="topbar-kbd" aria-hidden="true">Ctrl K</kbd>
|
||||
</a>
|
||||
<a class="topbar-btn topbar-btn-primary" href="/newTest" title="Create a new test">
|
||||
<i class="fa-solid fa-plus fa-fw"></i><span>Create Test</span>
|
||||
@@ -224,5 +226,7 @@
|
||||
|
||||
<div id="toast" role="status" aria-live="polite"></div>
|
||||
|
||||
{% include "OpenBench/Blocks/palette.html" %}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user