diff options
| author | Mitsuo Tokumori <[email protected]> | 2025-03-08 16:03:30 +0900 |
|---|---|---|
| committer | Mitsuo Tokumori <[email protected]> | 2025-03-08 16:03:30 +0900 |
| commit | 51163b167cce01af6101438e5e61145ad798f213 (patch) | |
| tree | 9c8e75266cedfb205db175b0b2bc41b49df75cea /app/templates | |
| parent | d9af103b9a8aed86d6ac834f1240edfb2173ffa0 (diff) | |
| download | masu-51163b167cce01af6101438e5e61145ad798f213.tar.gz masu-51163b167cce01af6101438e5e61145ad798f213.tar.bz2 masu-51163b167cce01af6101438e5e61145ad798f213.zip | |
Restructure python code to be modular
The python code is now a package named app.
app/models: db models
app/routes: flask blueprints
app/static: css, js
app/templates: jinja html templates
Diffstat (limited to 'app/templates')
| -rw-r--r-- | app/templates/index.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app/templates/index.html b/app/templates/index.html new file mode 100644 index 0000000..332b78b --- /dev/null +++ b/app/templates/index.html @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<html> +<head> + <title>MASU</title> + <link rel="stylesheet" href="/static/style.css"> +</head> +<body> + <header> + <button id="reload">Reload</button> + <label>Weather City: <input id="city" value="Kofu, JP"></label> + <label><input type="checkbox" id="pause" checked> Auto-Update</label> + </header> + <div id="container"> + <!-- TODO: Use Jinja2 blocks --> + <div class="block" id="time"> + <p id="weatherSummary"></p> + <div id="timeVisualizer"></div> + </div> + <div class="block" id="weather"> + <img id="weather-icon" src="" alt="weather icon"> + <p id="weather-summary"></p> + </div> + <!-- Add more blocks --> + </div> + <script type="module" src="/static/script.js"></script> +</body> +</html> |
