numerous improvements

This commit is contained in:
Ross
2020-12-05 16:04:36 +00:00
parent 2532d16c52
commit 45e038ccd6
9 changed files with 151 additions and 39 deletions
+16
View File
@@ -3,6 +3,10 @@ body {
background-color: black;
}
a, a:link {
color: #3282b8;
}
.warn {
color: red;
}
@@ -107,4 +111,16 @@ button a {
.marking {
float: right;
}
#question-mark-list {
padding: 20px
}
#question-mark-list a {
color: #bbe1fa
}
#question-mark-list li {
padding-bottom: 5px;
}
+14
View File
@@ -82,6 +82,20 @@ cornerstone.loadAndCacheImage(imageId).then(function(image) {
});
}
if ($("#question-mark-list").length) {
$(".show-all-button").click(() => {
$("#question-mark-list li").show();
});
$(".show-unmarked-button").click(() => {
console.log("TESTIG");
$("#question-mark-list li").each((n, el) => {
console.log(el);
if (el.dataset.markcount < 1) { $(el).hide(); }
})
});
}
});
function prepAnswerData() {