retrait de quelques erreurs

This commit is contained in:
bruno 2022-11-10 23:16:09 -05:00
parent 2953816586
commit 5e7f2e745b
2 changed files with 11 additions and 21 deletions

View File

@ -67,16 +67,6 @@ settings:
port = Port(mainPort)
bindAddr = mainURL
# --==--==--==--==--==--==--==--==--==--==-- #
# Setup user data
# --==--==--==--==--==--==--==--==--==--==-- #
type
TData* = ref object of RootObj
loggedIn*: bool
userid, username*, userpass*, email*: string
notification*: int
req*: Request
# --==--==--==--==--==--==--==--==--==--==-- #
# proc init : initialisation variables
# --==--==--==--==--==--==--==--==--==--==-- #

View File

@ -5,10 +5,8 @@
## --==--==--==--==--==--==--==--==--==--==-- #
#proc genMain(c: var TData): string =
# result = ""
<link rel="stylesheet" href="css/styles.css">
<meta http-equiv="refresh" content="0; URL=./login" />
#end proc
#
# import snippets/snippet_html
@ -42,8 +40,10 @@
</div>
<button class="notifBell-btn" data-notifBell-btn>
# var notifBell = show_notification_bell(1)
# if c.notification > 0:
# var notifBell = show_notification_bell(c.notification)
${notifBell}
# end if
</button>
</header>