website/templates/index.html

70 lines
2.3 KiB
HTML
Raw Normal View History

2024-03-23 19:19:02 +00:00
<!DOCTYPE html>
<html>
2024-03-27 23:13:14 +00:00
<head>
2024-03-29 21:35:38 +00:00
<title>{{title}}</title>
2024-03-27 23:13:14 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2024-03-27 23:24:13 +00:00
<link rel="stylesheet" href="/static/css/global.css">
2024-03-28 00:17:44 +00:00
<link rel="stylesheet" href="/static/css/index.css">
2024-03-23 19:19:02 +00:00
</head>
<body>
2024-03-28 17:05:00 +00:00
<input type="checkbox" id="toggle">
2024-03-27 23:13:14 +00:00
<div id="content">
<div class="box titlebar">
2024-03-29 21:35:38 +00:00
<h1>{{title}}</h1>
2024-03-27 23:13:14 +00:00
</div>
<div id="main-pane">
<div class="box" id="sidenav">
<a href="#">Home</a>
<a href="#">Home</a>
<a href="#">Home</a>
<a href="#">Home</a>
2024-03-28 17:05:00 +00:00
<label id="login-btn" for="toggle">Login</label>
2024-03-27 23:13:14 +00:00
</div>
<div class="box" id="content-pane">
2024-03-29 21:35:38 +00:00
{% for post in posts %}
<div class="post">
<a href="{{post.url}}"><img src="{{post.image}}" alt="post img"></a>
<span>
<a href="{{post.url}}"><h2>{{post.title}}</h3></a>
<p>{{post.description}}</p>
</span>
</div>
{% endfor %}
2024-03-27 23:13:14 +00:00
</div>
</div>
</div>
2024-03-23 19:19:02 +00:00
2024-03-28 17:05:00 +00:00
<div id="login-modal-container">
<div id="login-modal">
2024-03-29 21:35:38 +00:00
2024-03-28 17:05:00 +00:00
<h1>login <labeL for="toggle">(x)</labeL></h1>
<p>secrets beyond human comprehension lie beneath this unassuming login screen</p>
2024-03-29 21:35:38 +00:00
<div class="container">
2024-03-28 17:05:00 +00:00
<div class="form-group">
<label for="uname"><b>Email:</b></label>
<input type="text" name="uname" required>
</div>
<div class="form-group">
<label for="psw"><b>Password:</b></label>
<input type="password" name="psw" required>
</div>
2024-03-29 21:35:38 +00:00
2024-03-28 17:05:00 +00:00
<br>
<button type="submit">Login</button>
<br>
<label>
<input type="checkbox" checked="checked" name="remember"> Remember me
</label>
</div>
</div>
</div>
2024-03-23 19:19:02 +00:00
</body>
2024-03-27 23:13:14 +00:00
</html>