diff --git a/.mvn/wrapper/maven-wrapper.jar b/.mvn/wrapper/maven-wrapper.jar new file mode 100644 index 0000000..2cc7d4a Binary files /dev/null and b/.mvn/wrapper/maven-wrapper.jar differ diff --git a/pom.xml b/pom.xml index e38b89f..b16ed75 100644 --- a/pom.xml +++ b/pom.xml @@ -14,9 +14,10 @@ UTF-8 quarkus-bom io.quarkus - 3.8.3 + 3.9.3 3.0.0-M5 - 3.0.9 + 3.0.12 + 1.4.0 @@ -33,19 +34,31 @@ io.quarkiverse.web-bundler quarkus-web-bundler - 1.1.1 + ${web-bundler.version} org.mvnpm bootstrap 5.3.1 - runtime + provided + + + org.mvnpm.at.popperjs + core + 2.11.8 + provided + + + org.mvnpm + htmx.org + 1.9.11 + provided org.mvnpm bootstrap-icons 1.10.5 - runtime + provided io.quarkiverse.renarde @@ -106,11 +119,11 @@ io.quarkus - quarkus-rest-client-reactive + quarkus-rest-client io.quarkus - quarkus-resteasy-reactive-jackson + quarkus-rest-jackson io.quarkus diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index e657ceb..0fec308 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -59,3 +59,6 @@ quarkus.webauthn.login-page=/Login/login quarkus.default-locale=en # These are the supported locales (should include the default locale, but order is not important) quarkus.locales=en,fr + +# Enable auto-import for web-dependencies +quarkus.web-bundler.dependencies.auto-import=all \ No newline at end of file diff --git a/src/main/resources/templates/Todos/htmx.html b/src/main/resources/templates/Todos/htmx.html index c356c32..3f69a43 100644 --- a/src/main/resources/templates/Todos/htmx.html +++ b/src/main/resources/templates/Todos/htmx.html @@ -1,9 +1,6 @@ {#include main.html } {#title}Todos Htmx{/title} -{#moreScripts} - -{/moreScripts}
{#fragment id="message" rendered=false} diff --git a/src/main/resources/templates/main.html b/src/main/resources/templates/main.html index 3c026c4..cff1af4 100644 --- a/src/main/resources/templates/main.html +++ b/src/main/resources/templates/main.html @@ -6,7 +6,7 @@ {#bundle /} {#insert moreStyles /} - + {#insert moreScripts /} diff --git a/src/main/resources/web/app/main.js b/src/main/resources/web/app/main.js index 9079b54..75302cc 100644 --- a/src/main/resources/web/app/main.js +++ b/src/main/resources/web/app/main.js @@ -1,7 +1,5 @@ // INSERT YOUR JS HERE -import 'bootstrap/dist/css/bootstrap.min.css'; -import 'bootstrap/dist/js/bootstrap.bundle.min.js'; -import 'bootstrap-icons/font/bootstrap-icons.min.css'; + function clearValidationError(inputElement) { // remove any lingering error diff --git a/src/main/resources/web/app/main.css b/src/main/resources/web/app/main.scss similarity index 100% rename from src/main/resources/web/app/main.css rename to src/main/resources/web/app/main.scss diff --git a/src/main/resources/web/static/images/favicon.svg b/src/main/resources/web/static/images/favicon.svg new file mode 100644 index 0000000..b7d1116 --- /dev/null +++ b/src/main/resources/web/static/images/favicon.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file