Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
codio_signup/recording.html
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
73 lines (59 sloc)
1.54 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<title> | |
Coventry test recording | |
</title> | |
<body> | |
<div style="width:90%;font-family: 'Helvetica'; margin:auto"> | |
<div class="fit"> | |
You should record your test attempt | |
</div><br> | |
<div class="fit"> | |
In the event of concerns regarding the attempt, recordings may be used | |
</div><br> | |
<div class="fit"> | |
to mitigate the need for an Academic Conduct Offence (ACO) case. | |
</div><br><br><br> | |
<div class="fit"> | |
Detailed instructions are available <a target="_blank" href="recording/index.html">here</a> | |
</div> | |
<div class="fit"> | |
Talk to your module leader in the event of religious, societal or technical issues/difficulties | |
</div> | |
<br><br><br><br><br><br> | |
<div style="width:50%;float: right;"> | |
<div id="clock" class="fit"></div><br> | |
<button id="go" class="fit" onclick="go()" disabled>I understand</button> | |
</div> | |
</div> | |
<script src="fitty.min.js"></script> | |
<script> | |
fitty('.fit', {multiLine: true, maxSize: 60}) | |
var count = 15; | |
function countDown() | |
{ | |
let button = document.getElementById("go"); | |
let clock = document.getElementById("clock"); | |
if( count <= 1 ) | |
{ | |
clock.textContent = ""; | |
button.disabled = false; | |
} | |
else | |
{ | |
clock.textContent = count + " seconds"; | |
count--; | |
} | |
} | |
window.onload = function() | |
{ | |
countDown(); | |
var t = setInterval( countDown, 1000 ); | |
} | |
function go() | |
{ | |
const url = window.location.search.substring(1); | |
window.location.replace( url ); | |
} | |
</script> | |
</body> | |
</html> |