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

View File

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

View File

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

View File

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

View File

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

View File

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