diff --git a/src/api/templates/_sidebar.html b/src/api/templates/_sidebar.html new file mode 100644 index 0000000..2807cb5 --- /dev/null +++ b/src/api/templates/_sidebar.html @@ -0,0 +1,61 @@ + + + +
+ + +
diff --git a/src/api/templates/dashboard.html b/src/api/templates/dashboard.html index 5752515..71e349a 100644 --- a/src/api/templates/dashboard.html +++ b/src/api/templates/dashboard.html @@ -242,56 +242,6 @@ .search-form button:hover { background: #0055aa; } - - .special-searches-box { - position: fixed; - top: 136px; - right: 2rem; - width: 280px; - background: #fff; - border-radius: 8px; - padding: 1rem 1.25rem; - box-shadow: 0 1px 3px rgba(0,0,0,0.1); - max-height: calc(100vh - 4rem); - overflow-y: auto; - } - - .special-search-link { - display: block; - padding: 0.75rem; - background: #f8f9fa; - border-radius: 6px; - color: #0066cc; - text-decoration: none; - font-size: 0.875rem; - transition: background 0.15s ease; - } - - .special-search-link:hover { - background: #e7f3ff; - text-decoration: underline; - } - - .sidebar-section-title { - font-size: 0.75rem; - font-weight: 600; - text-transform: uppercase; - letter-spacing: 0.5px; - color: #888; - margin-bottom: 0.75rem; - } - - .sidebar-section-list { - display: flex; - flex-direction: column; - gap: 0.5rem; - } - - @media (max-width: 1450px) { - .special-searches-box { - display: none; - } - } @@ -379,14 +329,7 @@ {% endif %} -
- - -
+ {% include "_sidebar.html" %} diff --git a/src/api/templates/index.html b/src/api/templates/index.html index 4c89376..9e11e20 100644 --- a/src/api/templates/index.html +++ b/src/api/templates/index.html @@ -222,6 +222,7 @@ {% endif %} + {% include "_sidebar.html" %}