retrait de quelques erreurs
This commit is contained in:
parent
2953816586
commit
5e7f2e745b
20
main.nim
20
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
|
||||
# --==--==--==--==--==--==--==--==--==--==-- #
|
||||
@ -477,9 +467,9 @@ routes:
|
||||
# var tags: JsonNodeObj
|
||||
|
||||
|
||||
# http://localhost:41184/notes/77ec1bfbaccd4708a9f649f42896f437&token=e5f6644fbf6a97ddc55648dae72b11caecda6c6642d8ce0d3b20129b89b196385737eb908923542c3343649ebbf865b55bda031ab4c3a16edc7723ef2ad77d8f
|
||||
# http://localhost:41184/notes/77ec1bfbaccd4708a9f649f42896f437?fields=id,parent_id,title,body,created_time,updated_time,is_conflict,latitude,longitude,altitude,author,source_url,is_todo,todo_due,todo_completed,source,source_application,application_data,order,user_created_time,user_updated_time,encryption_cipher_text,encryption_applied,markup_language,is_shared,share_id,conflict_original_id,master_key_id&token=e5f6644fbf6a97ddc55648dae72b11caecda6c6642d8ce0d3b20129b89b196385737eb908923542c3343649ebbf865b55bda031ab4c3a16edc7723ef2ad77d8f
|
||||
# http://localhost:41184/notes/77ec1bfbaccd4708a9f649f42896f437&token=e5f6644fbf6a97ddc55648dae72b11caecda6c6642d8ce0d3b20129b89b196385737eb908923542c3343649ebbf865b55bda031ab4c3a16edc7723ef2ad77d8f
|
||||
# http://localhost:41184/notes/77ec1bfbaccd4708a9f649f42896f437?fields=id,parent_id,title,body,created_time,updated_time,is_conflict,latitude,longitude,altitude,author,source_url,is_todo,todo_due,todo_completed,source,source_application,application_data,order,user_created_time,user_updated_time,encryption_cipher_text,encryption_applied,markup_language,is_shared,share_id,conflict_original_id,master_key_id&token=e5f6644fbf6a97ddc55648dae72b11caecda6c6642d8ce0d3b20129b89b196385737eb908923542c3343649ebbf865b55bda031ab4c3a16edc7723ef2ad77d8f
|
||||
|
||||
# # ##
|
||||
# # END TESTS SECTION ##
|
||||
# # ##
|
||||
# # ##
|
||||
# # END TESTS SECTION ##
|
||||
# # ##
|
||||
|
@ -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