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
# --==--==--==--==--==--==--==--==--==--==-- # # --==--==--==--==--==--==--==--==--==--==-- #
@ -277,7 +267,7 @@ include "tmpl/tests/test_bouton.nim"
# --==--==--==--==--==--==--==--==--==--==-- # # --==--==--==--==--==--==--==--==--==--==-- #
# Setup routes (URL's) # Setup routes (URL's)
# --==--==--==--==--==--==--==--==--==--==-- # # --==--==--==--==--==--==--==--==--==--==-- #
routes: routes:
# default route # default route
# --==--==--==--==--==--==--==--==--==--==-- # # --==--==--==--==--==--==--==--==--==--==-- #
@ -314,7 +304,7 @@ routes:
if isStart: if isStart:
echo "Joplin Terminal Started." echo "Joplin Terminal Started."
else: else:
echo "Joplin Terminal Stopped." echo "Joplin Terminal Stopped."
redirect(url_note) redirect(url_note)
# if Joplin application work # if Joplin application work
@ -477,9 +467,9 @@ routes:
# var tags: JsonNodeObj # var tags: JsonNodeObj
# http://localhost:41184/notes/77ec1bfbaccd4708a9f649f42896f437&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 # 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 ##
# # ## # # ##

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:
${notifBell} # var notifBell = show_notification_bell(c.notification)
${notifBell}
# end if
</button> </button>
</header> </header>