Finishing up the MVP

This commit is contained in:
Bad Manners 2025-04-13 23:13:51 -03:00
parent 3619063e68
commit 7f533cc583
25 changed files with 535 additions and 291 deletions

View file

@ -2,19 +2,38 @@
<html lang="en">
<head>
<title>Settings - {{ application_name }}</title>
<meta property="og:site_name" content="{{ application_name }}" />
{% include "fragments/common_headers.html" %}
</head>
<body>
{% if age_confirmation %}{% include "fragments/age_restricted_check.html"
%}{% endif %}
<div><a href="/">&lt; To home</a></div>
<main>
<h1>Settings</h1>
<form hx-put="/settings" hx-swap="none">
<label>Application name</label>
<input
name="application_name"
type="text"
value="{{ application_name }}"
/>
<form method="post" action="/settings">
<div>
<label>Application name</label>
<input
name="application_name"
type="text"
value="{{ application_name }}"
/>
</div>
<div>
<label>Ask for age confirmation?</label>
<input
name="age_confirmation"
type="checkbox"
{%
if
age_confirmation
%}checked{%
endif
%}
value="true"
/>
</div>
<button>Save changes</button>
</form>
</main>