feat(14): easy htmx automatic timed request

This commit is contained in:
efim 2023-07-01 20:07:53 +00:00
parent de3d4781f0
commit 54af09d356
3 changed files with 19 additions and 28 deletions

View File

@ -2,6 +2,6 @@
@tailwind components;
@tailwind utilities;
div, section, span, p {
outline: 1px solid red;
}
/* div, section, span, p { */
/* outline: 1px solid red; */
/* } */

View File

@ -579,14 +579,6 @@ video {
margin-top: 1.5rem;
}
.mt-\[4\.5rem\] {
margin-top: 4.5rem;
}
.mt-\[0\.5rem\] {
margin-top: 0.5rem;
}
.mt-\[1rem\] {
margin-top: 1rem;
}
@ -603,8 +595,8 @@ video {
display: grid;
}
.hidden {
display: none;
.h-0 {
height: 0px;
}
.h-10 {
@ -639,16 +631,16 @@ video {
height: var(--diameter);
}
.h-screen {
height: 100vh;
}
.h-full {
height: 100%;
}
.h-0 {
height: 0px;
.h-screen {
height: 100vh;
}
.w-0 {
width: 0px;
}
.w-1\/3 {
@ -687,16 +679,12 @@ video {
width: var(--diameter);
}
.w-screen {
width: 100vw;
}
.w-full {
width: 100%;
}
.w-0 {
width: 0px;
.w-screen {
width: 100vw;
}
.grow {
@ -936,6 +924,8 @@ video {
color: rgb(255 255 255 / var(--tw-text-opacity));
}
div, section, span, p {
outline: 1px solid red;
}
/* div, section, span, p { */
/* outline: 1px solid red; */
/* } */

View File

@ -117,6 +117,7 @@
th:hx-get="'/house-choice/' + ${showdownState.playersChoice.c.name}"
hx-get="/house-choice/paper"
hx-target="#showdown-table"
hx-trigger="load delay:3s"
hx-swap="outerHTML"
>
<div