BrainMinder/assets/templates/items/all_list.tmpl

42 lines
1.4 KiB
Cheetah
Raw Normal View History

2024-08-22 10:13:16 +02:00
{{define "itemsAll:list"}}
2024-12-27 17:33:16 +01:00
<div id="all_items_search" hidden>
2024-12-18 18:01:59 +01:00
<div class="panel-search">
2024-12-16 17:55:33 +01:00
<form method="POST" hx-post="/items" hx-target="#items">
<div class="row">
<div class="col s12 m6 l4" style="padding-right: 4px">
2024-08-22 10:13:16 +02:00
<label for="item-title">Title</label>
2024-12-16 17:55:33 +01:00
<input name="Title" id="item-title" type="text" value=""/>
2024-08-22 10:13:16 +02:00
</div>
2024-12-16 17:55:33 +01:00
<div class="col s12 m6 l4" style="padding-right: 4px">
2024-08-22 10:13:16 +02:00
<label for="item-title">Category</label>
2024-12-16 17:55:33 +01:00
<input name="Category" id="item-category" type="text" value=""/>
2024-08-22 10:13:16 +02:00
</div>
2024-12-16 17:55:33 +01:00
<div class="col s12 m6 l4" style="padding-left: 4px">
2024-08-22 10:13:16 +02:00
<label for="item-tags">Tags</label>
2024-12-16 17:55:33 +01:00
<input name="Keywords" id="item-tags" type="text" value=""/>
2024-08-22 10:13:16 +02:00
</div>
</div>
2024-12-27 17:33:16 +01:00
<div class="bar" style="padding-top: 8px; padding-bottom: 8px"><button type="submit" class="main"><i class="bi bi-search"></i> Find</button></div>
2024-08-22 10:13:16 +02:00
</form>
</div>
</div>
<div id="items" class="list">
2024-12-27 17:33:16 +01:00
<table class="table-all responsive striped stickyheader">
2024-08-22 10:13:16 +02:00
<thead>
<tr>
<th>Title</th>
<th>Type</th>
<th>Categories</th>
<th>Tags</th>
2024-12-05 18:16:04 +01:00
<th class="operations">
<a class="button" href="#" onclick="bm_toggle_visibility_list_search('all_items_search'); return false;"><i class="bi bi-search"></i></a>
2024-08-22 10:13:16 +02:00
</th>
</tr>
</thead>
<tbody>
{{ template "itemsAll:list_rows" .}}
</tbody>
</table>
</div>
{{ end }}