2022-11-01 18:09:46 -04:00
|
|
|
{% extends 'layout.twig' %}
|
|
|
|
|
2022-11-01 23:55:07 -04:00
|
|
|
{% block title %}Home{% endblock %}
|
|
|
|
|
2022-11-01 18:09:46 -04:00
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<!-- page header -->
|
|
|
|
<header class="row">
|
|
|
|
<div class="columns twelve">
|
|
|
|
<h1>Welcome to Overseer!</h1>
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
|
2022-11-02 13:45:40 -04:00
|
|
|
<section class="row">
|
|
|
|
<div class="columns six">
|
|
|
|
<a href="/item/add">
|
|
|
|
<i class="fa-solid fa-plus"></i>
|
|
|
|
<p>Add Item</p>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="columns six">
|
|
|
|
<a href="/item/search">
|
|
|
|
<i class="fa-solid fa-search"></i>
|
|
|
|
<p>Search</p>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
2022-11-02 14:29:46 -04:00
|
|
|
<section class="row">
|
|
|
|
<table class="columns twelve">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Manufacturer</th>
|
|
|
|
<th>Type</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for item in inventory %}
|
|
|
|
<tr>
|
2022-11-02 23:23:20 -04:00
|
|
|
<td><a href="/item/{{ item.id }}">{{ item.name }}</a></td>
|
2022-11-02 14:29:46 -04:00
|
|
|
<td>{{ item.manufacturer }}</td>
|
|
|
|
<td>{{ item.type }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</section>
|
|
|
|
|
2022-11-01 18:09:46 -04:00
|
|
|
{% endblock %}
|