mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
Theme helpers and better theming
This commit is contained in:
parent
99f7d663cb
commit
222b2c9d54
3 changed files with 132 additions and 93 deletions
|
|
@ -71,7 +71,9 @@
|
|||
(let ((profile (get-profile body *sql-connection*)))
|
||||
(create-web-site body
|
||||
:settings '(:color-class "w3-blue-gray"
|
||||
:border-class "")
|
||||
:border-class ""
|
||||
:signup-link "/signup"
|
||||
:login-link "/login")
|
||||
:profile profile
|
||||
:roles (if profile
|
||||
(if (equalp "admin"
|
||||
|
|
@ -93,7 +95,6 @@
|
|||
(create-web-page
|
||||
body
|
||||
:login `(:menu ,*menu*
|
||||
:sign-up "/signup"
|
||||
:on-submit ,(lambda (obj)
|
||||
(if (login body *sql-connection*
|
||||
(name-value obj "username")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue