diff --git a/main.nim b/main.nim index 1820be9..9efd2d0 100644 --- a/main.nim +++ b/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 diff --git a/tmpl/dashbord/dashboard.nim b/tmpl/dashbord/dashboard.nim index 84ea9cf..a52a95b 100644 --- a/tmpl/dashbord/dashboard.nim +++ b/tmpl/dashbord/dashboard.nim @@ -8,7 +8,6 @@
# var count: int = 1 - # var i: int # for i in 0 .. (columnLeftInfo.dashbord.position.len() - 1) : # count += 1