feat(14): easy htmx automatic timed request
This commit is contained in:
parent
de3d4781f0
commit
54af09d356
|
@ -2,6 +2,6 @@
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
|
||||||
div, section, span, p {
|
/* div, section, span, p { */
|
||||||
outline: 1px solid red;
|
/* outline: 1px solid red; */
|
||||||
}
|
/* } */
|
||||||
|
|
|
@ -579,14 +579,6 @@ video {
|
||||||
margin-top: 1.5rem;
|
margin-top: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mt-\[4\.5rem\] {
|
|
||||||
margin-top: 4.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mt-\[0\.5rem\] {
|
|
||||||
margin-top: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mt-\[1rem\] {
|
.mt-\[1rem\] {
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
}
|
}
|
||||||
|
@ -603,8 +595,8 @@ video {
|
||||||
display: grid;
|
display: grid;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hidden {
|
.h-0 {
|
||||||
display: none;
|
height: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.h-10 {
|
.h-10 {
|
||||||
|
@ -639,16 +631,16 @@ video {
|
||||||
height: var(--diameter);
|
height: var(--diameter);
|
||||||
}
|
}
|
||||||
|
|
||||||
.h-screen {
|
|
||||||
height: 100vh;
|
|
||||||
}
|
|
||||||
|
|
||||||
.h-full {
|
.h-full {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.h-0 {
|
.h-screen {
|
||||||
height: 0px;
|
height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.w-0 {
|
||||||
|
width: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.w-1\/3 {
|
.w-1\/3 {
|
||||||
|
@ -687,16 +679,12 @@ video {
|
||||||
width: var(--diameter);
|
width: var(--diameter);
|
||||||
}
|
}
|
||||||
|
|
||||||
.w-screen {
|
|
||||||
width: 100vw;
|
|
||||||
}
|
|
||||||
|
|
||||||
.w-full {
|
.w-full {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.w-0 {
|
.w-screen {
|
||||||
width: 0px;
|
width: 100vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
.grow {
|
.grow {
|
||||||
|
@ -936,6 +924,8 @@ video {
|
||||||
color: rgb(255 255 255 / var(--tw-text-opacity));
|
color: rgb(255 255 255 / var(--tw-text-opacity));
|
||||||
}
|
}
|
||||||
|
|
||||||
div, section, span, p {
|
/* div, section, span, p { */
|
||||||
outline: 1px solid red;
|
|
||||||
}
|
/* outline: 1px solid red; */
|
||||||
|
|
||||||
|
/* } */
|
||||||
|
|
|
@ -117,6 +117,7 @@
|
||||||
th:hx-get="'/house-choice/' + ${showdownState.playersChoice.c.name}"
|
th:hx-get="'/house-choice/' + ${showdownState.playersChoice.c.name}"
|
||||||
hx-get="/house-choice/paper"
|
hx-get="/house-choice/paper"
|
||||||
hx-target="#showdown-table"
|
hx-target="#showdown-table"
|
||||||
|
hx-trigger="load delay:3s"
|
||||||
hx-swap="outerHTML"
|
hx-swap="outerHTML"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
|
Loading…
Reference in New Issue