hibiscus/pages/index.html

33 lines
1,005 B
HTML
Raw Normal View History

2024-03-15 18:34:24 +03:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
2024-03-18 15:01:09 +03:00
<link rel="stylesheet" href="/public/main.css">
<script src="/public/date.js"></script>
<script src="/public/requests.js"></script>
2024-03-15 18:34:24 +03:00
<title>Hibiscus.txt</title>
</head>
<body>
2024-03-18 00:51:27 +03:00
<header>
2024-03-18 12:46:20 +03:00
<h1>🌺 Hibiscus.txt</h1>
<p id="status">Today is <span id="today-date">a place</span></p>
2024-03-15 18:34:24 +03:00
</header>
2024-03-18 00:51:27 +03:00
<main>
2024-03-15 18:34:24 +03:00
<h2 style="margin-bottom:0;"><label for="day">Your day so far:</label></h2>
2024-03-26 14:32:19 +03:00
<textarea id="day" name="Day entry" cols="40" rows="15" style="max-width: 640px; width: 100%"></textarea>
2024-03-17 16:44:05 +03:00
<div class="grid"><button onclick="saveToday()">Save</button></div>
2024-03-15 18:34:24 +03:00
</main>
2024-03-26 14:32:19 +03:00
<footer>
<p><a href="/">home </a> | <a href="/days">previous days</a> | <a href="/api/readme">readme.txt</a></p>
</footer>
2024-03-15 18:34:24 +03:00
</body>
2024-03-15 20:20:33 +03:00
<script defer>
2024-03-18 15:01:09 +03:00
updateDate()
beginDateUpdater()
2024-03-17 16:44:05 +03:00
loadToday()
2024-03-15 20:20:33 +03:00
</script>
2024-03-15 18:34:24 +03:00
</html>