mirror of
https://github.com/karma-riuk/crab-webapp.git
synced 2025-07-05 06:08:13 +02:00
added fieldset to ask for progress in case the
user reloads the page
This commit is contained in:
@ -51,6 +51,15 @@
|
||||
<span id="status" style="color: green;"> </span>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend><strong>Get status of ongoing process</strong></legend>
|
||||
<label for="url">URL:</label>
|
||||
<input type="url" id="url" placeholder="https://gym.si.usi.ch:45003/results/XXXX" size=50 required />
|
||||
<br /><br />
|
||||
<button id="request-status">Request status</button>
|
||||
<span id="status" style="color: green;"> </span>
|
||||
</fieldset>
|
||||
|
||||
|
||||
<div id="progress-container">
|
||||
<h3>Processing answers...</h3>
|
||||
|
@ -151,3 +151,7 @@ modalOverlay.addEventListener("click", (e) => {
|
||||
modalOverlay.classList.add("hidden");
|
||||
}
|
||||
});
|
||||
|
||||
document.getElementById("request-status").onclick = () => {
|
||||
url.reportValidity();
|
||||
};
|
||||
|
Reference in New Issue
Block a user