retrait de quelques erreurs
This commit is contained in:
parent
2953816586
commit
5e7f2e745b
10
main.nim
10
main.nim
@ -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
|
||||
# --==--==--==--==--==--==--==--==--==--==-- #
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user