2024-03-15 18:34:24 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<!-- <link rel="stylesheet" href="/public/css/main.css">-->
|
|
|
|
<link rel="stylesheet" href="/public/css/pico.red.min.css">
|
|
|
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<title>Hibiscus.txt</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header class="container">
|
2024-03-15 20:20:33 +03:00
|
|
|
<h1 style="margin-bottom:0;">🌺 Hibiscus.txt</h1>
|
|
|
|
<p id="status" style="margin-top:0;">Today is <span id="today-date">14/03/2024</span></p>
|
2024-03-15 18:34:24 +03:00
|
|
|
</header>
|
|
|
|
<main class="container">
|
|
|
|
<h2 style="margin-bottom:0;"><label for="day">Your day so far:</label></h2>
|
|
|
|
<textarea id="day" name="Day entry" cols="40" rows="10" style="max-width: 640px; width: 100%"></textarea>
|
|
|
|
<div class="grid"><button onclick="console.log('Test save')">Save</button></div>
|
|
|
|
|
|
|
|
<h2><label for="log">Log</label></h2>
|
|
|
|
<input type="text" id="log" name="log" style="max-width: 640px; width: 100%"/>
|
|
|
|
<div class="grid"><button onclick="console.log('Test log save')">Save</button></div>
|
|
|
|
</main>
|
|
|
|
<footer class="container">
|
|
|
|
<p><a href="/page/sitemap" class="no-accent"></a> v0.0.1 | PoC using <a href="https://picocss.com">PicoCSS</a></p>
|
|
|
|
</footer>
|
|
|
|
</body>
|
2024-03-15 20:20:33 +03:00
|
|
|
|
|
|
|
<script defer>
|
|
|
|
function updateTime() {
|
|
|
|
let todayDate = new Date()
|
|
|
|
let timeField = document.getElementById("today-date")
|
|
|
|
timeField.innerText = todayDate.toISOString().split('T')[0]
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
updateTime()
|
|
|
|
</script>
|
2024-03-15 18:34:24 +03:00
|
|
|
</html>
|