removed comments from testing.

This commit is contained in:
Nick Gordon
2013-11-23 11:14:16 -08:00
parent 52145a479e
commit 4453ac9fb8
6 changed files with 0 additions and 34 deletions
-10
View File
@@ -3,12 +3,10 @@
// started to get unwieldy
script(id='templates/habitrpg-tasks.html', type="text/ng-template")
.grid
// tested - working
.module(bindonce='lists', ng-repeat='list in lists', bo-class='{"rewards-module": list.type==="reward"}')
.task-column(class='{{list.type}}s')
// Todos export/graph options
// tested - working
span.option-box.pull-right(bo-if='main && list.type=="todo"')
a.option-action(ng-show='obj.history.todos', ng-click='toggleChart("todos")', tooltip='Progress')
i.icon-signal
@@ -18,7 +16,6 @@ script(id='templates/habitrpg-tasks.html', type="text/ng-template")
// <a href="https://www.google.com/calendar/render?cid={{encodeiCalLink(_user.id, _user.apiToken)}}" rel=tooltip title="Google Calendar"><i class=icon-calendar></i></a>
// Gold & Gems
// tested - working
span.option-box.pull-right.wallet(bo-if='main && list.type=="reward"')
.money
| {{gold(user.stats.gp)}}
@@ -31,7 +28,6 @@ script(id='templates/habitrpg-tasks.html', type="text/ng-template")
h2.task-column_title {{list.header}}
// Todo Chart
// tested - working
.todos-chart(bo-if='list.type == "todo"', ng-show='charts.todos')
// Add New
@@ -49,7 +45,6 @@ script(id='templates/habitrpg-tasks.html', type="text/ng-template")
include ./task
// Static Rewards
// tested - working
ul.items(bo-if='main && list.type=="reward" && user.flags.itemsEnabled')
li.task.reward-item(ng-hide='item.hide', ng-repeat='item in itemStore')
// right-hand side control buttons
@@ -58,22 +53,18 @@ script(id='templates/habitrpg-tasks.html', type="text/ng-template")
i.icon-comment
//left-hand size commands
.task-controls
// tested - working
a.task-action-btn.btn-reroll(bo-if='item.type=="reroll"', ng-click='modals.reroll = true')
i.icon-repeat
// tested - working
a.money.btn-buy.item-btn(bo-if='item.type!="reroll"', ng-click='buy(item.type)')
span.reward-cost {{item.value}}
span.shop_gold
// main content
// tested - working
span(bo-class='{"shop_{{item.classes}} shop-sprite item-img": true}')
p.task-text {{item.text}}
br
// Ads
// tested - working
div(bo-if='main && !user.purchased.ads && list.type!="reward"')
span.pull-right
a(ng-click='modals.buyGems=true', tooltip=env.t('removeAds'))
@@ -82,7 +73,6 @@ script(id='templates/habitrpg-tasks.html', type="text/ng-template")
ins.adsbygoogle(ng-init='initAds()', style='display: inline-block; width: 234px; height: 60px;', data-ad-client='ca-pub-3242350243827794', data-ad-slot='9529624576')
// Todo Tabs
// tested - working
div(bo-if='main && list.type=="todo"', bo-class='{"tabbable tabs-below": list.type=="todo"}')
button.task-action-btn.tile.spacious.bright(ng-show='list.showCompleted', ng-click='clearCompleted()') Clear Completed
// remaining/completed tabs
-6
View File
@@ -3,7 +3,6 @@ li(bindonce='list', ng-repeat='task in obj[list.type+"s"]', class='task {{taskCl
.task-meta-controls
// Due Date
// tested - working, but should be dynamic for when users update the date.
span.task-date(ng-if='task.type=="todo" && task.date')
| {{task.date}}
// Streak
@@ -44,7 +43,6 @@ li(bindonce='list', ng-repeat='task in obj[list.type+"s"]', class='task {{taskCl
.task-controls.task-primary
// Habits
// tested - working
span(bo-if='task.type=="habit"')
// score() is overridden in challengesCtrl to do nothing
a.task-action-btn(ng-if='task.up', ng-click='score(task,"up")') +
@@ -57,7 +55,6 @@ li(bindonce='list', ng-repeat='task in obj[list.type+"s"]', class='task {{taskCl
span.shop_gold
// Daily & Todos
// tested - working
span.task-checker.action-yesno(bo-if='task.type=="daily" || task.type=="todo"')
input.visuallyhidden.focusable(ng-if='$state.includes("tasks")', id='box-{{obj._id}}_{{task.id}}', type='checkbox', ng-model='task.completed', ng-change='changeCheck(task)')
input.visuallyhidden.focusable(ng-if='!$state.includes("tasks")', id='box-{{obj._id}}_{{task.id}}', type='checkbox')
@@ -117,7 +114,6 @@ li(bindonce='list', ng-repeat='task in obj[list.type+"s"]', class='task {{taskCl
label(for='{{obj._id}}_{{task.id}}-option-minus')
// if Daily, calendar
// tested - working
fieldset(bo-if='task.type=="daily"', class="option-group")
legend.option-title Repeat
.task-controls.tile-group.repeat-days
@@ -149,7 +145,6 @@ li(bindonce='list', ng-repeat='task in obj[list.type+"s"]', class='task {{taskCl
| {{tag.name}}
// Advanced Options
// tested - working
span(bo-if='task.type!="reward"')
p.option-title.mega(ng-click='task._advanced = !task._advanced') Advanced Options
fieldset.option-group.advanced-option(ng-class="{visuallyhidden: !task._advanced}")
@@ -162,7 +157,6 @@ li(bindonce='list', ng-repeat='task in obj[list.type+"s"]', class='task {{taskCl
button.task-action-btn.tile(type='button', ng-class='{active: task.priority=="!!"}', ng-click='task.challenge.id || (task.priority="!!")') Medium
button.task-action-btn.tile(type='button', ng-class='{active: task.priority=="!!!"}', ng-click='task.challenge.id || (task.priority="!!!")') Hard
//span(ng-if='task.type=="daily" && !task.challenge.id')
// tested - not working... wtf? changing to ng-if
span(ng-if='task.type=="daily"')
legend.option-title Restore Streak
input.option-content(type='number', ng-model='task.streak')