Added ability to create projects

This commit is contained in:
2025-07-14 13:53:50 -04:00
parent c9ad5df2ed
commit e09d399c98
9 changed files with 80 additions and 19 deletions

View File

@ -2,7 +2,7 @@
<div class="row">
<h2>Projects</h2>
<a href="/project/add">Add a project</a>
<a href="/project/create">Create a new project</a>
<table class="twelve columns">
<thead>
@ -15,7 +15,7 @@
<tbody>
{{ range $p := .projects }}
<tr>
<td><a href="/project/{{ $p.Id }}">{{ $p.Name }}</a></td>
<td><a href="/project/{{ $p.ID }}">{{ $p.Name }}</a></td>
<td>{{ $p.CreatedAt.Format "01/02/2006 15:04am" }}</td>
<td>{{ $p.UpdatedAt.Format "01/02/2006 15:04am" }}</td>
</tr>