From 7de02e470f6db47fe346b479dd623adb30db305c Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 8 Aug 2016 04:52:17 +0300 Subject: [PATCH] tweaking todo and styles... Signed-off-by: Alex A. Naanou --- index.html | 11 ----------- wiki.js | 54 +++++++++++++++++++++++++++++++++++------------------- 2 files changed, 35 insertions(+), 30 deletions(-) diff --git a/index.html b/index.html index cd834f6..209b00a 100755 --- a/index.html +++ b/index.html @@ -4,17 +4,6 @@ pWiki diff --git a/wiki.js b/wiki.js index 4e3a0f1..5bc9916 100755 --- a/wiki.js +++ b/wiki.js @@ -668,6 +668,16 @@ var data = { // System pages... 'System/style': { text: '' + +'.raw,\n' + +'.text {\n' + +' display: block;\n' + +'}\n' + +'\n' + +'input[type="checkbox"][checked]~*,' + +'.checked {\n' + +' text-decoration: line-through;\n' + +'}\n' + +'\n' +'.button {\n' +' text-decoration: none;\n' +' margin: 5px;\n' @@ -780,11 +790,34 @@ var data = { // XXX experimental... // XXX need sorting... + // ToDo view... + 'Templates/todo': { + text: '' + +'
' + +'' + +'' + +'...' + +'' + +'
' + +'
' + +'' + +'
' + +'' + +'' + +'@include(./raw)' + +' ' + +'×' + +'
' + +'
' + +'\n', + }, + // ToDo viewer... 'Templates/_todo': { text: '' +'\n' +'\n' - +'
' // XXX temporary until I figure out how to deal with the saveto=".." // in implicit vs. explicit _view +'' @@ -792,24 +825,7 @@ var data = { +'\n' +'\n' +'\n' - +'
' - +'' - +'' - +'...' - +'' - +'
' - +'
' - +'' - +'
' - +'' - +'' - +'@include(./raw)' - +' ' - +'×' - +'
' - +'
' + +'@include(../todo)' +'
' +'\n', },