improve packet display

This commit is contained in:
Ross
2023-10-16 10:16:13 +01:00
parent 64b496988f
commit 2f6e3a8701
2 changed files with 14 additions and 6 deletions
+9
View File
@@ -1115,4 +1115,13 @@ input[type="button"], button {
.login-button {
cursor: pointer;
}
h2:has(+ #exam-list:empty), h2:has(+ #packet-list:empty){
opacity: 30%;
}
#exam-list:empty::after, #packet-list:empty::after{
content: "None available.";
opacity: 30%;
}
+5 -6
View File
@@ -68,14 +68,13 @@
<div id="packets">
<p>Click buttons below to load an exam / packet</p>
<span class="exam-wrapper">
<h2>Available Exams:</h2>
<span id="exam-list">
</span>
<h2>Exams:</h2>
<span id="exam-list"></span>
</span>
<h2>Available Packets:</h2>
<span id="packet-list">
<span class="packet-wrapper">
<h2>Packets:</h2>
<span id="packet-list"></span>
</span>
</div>
<div id="options-link">