diff --git a/Makefile.toml b/Makefile.toml index e712544..4b1bf0f 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -81,7 +81,7 @@ script = "cargo docset --workspace --no-clean --platform-family redvault-ai && s [tasks.cp-docset] workspace = false dependencies = ["make-docset"] -script = "cp -r target/docset/redvault-ai.docset ~/.local/share/Zeal/Zeal/docsets/" +script = "echo $PWD; cp -r ../target/docset/redvault-ai.docset ~/.local/share/Zeal/Zeal/docsets/" [tasks.watch-test] command = "cargo" diff --git a/darm_test/src/ui/mod.rs b/darm_test/src/ui/mod.rs index f252f8d..cd14859 100644 --- a/darm_test/src/ui/mod.rs +++ b/darm_test/src/ui/mod.rs @@ -58,8 +58,8 @@ impl UiController { #[route(GET "/")] async fn index(State(_): State) -> impl IntoResponse { main_page(maud! { - div class="container mx-auto p-4" { - h1 class="text-2xl font-bold mb-4" { + div class="container p-4 mx-auto" { + h1 class="mb-4 text-2xl font-bold" { "LLM Chat App" } div .bg-white .p-6 .rounded-lg .shadow-md { @@ -67,8 +67,8 @@ impl UiController { // Chat messages will appear here } form id="chat-form" { - textarea id="user-input" class="w-full p-2 border rounded-lg mb-2" placeholder="Type your message..." {} - button type="button" data-on-click="@get('/msg')" class="bg-blue-500 text-white p-2 rounded-lg" { + textarea id="user-input" class="p-2 mb-2 w-full rounded-lg border" placeholder="Type your message..." {} + button type="button" data-on-click="@get('/msg')" class="p-2 text-white bg-blue-500 rounded-lg" { "Send" } }