This commit is contained in:
roberto 2025-01-01 17:44:54 +01:00
parent fe590e4d9e
commit 922fb369b1
8 changed files with 12 additions and 12 deletions

View File

@ -18,8 +18,8 @@
<tr> <tr>
<th>Name</th> <th>Name</th>
<th class="operations"> <th class="operations">
<a class="button" hx-get="/category/create" hx-push-url="true" hx-target="#page-content"><i class="bi bi-plus-circle"></i></a> <a class="button show-large" hx-get="/category/create" hx-push-url="true" hx-target="#page-content"><i class="bi bi-plus-circle"></i></a>
<a class="button" href="#" onclick="bm_toggle_visibility_list_search('all_categories_search'); return false;"><i class="bi bi-search"></i></a> <a class="button show-large" href="#" onclick="bm_toggle_visibility_list_search('all_categories_search'); return false;"><i class="bi bi-search"></i></a>
</th> </th>
</tr> </tr>
</thead> </thead>

View File

@ -29,7 +29,7 @@
<th>Categories</th> <th>Categories</th>
<th>Tags</th> <th>Tags</th>
<th class="operations"> <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> <a class="button show-large" href="#" onclick="bm_toggle_visibility_list_search('all_items_search'); return false;"><i class="bi bi-search"></i></a>
</th> </th>
</tr> </tr>
</thead> </thead>

View File

@ -1,7 +1,7 @@
{{define "page:title"}} {{define "page:title"}}
<div id="page-title-title"><h5>All Items</h5></div> <div id="page-title-title"><h5>All Items</h5></div>
<div class="hide-large" id="top-toolbar"> <div class="hide-large" id="top-toolbar">
<a class="button" href="#" onclick="bm_toggle_visibility('all_items_search'); return false;" ><i class="bi bi-search"></i></a> <a class="button" href="#" onclick="bm_toggle_visibility_list_search('all_items_search'); return false;" ><i class="bi bi-search"></i></a>
<a href="#" onclick="bm_toggle_quickbox(); return false;" class="button"><i class='bi bi-inbox-fill'></i></a> <a href="#" onclick="bm_toggle_quickbox(); return false;" class="button"><i class='bi bi-inbox-fill'></i></a>
</div> </div>
{{end}} {{end}}

View File

@ -33,8 +33,8 @@
<th>{{.Title}}</th> <th>{{.Title}}</th>
{{end}} {{end}}
<th class="operations" nowrap="nowrap"> <th class="operations" nowrap="nowrap">
<a class="button" hx-get="/item/create/{{.type.Id}}" hx-push-url="true" hx-target="#page-content"><i class="bi bi-plus-circle"></i></a> <a class="button show-large" hx-get="/item/create/{{.type.Id}}" hx-push-url="true" hx-target="#page-content"><i class="bi bi-plus-circle"></i></a>
<a class="button" href="#" onclick="bm_toggle_visibility_list_search('items_search'); return false;"><i class="bi bi-search"></i></a> <a class="button show-large" href="#" onclick="bm_toggle_visibility_list_search('items_search'); return false;"><i class="bi bi-search"></i></a>
</th> </th>
</tr> </tr>
</thead> </thead>

View File

@ -1,7 +1,7 @@
{{define "page:title"}} {{define "page:title"}}
<div id="page-title-title"><h5>{{.type.Title}} Items</h5></div> <div id="page-title-title"><h5>{{.type.Title}} Items</h5></div>
<div class="hide-large" id="top-toolbar"> <div class="hide-large" id="top-toolbar">
<a class="button" href="#" onclick="bm_toggle_visibility('items_search'); return false;" ><i class="bi bi-search"></i></a> <a class="button" href="#" onclick="bm_toggle_visibility_list_search('items_search'); return false;" ><i class="bi bi-search"></i></a>
<a class="button" hx-get="/item/create/{{.type.Id}}" hx-push-url="true" hx-target="#page-content"><i class="bi bi-plus-square-fill"></i></a> <a class="button" hx-get="/item/create/{{.type.Id}}" hx-push-url="true" hx-target="#page-content"><i class="bi bi-plus-square-fill"></i></a>
<a class="button" href="#" onclick="bm_toggle_quickbox(); return false;"><i class='bi bi-inbox-fill'></i></a> <a class="button" href="#" onclick="bm_toggle_quickbox(); return false;"><i class='bi bi-inbox-fill'></i></a>
</div> </div>

View File

@ -20,8 +20,8 @@
<tr> <tr>
<th>Title</th> <th>Title</th>
<th class="operations"> <th class="operations">
<a class="button" hx-get="/notebook/create" hx-push-url="true" hx-target="#page-content"><i class="bi bi-plus-circle"></i></a> <a class="button show-large" hx-get="/notebook/create" hx-push-url="true" hx-target="#page-content"><i class="bi bi-plus-circle"></i></a>
<a class="button" href="#" onclick="bm_toggle_visibility_list_search('all_notebooks_search'); return false;"><i class="bi bi-search"></i></a> <a class="button show-large" href="#" onclick="bm_toggle_visibility_list_search('all_notebooks_search'); return false;"><i class="bi bi-search"></i></a>
</th> </th>
</tr> </tr>
</thead> </thead>

View File

@ -9,7 +9,7 @@
</div> </div>
<div id="main-sidebar-content"> <div id="main-sidebar-content">
<div id="sidebar-search" class="hide-medium"> <div id="sidebar-search" class="hide-large">
<form method="POST" hx-post="/items/search" hx-target="#page-content" hx-push-url="true" hx-on:submit="bm_sidebar_click('main-sidebar')"> <form method="POST" hx-post="/items/search" hx-target="#page-content" hx-push-url="true" hx-on:submit="bm_sidebar_click('main-sidebar')">
<div style="display: flex;"> <div style="display: flex;">
<div style="flex-grow:1"> <div style="flex-grow:1">

View File

@ -18,8 +18,8 @@
<tr> <tr>
<th>Title</th> <th>Title</th>
<th class="operations"> <th class="operations">
<a class="button" hx-get="/type/create" hx-push-url="true" hx-target="#page-content"><i class="bi bi-plus-circle"></i></a> <a class="button show-large" hx-get="/type/create" hx-push-url="true" hx-target="#page-content"><i class="bi bi-plus-circle"></i></a>
<a class="button" href="#" onclick="bm_toggle_visibility_list_search('all_types_search'); return false;"><i class="bi bi-search"></i></a> <a class="button show-large" href="#" onclick="bm_toggle_visibility_list_search('all_types_search'); return false;"><i class="bi bi-search"></i></a>
</th> </th>
</tr> </tr>
</thead> </thead>