.
This commit is contained in:
@@ -1096,3 +1096,21 @@ display: block
|
|||||||
.cache-out-of-date {
|
.cache-out-of-date {
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.user-text {
|
||||||
|
color: darkslateblue;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inactive {
|
||||||
|
transform: rotate(12deg);
|
||||||
|
color: #555;
|
||||||
|
font-size: 3rem;
|
||||||
|
font-weight: 700;
|
||||||
|
border: 0.25rem solid #555;
|
||||||
|
display: inline-block;
|
||||||
|
padding: 0.25rem 1rem;
|
||||||
|
text-transform: uppercase;
|
||||||
|
border-radius: 1rem;
|
||||||
|
font-family: 'Courier';
|
||||||
|
mix-blend-mode: multiply;
|
||||||
|
}
|
||||||
+1
-1
@@ -64,7 +64,7 @@
|
|||||||
<div id="options-panel" class="fullscreen-overlay">
|
<div id="options-panel" class="fullscreen-overlay">
|
||||||
<h1>RTS</h1>
|
<h1>RTS</h1>
|
||||||
<!-- <a href="#" id="overlay-close" class="close"></a> -->
|
<!-- <a href="#" id="overlay-close" class="close"></a> -->
|
||||||
<div id="user"></div>
|
<div id="user" class="user-text"></div>
|
||||||
<div id="packets">
|
<div id="packets">
|
||||||
<p>Available Packets (click to load):</p>
|
<p>Available Packets (click to load):</p>
|
||||||
<span id="packet-list">
|
<span id="packet-list">
|
||||||
|
|||||||
+5
-1
@@ -148,7 +148,7 @@ async function loadExamList(data) {
|
|||||||
|
|
||||||
//Display user info if it exists
|
//Display user info if it exists
|
||||||
if (data.hasOwnProperty("user") && data.user) {
|
if (data.hasOwnProperty("user") && data.user) {
|
||||||
$("#user").append(data.user);
|
$("#user").append(`User: ${data.user}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -191,6 +191,10 @@ async function loadExamList(data) {
|
|||||||
c = " session-completed";
|
c = " session-completed";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!exam.active) {
|
||||||
|
c = c + " inactive";
|
||||||
|
}
|
||||||
|
|
||||||
let list;
|
let list;
|
||||||
if (exam.type != undefined) {
|
if (exam.type != undefined) {
|
||||||
if ($(`#packet-list .${exam.type}`).length) {
|
if ($(`#packet-list .${exam.type}`).length) {
|
||||||
|
|||||||
Reference in New Issue
Block a user