mirror of
https://github.com/csd4ni3l/loginween.git
synced 2026-01-01 04:23:48 +01:00
Move static resources into their own directories
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=New Rocker&display=swap" rel="stylesheet">
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/js/bootstrap.bundle.min.js" integrity="sha384-FKyoEForCGlyvwx9Hj09JcYn3nv7wiPVlz7YYwJrWVcXK/BmnVDxM+D2scQbITxI" crossorigin="anonymous"></script>
|
||||
<script src="https://unpkg.com/kaplay@3001.0.12/dist/kaplay.js"></script>
|
||||
<script src="/static/pumpkin.js"></script>
|
||||
<script src="/static/js/pumpkin.js"></script>
|
||||
<title>{% block title %} {% endblock %}</title>
|
||||
<style>
|
||||
.spider-web-1 {
|
||||
|
||||
@@ -57,7 +57,7 @@ function update() {
|
||||
let year = current_time.getFullYear();
|
||||
|
||||
const halloween_time = new Date(year, 9, 31);
|
||||
const after_halloween = new Date(year, 15, 1);
|
||||
const after_halloween = new Date(year, 10, 1);
|
||||
|
||||
if (current_time > halloween_time) {
|
||||
if (current_time < after_halloween) {
|
||||
@@ -65,7 +65,7 @@ function update() {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
halloween.setFullYear(year + 1);
|
||||
halloween_time.setFullYear(year + 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -31,9 +31,9 @@
|
||||
<canvas width="1280", height="720" id="canvas"></canvas>
|
||||
</div>
|
||||
</div>
|
||||
<script src="/static/gameui.js"></script>
|
||||
<script src="/static/game.js"></script>
|
||||
<script src="/static/pumpkin_memory.js"></script>
|
||||
<script src="/static/js/gameui.js"></script>
|
||||
<script src="/static/js/game.js"></script>
|
||||
<script src="/static/js/pumpkin_memory.js"></script>
|
||||
<script>
|
||||
window.addEventListener("DOMContentLoaded", () => {
|
||||
start_game();
|
||||
|
||||
@@ -30,9 +30,9 @@
|
||||
<canvas width="1280", height="720" id="canvas"></canvas>
|
||||
</div>
|
||||
</div>
|
||||
<script src="/static/gameui.js"></script>
|
||||
<script src="/static/game.js"></script>
|
||||
<script src="/static/pumpkin_roll.js"></script>
|
||||
<script src="/static/js/gameui.js"></script>
|
||||
<script src="/static/js/game.js"></script>
|
||||
<script src="/static/js/pumpkin_roll.js"></script>
|
||||
<script>
|
||||
window.addEventListener("DOMContentLoaded", () => {
|
||||
start_game();
|
||||
|
||||
Reference in New Issue
Block a user