
Now using handlebars instead of format! for page generation. Added quick and dirty logging with SimpleLogger. `Board` objects now have a `last_active` field. Bit of a version gap, but whatever. This is a significant enough update I think it deserves a change in the major version. 0 Warnings, 0 Errors Handlebars eliminated the XSS vulnerability because it automatically escapes text. Added comments to src/main.rs Moved some static HTML blobs into static/ rather than baking them into the binary. Now licensed under Zlib libBoarders is now compiled separately as a library. It may have VERY little application, but whatever. Made banner 3D, and thus cooler. Replaced "Boarders" with the banner used in the backend.
29 lines
808 B
HTML
29 lines
808 B
HTML
<html>
|
|
<head>
|
|
<link rel="stylesheet" type="text/css" href="https://orbitalfox.us/Music/index.css">
|
|
<link rel="stylesheet" type="text/css" href="/static/index.css">
|
|
</head>
|
|
<body>
|
|
<div id="title" class="bar">
|
|
<h1>New Board</h1>
|
|
</div>
|
|
<div id="index">
|
|
<div class="auth">
|
|
<form action="/boards/new" method="post">
|
|
<div>
|
|
<label for="name">Board Title: </label><br>
|
|
<input type="text" id="name" name="name" required>
|
|
</div>
|
|
<div>
|
|
<label for="description">Board Description: </label>
|
|
<input type="text" id="description" name="description" required>
|
|
</div>
|
|
<input type="submit" value="Create Board">
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
</div>
|
|
</body>
|
|
</html>
|