46 lines
1.3 KiB
HTML
46 lines
1.3 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en" class="h-full bg-white">
|
||
|
{% include "head.html" %}
|
||
|
<body class="h-full">
|
||
|
|
||
|
<div class="h-full">
|
||
|
{% set current_page = "projects" %}
|
||
|
{% include "components/sidebar.html" %}
|
||
|
|
||
|
<main class="pl-72 bg-gray-50 h-full">
|
||
|
<div class="navbar bg-accent text-accent-content">
|
||
|
<div class="navbar-start">
|
||
|
<a class="btn" href="/projects">
|
||
|
{{ "arrow-left"|heroicon("w-6 h-6")|safe }} Back
|
||
|
</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<form action="/projects/new" method="POST">
|
||
|
<div class="px-8 py-8 flex flex-col gap-y-4">
|
||
|
<label class="input input-bordered flex items-center gap-2">
|
||
|
Name
|
||
|
<input type="text" id="name" name="name" class="grow" placeholder="My project is called..." />
|
||
|
</label>
|
||
|
|
||
|
<label class="input input-bordered flex items-center gap-2">
|
||
|
Key
|
||
|
<input type="text" id="key" name="key" class="grow" placeholder="Short display code, like BUG" />
|
||
|
</label>
|
||
|
|
||
|
<label class="input input-bordered flex items-center gap-2">
|
||
|
Description
|
||
|
<input type="text" id="description" name="description" class="grow" placeholder="What it's all about" />
|
||
|
</label>
|
||
|
|
||
|
<button class="btn btn-primary">Create</button>
|
||
|
</div>
|
||
|
</form>
|
||
|
|
||
|
</main>
|
||
|
|
||
|
|
||
|
<script type="text/javascript" src="/static/main.js"></script>
|
||
|
</body>
|
||
|
</html>
|