From 41fc027150c1cfa9d8bc4dce9fd918f966a720bd Mon Sep 17 00:00:00 2001 From: Zachary Kain Date: Mon, 4 Mar 2013 17:31:33 -0500 Subject: [PATCH 01/17] add npm-debug.log to gitignore because DANG --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 029b274b27..01f730f678 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ node_modules *.swp .idea* config.json +npm-debug.log \ No newline at end of file From 01971fba1e1187acbed11ee17f3dbc084ba2c4cb Mon Sep 17 00:00:00 2001 From: Zachary Kain Date: Mon, 4 Mar 2013 19:11:37 -0500 Subject: [PATCH 02/17] improve vertical centering of task checkbox and text --- styles/app/tasks.styl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/styles/app/tasks.styl b/styles/app/tasks.styl index 70d54c189d..adf7efd112 100644 --- a/styles/app/tasks.styl +++ b/styles/app/tasks.styl @@ -76,7 +76,11 @@ li:hover .task-meta-controls .hover-show .task-controls,.task-text display:inline - margin-right:10px + margin: 0 10px 0 0 + vertical-align: -4% + + input + margin-top: 0 .task-meta-controls .hover-show display: none; From b7d46b1e20a8a4611f33879880ca5148f62b4fc9 Mon Sep 17 00:00:00 2001 From: Zachary Kain Date: Mon, 4 Mar 2013 19:42:48 -0500 Subject: [PATCH 03/17] start new task column css, add classes --- styles/app/tasks.styl | 10 +++++- views/app/tasks.html | 75 +++++++++++++++++++++++-------------------- 2 files changed, 49 insertions(+), 36 deletions(-) diff --git a/styles/app/tasks.styl b/styles/app/tasks.styl index adf7efd112..2fbdfacb0b 100644 --- a/styles/app/tasks.styl +++ b/styles/app/tasks.styl @@ -89,4 +89,12 @@ li:hover .task-meta-controls .hover-show text-decoration:none; .new-task-form - margin-bottom:5px; \ No newline at end of file + margin-bottom:5px; + + +// begin rewrite css 2013-03-04 + +.addtask-form + margin-bottom: 0.75em + .addtask-btn + float: right \ No newline at end of file diff --git a/views/app/tasks.html b/views/app/tasks.html index ccdd9bf407..ae4defe0bf 100644 --- a/views/app/tasks.html +++ b/views/app/tasks.html @@ -123,49 +123,54 @@ -
- - + + +
+
  • -
    -    
    +
    +                
    +                
    +
    + + + {#if :task.history} + + + + {/} +
    -
    - - - {#if :task.history} - - - - {/} -
    + {#if :task.notes} + + {/} +
    - {#if :task.notes} - - {/} -
    + +
    + + {#if equal(:task.type, 'habit')} + {#if :task.up}{/} + {#if :task.down}{/} + + {else if equal(:task.type, 'reward')} + {:task.value} + + {else} + + {/} +
    -
    - - {#if equal(:task.type, 'habit')} - {#if :task.up}{/} - {#if :task.down}{/} - - {else if equal(:task.type, 'reward')} - {:task.value} - - {else} - - {/} -
    -
    {:task.text}
    + +
    {:task.text}
    - -
    -
  • + + + +