back button, loading js

This commit is contained in:
Matěj Divecký 2023-02-26 15:01:37 +01:00
parent 692dde2116
commit 09011a23ee
2 changed files with 9 additions and 1 deletions

View file

@ -19,10 +19,18 @@
}
</style>
<meta name="viewport" content="initial-scale=2.5">
</head>
<body>
<script type="text/javascript">
function busy(id) { document.getElementById(id).setAttribute("aria-busy","true"); }
</script>
<main class="container">
{% block content %} {% endblock %}
<a href="/" role="button" style="position: fixed; bottom: 10px; left: 10px;">Zpět na scanner</a>
</main>
</body>
</html>

View file

@ -9,5 +9,5 @@
var timer = setTimeout(function() {
window.location='/'
}, 8000);
</script>
</script>
{% endblock %}