retrait du maximum de msgs d'erreur

This commit is contained in:
bruno 2022-11-10 21:21:59 -05:00
parent f14a7f1b53
commit b7b030ca90
9 changed files with 8 additions and 12 deletions

View File

@ -277,7 +277,7 @@ include "tmpl/tests/test_bouton.nim"
# --==--==--==--==--==--==--==--==--==--==-- # # --==--==--==--==--==--==--==--==--==--==-- #
# Setup routes (URL's) # Setup routes (URL's)
# --==--==--==--==--==--==--==--==--==--==-- # # --==--==--==--==--==--==--==--==--==--==-- #
routes: routes:
# default route # default route
# --==--==--==--==--==--==--==--==--==--==-- # # --==--==--==--==--==--==--==--==--==--==-- #
@ -290,7 +290,7 @@ routes:
get "/secret": get "/secret":
createTFD() createTFD()
echo c.loggedIn echo c.loggedIn
var isStart: int = 0 # var isStart: int = 0
# if joplin_cli_status() == false: # if joplin_cli_status() == false:
@ -311,6 +311,10 @@ routes:
# Start joplin terminal cli if stropped # Start joplin terminal cli if stropped
if @"msg" == "startStopJoplin": if @"msg" == "startStopJoplin":
var isStart = joplin_cli_start_stop() var isStart = joplin_cli_start_stop()
if isStart:
echo "Joplin Terminal Started."
else:
echo "Joplin Terminal Stopped."
redirect(url_note) redirect(url_note)
# if Joplin application work # if Joplin application work
@ -470,7 +474,7 @@ routes:
# --==--==--==--==--==--==--==--==--==--==-- # # --==--==--==--==--==--==--==--==--==--==-- #
get "/test_tags_json": get "/test_tags_json":
createTFD() createTFD()
var tags: JsonNodeObj # var tags: JsonNodeObj
# http://localhost:41184/notes/77ec1bfbaccd4708a9f649f42896f437&token=e5f6644fbf6a97ddc55648dae72b11caecda6c6642d8ce0d3b20129b89b196385737eb908923542c3343649ebbf865b55bda031ab4c3a16edc7723ef2ad77d8f # http://localhost:41184/notes/77ec1bfbaccd4708a9f649f42896f437&token=e5f6644fbf6a97ddc55648dae72b11caecda6c6642d8ce0d3b20129b89b196385737eb908923542c3343649ebbf865b55bda031ab4c3a16edc7723ef2ad77d8f

View File

@ -8,7 +8,6 @@
<div style="position: relative; zoom: 1;"> <div style="position: relative; zoom: 1;">
<div class="apps"> <div class="apps">
# var count: int = 1 # var count: int = 1
# var i: int
# for i in 0 .. (columnLeftInfo.dashbord.position.len() - 1) : # for i in 0 .. (columnLeftInfo.dashbord.position.len() - 1) :
# count += 1 # count += 1
<button type="button" class="glow-on-hover"> <button type="button" class="glow-on-hover">

View File

@ -1,5 +1,5 @@
import templates import templates
import ../../nim-lib/outils/web/web_utils # import ../../nim-lib/outils/web/web_utils
# --==--==--==--==--==--==--==--==--==--==-- # # --==--==--==--==--==--==--==--==--==--==-- #
# SVG : HTML title H2 # SVG : HTML title H2

View File

@ -1,5 +1,4 @@
#? stdtmpl | standard #? stdtmpl | standard
# import ../snippets/snippet_icons
#proc test_bouton(columnLeftInfo: var ColomnLeftData): string = #proc test_bouton(columnLeftInfo: var ColomnLeftData): string =
# result = "" # result = ""
<!DOCTYPE html> <!DOCTYPE html>
@ -31,7 +30,6 @@
<div style="position: relative; zoom: 1;"> <div style="position: relative; zoom: 1;">
<div class="apps"> <div class="apps">
# var count: int = 1 # var count: int = 1
# var i: int
# for i in 0 .. (columnLeftInfo.dashbord.position.len() - 1) : # for i in 0 .. (columnLeftInfo.dashbord.position.len() - 1) :
# count += 1 # count += 1
<button type="button" id="openWindow" class="glow-on-hover"> <button type="button" id="openWindow" class="glow-on-hover">

View File

@ -1,5 +1,4 @@
#? stdtmpl | standard #? stdtmpl | standard
# import ../snippets/snippet_html
#proc test_notebooks(c: var TData, columnLeftInfo: var ColomnLeftData): string = #proc test_notebooks(c: var TData, columnLeftInfo: var ColomnLeftData): string =
# result = "" # result = ""
<!DOCTYPE html> <!DOCTYPE html>

View File

@ -1,5 +1,4 @@
#? stdtmpl | standard #? stdtmpl | standard
# import ../snippets/snippet_html
#proc test_notes(c: var TData, columnLeftInfo: var ColomnLeftData): string = #proc test_notes(c: var TData, columnLeftInfo: var ColomnLeftData): string =
# result = "" # result = ""
<!DOCTYPE html> <!DOCTYPE html>

View File

@ -1,5 +1,4 @@
#? stdtmpl | standard #? stdtmpl | standard
# import ../snippets/snippet_html
# #
#proc test_ping(c: var TData, ping: joplin_ping): string = #proc test_ping(c: var TData, ping: joplin_ping): string =
# result = "" # result = ""

View File

@ -1,5 +1,4 @@
#? stdtmpl | standard #? stdtmpl | standard
# import ../snippets/snippet_html
#proc test_tags(c: var TData, columnLeftInfo: var ColomnLeftData): string = #proc test_tags(c: var TData, columnLeftInfo: var ColomnLeftData): string =
# result = "" # result = ""
<!DOCTYPE html> <!DOCTYPE html>

View File

@ -12,7 +12,6 @@
#end proc #end proc
# #
# import snippets/snippet_html # import snippets/snippet_html
# import snippets/snippet_icons
#proc genSecret(c: var TData, columnLeftInfo: var ColomnLeftData, ColomnRightInfo: var ColomnRightData): string = #proc genSecret(c: var TData, columnLeftInfo: var ColomnLeftData, ColomnRightInfo: var ColomnRightData): string =
# result = "" # result = ""
<!DOCTYPE html> <!DOCTYPE html>