From eb38aaa083af1bfb510ec3ceb66ac93fa0e1e81a Mon Sep 17 00:00:00 2001 From: Matthew Castrillon - Madrigal <27matt37@gmail.com> Date: Sun, 27 Jan 2019 13:39:08 +0000 Subject: [PATCH 1/2] Allows for in progress checkbox [ . ] --- css/vimwiki.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/css/vimwiki.css b/css/vimwiki.css index 9a842ca..28c0c6c 100644 --- a/css/vimwiki.css +++ b/css/vimwiki.css @@ -10,6 +10,10 @@ li.done0 { list-style-type: none; } +li.done1 { + list-style-type: none; +} + li.done4 { list-style-type: none; } From 431554f8ac775ace45cde109da06e78568983298 Mon Sep 17 00:00:00 2001 From: Matthew Castrillon - Madrigal <27matt37@gmail.com> Date: Sun, 27 Jan 2019 13:43:12 +0000 Subject: [PATCH 2/2] Fix check-boxes with addition of in progress checkbox. In progress checkbox with [ . ] in vimwiki Swapped the checkbox for checked and unchecked, previously [ ] was using the completed css styling Now [ X ] correctly uses the success checked box --- default.tpl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/default.tpl b/default.tpl index 3cb5e72..22de583 100644 --- a/default.tpl +++ b/default.tpl @@ -104,13 +104,18 @@ }); $('.done0').each(function() { - $(this).html('
'+$(this).html()+'
'); + $(this).html('
'+$(this).html()+'
'); + }); + + $('.done1').each(function() { + $(this).html('
'+$(this).html()+'
'); }); $('.done4').each(function() { - $(this).html('
'+$(this).html()+'
'); + $(this).html('
'+$(this).html()+'
'); }); + // Fade Out Back-To-Top-Link on new page $('.backtotop').fadeOut();