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) port = Port(mainPort)
bindAddr = mainURL 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 # proc init : initialisation variables
# --==--==--==--==--==--==--==--==--==--==-- # # --==--==--==--==--==--==--==--==--==--==-- #

View File

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