(ns pmme-ui.admin (:require [replicant.dom :as r])) (defn render-admin-panel [state] [:div.min-h-screen.bg-gradient-to-br.from-slate-50.to-slate-100.flex.items-center.justify-center.p-8 [:div.card.bg-white.shadow-2xl.border-0.max-w-2xl.w-full [:div.card-body.p-8 [:h2.text-2xl.font-bold.text-slate-800.mb-6.text-center "ESP32 Admin Panel"] [:div.space-y-4 [:div.form-control [:label.label.w-32.items-center [:span.label-text "WiFi SSID"]] [:input.input.input-bordered {:type "text" :placeholder "Enter WiFi network name"}]] [:div.form-control [:label.label.w-32 [:span.label-text "WiFi Password"]] [:input.input.input-bordered {:type "password" :placeholder "Enter WiFi password"}]] [:div.form-control [:label.label.w-32 [:span.label-text "Device Name"]] [:input.input.input-bordered {:type "text" :placeholder "Enter device name"}]] [:div.flex.gap-2.mt-6 [:button.btn.btn-primary.flex-1 "Provision Device"] [:button.btn.btn-outline.flex-1 "Reset Device"]]]]]])