From feba0878de7891144bf508b526be8c7d172e534d Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Mon, 14 Jan 2013 13:31:14 -0500 Subject: [PATCH] move all the modals to one spot in the html. add footers to them, much cleaner --- views/app/index.html | 184 ++++++++++++++++++++++++------------------- 1 file changed, 101 insertions(+), 83 deletions(-) diff --git a/views/app/index.html b/views/app/index.html index a7b941e58a..141aaad543 100644 --- a/views/app/index.html +++ b/views/app/index.html @@ -23,19 +23,6 @@
{#unless _loggedIn} Login / Register - - - Login / Register With Facebook -

Or

- - - - - - - - -
{else}
@@ -48,25 +35,6 @@
  • Logout
  • - - - User ID
    - Copy this ID for use in third party applications. -
    {_user.id}

    -
    - - -

    This resets your entire account - your tasks will be deleted and your character will start over.

    -

    This is highly discouraged because you'll lose historical data, which is useful for graphing your progress over time. However, some people find it useful in the beginning after playing with the app for a while.

    - -
    - - -

    Habit is maintained by one dude: Tyler. Until Habit can make some money, I need to stay afloat to fix bugs and add features. Consider it a donation to get the project rolling.

    -

    Chime in on discussion of Habit's business model, in hopes to eventually get rid of those nasty ads.

    - -
    - {/}
    @@ -112,26 +80,107 @@ + + + {#if _loggedIn} + + User ID
    + Copy this ID for use in third party applications. +
    {_user.id}

    + <@footer> + + +
    + + +

    This resets your entire account - your tasks will be deleted and your character will start over.

    +

    This is highly discouraged because you'll lose historical data, which is useful for graphing your progress over time. However, some people find it useful in the beginning after playing with the app for a while.

    + <@footer> + + + +
    + + +

    Habit is maintained by one dude: Tyler. Until Habit can make some money, I need to stay afloat to fix bugs and add features. Consider it a donation to get the project rolling.

    +

    Chime in on discussion of Habit's business model, in hopes to eventually get rid of those nasty ads.

    + <@footer> + + +
    + {else} + + Login / Register With Facebook +

    Or

    + + + + + + + + +
    + {/} + +
    + + + + + + +
    +

    Game Over

    +

    + Continue +

    +
    +
    +
    + + + + +

    Highly discouraged because red tasks provide good incentive to improve (read more). However, this becomes necessary after long bouts of bad habits.

    + <@footer> + {#if lessThan(_user.balance,1)} + Buy More TokensNot enough tokens + {else} + 4 Tokens + {/} + +
    + + + +

    Adds 20 tokens and removes ads.

    +
    + +
    +

    $5

    +
    + + +
    +
    + + +
    +
    + + + / + +
    + +
    +

    - -
    - - - - - - -
    -

    Game Over

    -

    - Continue -

    -
    -
    -
    +
    @@ -209,44 +258,10 @@
    - - - -

    Highly discouraged because red tasks provide good incentive to improve (read more). However, this becomes necessary after long bouts of bad habits.

    - {#if lessThan(_user.balance,1)} - Buy More TokensNot enough tokens - {else} - 4 Tokens - {/} -
    +
    - - -

    Adds 20 tokens and removes ads.

    -
    - -
    -

    $5

    -
    - - -
    -
    - - -
    -
    - - - / - -
    - -
    -
    -