Style things a little

This commit is contained in:
2026-07-20 11:48:27 +10:00
parent e1751a3ece
commit c3e39d5714
7 changed files with 95 additions and 27 deletions

View File

@@ -2,27 +2,34 @@
<html>
<head>
<title>posts</title>
<link rel="stylesheet" type="text/css" href="/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<form action="/make_post" method="post">
<div>
<label for="username">Username:</label>
<input name="username" id="username" />
</div>
<br>
<div>
<label for="password">Password:</label>
<input type="password" name="password" id="password" />
</div>
<br>
<div>
<label for="post">Post contents:</label>
<div class="postbox">
<form action="/make_post" method="post">
<div>
<label for="username">Username:</label>
<input name="username" id="username" />
</div>
<br>
<textarea name="post" id="post"></textarea>
<div>
<label for="password">Password:</label>
<input type="password" name="password" id="password" />
</div>
<br>
<div>
<label for="post">Post contents:</label>
<br>
<textarea name="post" id="post" rows="10"></textarea>
</div>
<br>
<div>
<button>Post</button>
</div>
</form>
</div>
<div id="posts">
<div id="posts-header">
<h1>posts</h1>
</div>
<br>
<div>
<button>Post</button>
</div>
</form>
<h1>posts</h1>