retrait du maximum de msgs d'erreur
This commit is contained in:
parent
f14a7f1b53
commit
b7b030ca90
10
main.nim
10
main.nim
@ -277,7 +277,7 @@ include "tmpl/tests/test_bouton.nim"
|
||||
# --==--==--==--==--==--==--==--==--==--==-- #
|
||||
# Setup routes (URL's)
|
||||
# --==--==--==--==--==--==--==--==--==--==-- #
|
||||
routes:
|
||||
routes:
|
||||
|
||||
# default route
|
||||
# --==--==--==--==--==--==--==--==--==--==-- #
|
||||
@ -290,7 +290,7 @@ routes:
|
||||
get "/secret":
|
||||
createTFD()
|
||||
echo c.loggedIn
|
||||
var isStart: int = 0
|
||||
# var isStart: int = 0
|
||||
|
||||
|
||||
# if joplin_cli_status() == false:
|
||||
@ -311,6 +311,10 @@ routes:
|
||||
# Start joplin terminal cli if stropped
|
||||
if @"msg" == "startStopJoplin":
|
||||
var isStart = joplin_cli_start_stop()
|
||||
if isStart:
|
||||
echo "Joplin Terminal Started."
|
||||
else:
|
||||
echo "Joplin Terminal Stopped."
|
||||
redirect(url_note)
|
||||
|
||||
# if Joplin application work
|
||||
@ -470,7 +474,7 @@ routes:
|
||||
# --==--==--==--==--==--==--==--==--==--==-- #
|
||||
get "/test_tags_json":
|
||||
createTFD()
|
||||
var tags: JsonNodeObj
|
||||
# var tags: JsonNodeObj
|
||||
|
||||
|
||||
# http://localhost:41184/notes/77ec1bfbaccd4708a9f649f42896f437&token=e5f6644fbf6a97ddc55648dae72b11caecda6c6642d8ce0d3b20129b89b196385737eb908923542c3343649ebbf865b55bda031ab4c3a16edc7723ef2ad77d8f
|
||||
|
@ -8,7 +8,6 @@
|
||||
<div style="position: relative; zoom: 1;">
|
||||
<div class="apps">
|
||||
# var count: int = 1
|
||||
# var i: int
|
||||
# for i in 0 .. (columnLeftInfo.dashbord.position.len() - 1) :
|
||||
# count += 1
|
||||
<button type="button" class="glow-on-hover">
|
||||
|
@ -1,5 +1,5 @@
|
||||
import templates
|
||||
import ../../nim-lib/outils/web/web_utils
|
||||
# import ../../nim-lib/outils/web/web_utils
|
||||
|
||||
# --==--==--==--==--==--==--==--==--==--==-- #
|
||||
# SVG : HTML title H2
|
||||
|
@ -1,5 +1,4 @@
|
||||
#? stdtmpl | standard
|
||||
# import ../snippets/snippet_icons
|
||||
#proc test_bouton(columnLeftInfo: var ColomnLeftData): string =
|
||||
# result = ""
|
||||
<!DOCTYPE html>
|
||||
@ -31,7 +30,6 @@
|
||||
<div style="position: relative; zoom: 1;">
|
||||
<div class="apps">
|
||||
# var count: int = 1
|
||||
# var i: int
|
||||
# for i in 0 .. (columnLeftInfo.dashbord.position.len() - 1) :
|
||||
# count += 1
|
||||
<button type="button" id="openWindow" class="glow-on-hover">
|
||||
|
@ -1,5 +1,4 @@
|
||||
#? stdtmpl | standard
|
||||
# import ../snippets/snippet_html
|
||||
#proc test_notebooks(c: var TData, columnLeftInfo: var ColomnLeftData): string =
|
||||
# result = ""
|
||||
<!DOCTYPE html>
|
||||
|
@ -1,5 +1,4 @@
|
||||
#? stdtmpl | standard
|
||||
# import ../snippets/snippet_html
|
||||
#proc test_notes(c: var TData, columnLeftInfo: var ColomnLeftData): string =
|
||||
# result = ""
|
||||
<!DOCTYPE html>
|
||||
|
@ -1,5 +1,4 @@
|
||||
#? stdtmpl | standard
|
||||
# import ../snippets/snippet_html
|
||||
#
|
||||
#proc test_ping(c: var TData, ping: joplin_ping): string =
|
||||
# result = ""
|
||||
|
@ -1,5 +1,4 @@
|
||||
#? stdtmpl | standard
|
||||
# import ../snippets/snippet_html
|
||||
#proc test_tags(c: var TData, columnLeftInfo: var ColomnLeftData): string =
|
||||
# result = ""
|
||||
<!DOCTYPE html>
|
||||
|
@ -12,7 +12,6 @@
|
||||
#end proc
|
||||
#
|
||||
# import snippets/snippet_html
|
||||
# import snippets/snippet_icons
|
||||
#proc genSecret(c: var TData, columnLeftInfo: var ColomnLeftData, ColomnRightInfo: var ColomnRightData): string =
|
||||
# result = ""
|
||||
<!DOCTYPE html>
|
||||
|
Loading…
Reference in New Issue
Block a user