From 3f33261792ac31b9b997987db7d01c05fd85d81d Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Tue, 5 Mar 2013 20:08:31 -0500 Subject: [PATCH] proper derby tabbing --- views/app/tasks.html | 324 +++++++++++++++++++++---------------------- 1 file changed, 162 insertions(+), 162 deletions(-) diff --git a/views/app/tasks.html b/views/app/tasks.html index e8930c33da..13f4d6cd52 100644 --- a/views/app/tasks.html +++ b/views/app/tasks.html @@ -1,136 +1,136 @@ - + - -
-
-

Habits

- -
    {#each _habitList as :task}{/}
-
-
- - -
-
-

Daily

- -
    {#each _dailyList as :task}{/}
-
-
- - -
-
- - {#if _user.history.todos} - - {/} - - - -

Todos

-
- + +
+
+

Habits

+ +
    {#each _habitList as :task}{/}
-
    - {#each _todoList as :task}{/} -
-
- Clear Completed -

 

-
- -
-
- -
-
- -
-

Rewards

-
- {#unless _view.activeTabPets} - - - - - - -
{gold(_user.stats.gp)}
{silver(_user.stats.gp)}
- {else} - + +
+
+

Daily

+ +
    {#each _dailyList as :task}{/}
+
+
+ + +
+
+ + {#if _user.history.todos} + {/} + + + +

Todos

+
+
-
- - - {#if _user.flags.petsEnabled} -
- -
-
- -
- -
- {#with _view.items.pets as :pets} - -
- {#with :pets[0]}{/} - {#with :pets[1]}{/} - {#with :pets[2]}{/} - {#with :pets[3]}{/} -
- -
- {#with :pets[4]}{/} - {#with :pets[5]}{/} - {#with :pets[6]}{/} - {#with :pets[7]}{/} -
- -
- {#with :pets[8]}{/} - {#with :pets[9]}{/} - {#with :pets[10]}{/} - {#with :pets[11]}{/} -
- -
- {#with :pets[12]}{/} - {#with :pets[13]}{/} - {#with :pets[14]}{/} - {#with :pets[15]}{/} -
- -
- {#with :pets[16]}{/} -
- - - {/} -
- +
    + {#each _todoList as :task}{/} +
+ - - -
- {else} - - {/}
-
+
+ + +
+
+ +
+

Rewards

+
+ {#unless _view.activeTabPets} + + + + + + +
{gold(_user.stats.gp)}
{silver(_user.stats.gp)}
+ {else} + + {/} +
+
+ + + {#if _user.flags.petsEnabled} +
+ +
+
+ +
+ +
+ {#with _view.items.pets as :pets} + +
+ {#with :pets[0]}{/} + {#with :pets[1]}{/} + {#with :pets[2]}{/} + {#with :pets[3]}{/} +
+ +
+ {#with :pets[4]}{/} + {#with :pets[5]}{/} + {#with :pets[6]}{/} + {#with :pets[7]}{/} +
+ +
+ {#with :pets[8]}{/} + {#with :pets[9]}{/} + {#with :pets[10]}{/} + {#with :pets[11]}{/} +
+ +
+ {#with :pets[12]}{/} + {#with :pets[13]}{/} + {#with :pets[14]}{/} + {#with :pets[15]}{/} +
+ +
+ {#with :pets[16]}{/} +
+ + + {/} +
+ +
+ + + +
+ {else} + + {/}
+
@@ -140,50 +140,50 @@
- - -
  • - -
    -
    - - - {#if :task.history} - - - - {/} -
    - - {#if :task.notes} - + + +
  • + +
    +
    + + + {#if :task.history} + + + {/}
    - -
    - - {#if equal(:task.type, 'habit')} - {#if :task.up}{/} - {#if :task.down}{/} - - {else if equal(:task.type, 'reward')} - {:task.value} - - {else} - - - - - {/} -
    + {#if :task.notes} + + {/} +
    - -

    {:task.text}

    + +
    + + {#if equal(:task.type, 'habit')} + {#if :task.up}{/} + {#if :task.down}{/} + + {else if equal(:task.type, 'reward')} + {:task.value} + + {else} + + + + + {/} +
    - - -
  • + +

    {:task.text}

    + + + +