From b7d46b1e20a8a4611f33879880ca5148f62b4fc9 Mon Sep 17 00:00:00 2001 From: Zachary Kain Date: Mon, 4 Mar 2013 19:42:48 -0500 Subject: [PATCH] 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}
    - -
    -
  • + + + +