50 lines
1.7 KiB
HTML
50 lines
1.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>judas</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
|
</head>
|
|
<body>
|
|
<div id="wrapper">
|
|
<header>
|
|
<h1><a href="{{ url_for('index') }}">judas</a></h1>
|
|
{% if logged %}
|
|
<p>Welcome, {{ username }}! <a href="{{ url_for('logout') }}">Logout</a></p>
|
|
{% else %}
|
|
<p><a class="button" href="{{ url_for('login') }}">Login</a></p>
|
|
{% endif %}
|
|
</header>
|
|
<main class="center">
|
|
<p>Welcome to</p>
|
|
<h2 id="typing-text" style="font-size: 3rem;">judas</h2>
|
|
<p>a remote PC fleet management system</p>
|
|
<br>
|
|
<p style="color: #bf616a;"><strong>Notice:</strong> Please use this system responsibly and in accordance with all applicable laws and organizational policies.</p>
|
|
<p>Please log in to manage your remote PCs.</p>
|
|
</main>
|
|
</div>
|
|
<script>
|
|
var i = 0;
|
|
var txt = document.getElementById("typing-text").innerHTML;
|
|
var minSpeed = 50;
|
|
var maxSpeed = 200;
|
|
|
|
document.getElementById("typing-text").innerHTML = "";
|
|
|
|
function typeWriter() {
|
|
if (i < txt.length) {
|
|
document.getElementById("typing-text").innerHTML += txt.charAt(i);
|
|
i++;
|
|
|
|
var randomDelay = Math.floor(Math.random() * (maxSpeed - minSpeed + 1)) + minSpeed;
|
|
setTimeout(typeWriter, randomDelay);
|
|
}
|
|
}
|
|
|
|
typeWriter();
|
|
</script>
|
|
</body>
|
|
</html>
|