few fixes
This commit is contained in:
+18
-14
@@ -62,18 +62,30 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="options-panel" class="fullscreen-overlay">
|
<div id="options-panel" class="fullscreen-overlay">
|
||||||
<a href="#" id="overlay-close" class="close"></a>
|
<h1>RTS</h1>
|
||||||
<div id="database-buttons">
|
<!-- <a href="#" id="overlay-close" class="close"></a> -->
|
||||||
<input type='button' id='btn-delete-answer-databases' value='Delete all saved answers'>
|
|
||||||
<input type='button' id='btn-delete-cached-questions' value='Delete all cached questions'>
|
|
||||||
</div>
|
|
||||||
<div id="packets">
|
<div id="packets">
|
||||||
<p>Available Packets:</p>
|
<p>Available Packets (click to load):</p>
|
||||||
<span id="packet-list">
|
<span id="packet-list">
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="options-link">
|
<div id="options-link">
|
||||||
</div>
|
</div>
|
||||||
|
<div id="storage-details">
|
||||||
|
</div>
|
||||||
|
<div id="cache-details">
|
||||||
|
<details>
|
||||||
|
<summary></summary>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</details>
|
||||||
|
</div>
|
||||||
|
<details>
|
||||||
|
<summary>Options</summary>
|
||||||
|
<div id="database-buttons">
|
||||||
|
<input type='button' id='btn-delete-answer-databases' value='Delete local answers'>
|
||||||
|
<input type='button' id='btn-delete-cached-questions' value='Delete cached questions'>
|
||||||
|
</div>
|
||||||
<div id="local-fileloader">
|
<div id="local-fileloader">
|
||||||
<form id="jsonFile" name="jsonFile" enctype="multipart/form-data" method="post">
|
<form id="jsonFile" name="jsonFile" enctype="multipart/form-data" method="post">
|
||||||
|
|
||||||
@@ -84,16 +96,8 @@
|
|||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div id="storage-details">
|
|
||||||
</div>
|
|
||||||
<div id="cache-details">
|
|
||||||
<details>
|
|
||||||
<summary></summary>
|
|
||||||
<ul>
|
|
||||||
</ul>
|
|
||||||
</details>
|
</details>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div id="review-overlay" class="fullscreen-overlay">
|
<div id="review-overlay" class="fullscreen-overlay">
|
||||||
<a href="#" id="review-overlay-close" class="close"></a>
|
<a href="#" id="review-overlay-close" class="close"></a>
|
||||||
<div id="review-score"></div>
|
<div id="review-score"></div>
|
||||||
|
|||||||
+1
-4
@@ -2268,10 +2268,8 @@ $(".start-packet-button").click(function (evt) {
|
|||||||
$("#time-up-dialog").modal();
|
$("#time-up-dialog").modal();
|
||||||
});
|
});
|
||||||
|
|
||||||
//window.timer = timer;
|
|
||||||
|
|
||||||
// If we are not in an exam we can pause the session
|
// If we are not in an exam we can pause the session
|
||||||
if (!window.exam_mode) {
|
if (!exam_details.exam_mode) {
|
||||||
$("#timer").click(() => {
|
$("#timer").click(() => {
|
||||||
timer.pause();
|
timer.pause();
|
||||||
|
|
||||||
@@ -2463,7 +2461,6 @@ function saveSession(start_review) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
//window.saveSession = saveSession;
|
|
||||||
function refreshDatabaseSettings() {
|
function refreshDatabaseSettings() {
|
||||||
if (navigator.storage != undefined) {
|
if (navigator.storage != undefined) {
|
||||||
navigator.storage.estimate().then((value) => {
|
navigator.storage.estimate().then((value) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user