This commit is contained in:
2023-08-29 21:34:01 +02:00
parent 9ec5ea6440
commit 3d05e80d84
6 changed files with 0 additions and 32 deletions

View File

@@ -7,7 +7,6 @@ impl Home {
html!( html!(
div div
id="home" id="home"
hx-boost="true"
."p-8" ."p-8"
."flex" ."flex"
."flex-col" ."flex-col"
@@ -29,7 +28,6 @@ impl Home {
{ {
a a
href="/inventory/" href="/inventory/"
hx-boost="true"
."p-8" ."p-8"
."w-1/5" ."w-1/5"
."flex" ."flex"
@@ -68,7 +66,6 @@ impl Home {
{ {
a a
href="/trips/" href="/trips/"
hx-boost="true"
."p-8" ."p-8"
."w-1/5" ."w-1/5"
."flex" ."flex"

View File

@@ -154,7 +154,6 @@ impl InventoryItemList {
name="edit-item" name="edit-item"
id="edit-item" id="edit-item"
action={"/inventory/item/" (edit_item_id) "/edit"} action={"/inventory/item/" (edit_item_id) "/edit"}
hx-boost="true"
target="_self" target="_self"
method="post" method="post"
{} {}
@@ -234,7 +233,6 @@ impl InventoryItemList {
{ {
a a
href=(format!("/inventory/item/{id}/cancel", id = item.id)) href=(format!("/inventory/item/{id}/cancel", id = item.id))
hx-boost="true"
."aspect-square" ."aspect-square"
."flex" ."flex"
."w-full" ."w-full"
@@ -258,7 +256,6 @@ impl InventoryItemList {
href=( href=(
format!("/inventory/item/{id}/", id=item.id) format!("/inventory/item/{id}/", id=item.id)
) )
hx-boost="true"
{ {
(item.name.clone()) (item.name.clone())
} }
@@ -282,7 +279,6 @@ impl InventoryItemList {
{ {
a a
href=(format!("?edit_item={id}", id = item.id)) href=(format!("?edit_item={id}", id = item.id))
hx-boost="true"
."aspect-square" ."aspect-square"
."flex" ."flex"
."w-full" ."w-full"
@@ -300,7 +296,6 @@ impl InventoryItemList {
{ {
a a
href=(format!("/inventory/item/{id}/delete", id = item.id)) href=(format!("/inventory/item/{id}/delete", id = item.id))
hx-boost="true"
."aspect-square" ."aspect-square"
."flex" ."flex"
."w-full" ."w-full"
@@ -504,7 +499,6 @@ impl InventoryNewCategoryForm {
name="new-category" name="new-category"
id="new-category" id="new-category"
action="/inventory/category/" action="/inventory/category/"
hx-boost="true"
target="_self" target="_self"
method="post" method="post"
."p-5" ."border-2" ."border-gray-200" { ."p-5" ."border-2" ."border-gray-200" {

View File

@@ -17,7 +17,6 @@ impl Root {
html!( html!(
a a
href=(item.path()) href=(item.path())
hx-boost="true"
#{"header-link-" (item.id())} #{"header-link-" (item.id())}
."px-5" ."px-5"
."flex" ."flex"
@@ -63,7 +62,6 @@ impl Root {
{ {
a a
#home #home
hx-boost="true"
href="/" href="/"
."flex" ."flex"
."flex-row" ."flex-row"

View File

@@ -106,7 +106,6 @@ impl TripTableRow {
td ."border" ."p-0" ."m-0" { td ."border" ."p-0" ."m-0" {
a a
href={"/trips/" (trip_id) "/"} href={"/trips/" (trip_id) "/"}
hx-boost="true"
."inline-block" ."inline-block"
."p-2" ."p-2"
."m-0" ."m-0"
@@ -128,7 +127,6 @@ impl NewTrip {
action="/trips/" action="/trips/"
target="_self" target="_self"
method="post" method="post"
hx-boost="true"
."p-5" ."border-2" ."border-gray-200" ."p-5" ."border-2" ."border-gray-200"
{ {
div ."mb-5" ."flex" ."flex-row" ."trips-center" { div ."mb-5" ."flex" ."flex-row" ."trips-center" {
@@ -237,7 +235,6 @@ impl Trip {
{ {
a a
href="/trips/" href="/trips/"
hx-boost="true"
."text-sm" ."text-sm"
."text-gray-500" ."text-gray-500"
."flex" ."flex"
@@ -257,7 +254,6 @@ impl Trip {
form form
id="edit-trip" id="edit-trip"
action=(format!("edit/{}/submit", to_variant_name(&models::trips::TripAttribute::Name).unwrap())) action=(format!("edit/{}/submit", to_variant_name(&models::trips::TripAttribute::Name).unwrap()))
hx-boost="true"
target="_self" target="_self"
method="post" method="post"
{ {
@@ -280,7 +276,6 @@ impl Trip {
{} {}
a a
href="." href="."
hx-boost="true"
."bg-red-200" ."bg-red-200"
."hover:bg-red-300" ."hover:bg-red-300"
."w-8" ."w-8"
@@ -313,7 +308,6 @@ impl Trip {
span { span {
a a
href={"?edit=" (to_variant_name(&models::trips::TripAttribute::Name).unwrap())} href={"?edit=" (to_variant_name(&models::trips::TripAttribute::Name).unwrap())}
hx-boost="true"
{ {
span span
."mdi" ."mdi"
@@ -328,7 +322,6 @@ impl Trip {
} }
a a
href={"/trips/" (trip.id) "/packagelist/"} href={"/trips/" (trip.id) "/packagelist/"}
hx-boost="true"
."p-2" ."p-2"
."border-2" ."border-2"
."border-gray-500" ."border-gray-500"
@@ -363,7 +356,6 @@ impl TripInfoRow {
name="edit-trip" name="edit-trip"
id="edit-trip" id="edit-trip"
action=(format!("edit/{key}/submit", key=(to_variant_name(&attribute_key).unwrap()) )) action=(format!("edit/{key}/submit", key=(to_variant_name(&attribute_key).unwrap()) ))
hx-boost="true"
target="_self" target="_self"
method="post" method="post"
{} {}
@@ -403,7 +395,6 @@ impl TripInfoRow {
{ {
a a
href="." // strips query parameters href="." // strips query parameters
hx-boost="true"
."flex" ."flex"
."w-full" ."w-full"
."h-full" ."h-full"
@@ -453,7 +444,6 @@ impl TripInfoRow {
{ {
a a
href={ "?edit=" (to_variant_name(&attribute_key).unwrap()) } href={ "?edit=" (to_variant_name(&attribute_key).unwrap()) }
hx-boost="true"
."flex" ."flex"
."w-full" ."w-full"
."h-full" ."h-full"
@@ -681,7 +671,6 @@ impl TripInfo {
@for triptype in active_triptypes { @for triptype in active_triptypes {
a a
href={"type/" (triptype.id) "/remove"} href={"type/" (triptype.id) "/remove"}
hx-boost="true"
{ {
li li
."border" ."border"
@@ -713,7 +702,6 @@ impl TripInfo {
@for triptype in inactive_triptypes { @for triptype in inactive_triptypes {
a a
href={"type/" (triptype.id) "/add"} href={"type/" (triptype.id) "/add"}
hx-boost="true"
{ {
li li
."border" ."border"
@@ -739,7 +727,6 @@ impl TripInfo {
} }
a a
href="/trips/types/" href="/trips/types/"
hx-boost="true"
."text-sm" ."text-sm"
."text-gray-500" ."text-gray-500"
."mr-2" ."mr-2"
@@ -778,7 +765,6 @@ impl TripComment {
form form
id="edit-comment" id="edit-comment"
action="comment/submit" action="comment/submit"
hx-boost="true"
target="_self" target="_self"
method="post" method="post"
{} {}
@@ -1221,7 +1207,6 @@ impl TripItemListRow {
href=( href=(
format!("/inventory/item/{id}/", id=item.item.id) format!("/inventory/item/{id}/", id=item.item.id)
) )
hx-boost="true"
{ {
(item.item.name.clone()) (item.item.name.clone())
} }

View File

@@ -302,7 +302,6 @@ impl TripPackageList {
"Package list for " "Package list for "
a a
href={"/trips/" (trip.id) "/"} href={"/trips/" (trip.id) "/"}
hx-boost="true"
."font-bold" ."font-bold"
{ {
(trip.name) (trip.name)
@@ -310,7 +309,6 @@ impl TripPackageList {
} }
a a
href={"/trips/" (trip.id) "/packagelist/"} href={"/trips/" (trip.id) "/packagelist/"}
hx-boost="true"
// disabled[!all_packed] // disabled[!all_packed]
// ."opacity-50"[!all_packed] // ."opacity-50"[!all_packed]
."p-2" ."p-2"

View File

@@ -32,7 +32,6 @@ impl TypeList {
."hidden" ."hidden"
id="edit-trip-type" id="edit-trip-type"
action={ (trip_type.id) "/edit/name/submit" } action={ (trip_type.id) "/edit/name/submit" }
hx-boost="true"
target="_self" target="_self"
method="post" method="post"
{} {}
@@ -57,7 +56,6 @@ impl TypeList {
{ {
a a
href="." href="."
hx-boost="true"
."bg-red-200" ."bg-red-200"
."hover:bg-red-300" ."hover:bg-red-300"
."w-8" ."w-8"
@@ -99,7 +97,6 @@ impl TypeList {
{ {
a a
href={ "?edit=" (trip_type.id) } href={ "?edit=" (trip_type.id) }
hx-boost="true"
.flex .flex
."w-full" ."w-full"
."h-full" ."h-full"
@@ -122,7 +119,6 @@ impl TypeList {
action="/trips/types/" action="/trips/types/"
target="_self" target="_self"
method="post" method="post"
hx-boost="true"
."mt-8" ."p-5" ."border-2" ."border-gray-200" ."mt-8" ."p-5" ."border-2" ."border-gray-200"
{ {
div ."mb-5" ."flex" ."flex-row" { div ."mb-5" ."flex" ."flex-row" {