Commit graph

95 commits

Author SHA1 Message Date
Tyler Renelle
3305697a4e Can buy items, storing to user now. many bug fixes 2012-07-08 18:58:11 -04:00
Tyler Renelle
2ddbe61141 put unlockedMessage in content.coffee, some prep for purchase button 2012-07-08 18:06:13 -04:00
Tyler Renelle
72dc25a604 exp text bug fix 2012-07-08 17:59:59 -04:00
Tyler Renelle
2d8f0ee39b Popover telling user they've unlocked Items Store 2012-07-08 17:59:50 -04:00
Tyler Renelle
3b4a3f27d4 refactored so user = {stats: {hp, lvl, exp, money}, items = {weapon,
armor, ..}, tasks, ...}
2012-07-08 16:59:07 -04:00
Tyler Renelle
6761a7f89e Adding images as icons for static rewards 2012-07-08 14:50:56 -04:00
Tyler Renelle
74513509bb Static rewards in content.coffee. displayed as such in index.html & index.coffee 2012-07-07 23:43:35 -04:00
Tyler Renelle
217224429f Basic setup for static rewards 2012-07-07 22:43:49 -04:00
Tyler Renelle
fdad916872 remove contenteditable, already have a method for editing 2012-07-07 17:58:32 -04:00
Tyler Renelle
99b17a4ab1 Add responsive.css 2012-07-07 17:53:57 -04:00
Tyler Renelle
4a34a41f0d Add footer (static right/bottom 0 0, need to fix this) 2012-07-07 17:03:58 -04:00
Tyler Renelle
a4675defec Default tasks are now the rest of the tour, removing the helpIcons
from task columns
2012-07-07 13:58:56 -04:00
Tyler Renelle
64f071a94c Placed helpIcon & task columns in <app:taskColumn> component 2012-07-07 13:08:36 -04:00
Tyler Renelle
a45cb18db2 Help icons 2012-07-07 12:58:34 -04:00
Tyler Renelle
7fb26ab7c5 Adding bootstrap-tour with some initial steps 2012-07-07 12:31:51 -04:00
Tyler Renelle
16c8ba8370 Sortable is working!!!!!!!! 2012-07-07 00:07:30 -04:00
Tyler Renelle
5377681559 exp-chart in <td> 2012-07-06 23:10:37 -04:00
Tyler Renelle
623db84502 Generalized exports.toggleChart function that takes data- attributes
for arguments
2012-07-06 22:46:22 -04:00
Tyler Renelle
5fefd4df2b only show exp-chart if _user.history.exp 2012-07-06 22:20:36 -04:00
Tyler Renelle
9332d9c175 Fix bug on 0 lvl exp-chart 2012-07-06 17:21:36 -04:00
Tyler Renelle
97478120ff Add user-experience chart (need to put it in a modal or popover or something) 2012-07-06 16:54:57 -04:00
Tyler Renelle
626b44bc66 Add undescore library 2012-07-06 16:44:09 -04:00
Tyler Renelle
bb37272c07 Add debugging buttons if _debug=true 2012-07-06 15:22:47 -04:00
Tyler Renelle
94bf8e3188 Save button bug 2012-06-29 16:31:32 -04:00
Tyler Renelle
412f7bf50b lastCron bug fix (still buggy though) 2012-06-29 10:16:02 -04:00
Tyler Renelle
459f0ce91a total todos tally chart 2012-06-29 09:45:50 -04:00
Tyler Renelle
2ca050d61e Bug fixes on endOfDayTally, put it back into htlm for testing purposes 2012-06-29 09:04:35 -04:00
Tyler Renelle
7189a8fcfb And we have charts! easier than i thought it would be :o 2012-06-29 04:33:09 -04:00
Tyler Renelle
bed2c2e9f6 General <taskMeta:> component for handling charts, edit, and whatever
else might come along
2012-06-28 22:32:19 -04:00
Tyler Renelle
18e8472099 Add task.history = [], updated on cron. this will be used for charts later 2012-06-28 21:22:24 -04:00
Tyler Renelle
d4aee014b0 poormanscron() which is run on refresh, and performs endOfDayTally()
for every day missed. TODO: put this in a proper cron location
2012-06-28 19:15:46 -04:00
Tyler Renelle
7f00846af0 endOfDayTally is implemented, but is not working for
model.at('_users') and is not on cron, it's on click of <a>. come back
to this
2012-06-28 18:03:51 -04:00
Tyler Renelle
3a3829bb10 remove class="input-medium" 2012-06-27 11:04:10 -04:00
Tyler Renelle
b89f4347e4 Add class='well' to panels. looks a bit nicer 2012-06-27 10:56:48 -04:00
Tyler Renelle
b9c3d4d4b5 Use <pre> for list styling. it's much prettier, but it's meant for
code formatting, so this might cause issues in the future - revert if so
2012-06-27 10:54:04 -04:00
Tyler Renelle
b51522b159 Remove money style 2012-06-27 10:09:04 -04:00
Tyler Renelle
3946e2b68c user lvl is badge 2012-06-27 10:07:16 -04:00
Tyler Renelle
57476d1e3f prettier edit form, & x-bind form instead of <a> 2012-06-27 09:48:47 -04:00
Tyler Renelle
4c6bd8bc84 Implemented Remaining | Completed tabs by having two identical lists
with each <li> hidden based on model.get('_hideCompleted') - which is
set by tab clicks. This sucks, revisit when I understand managing
refLists better
2012-06-27 09:37:36 -04:00
Tyler Renelle
4b95476cb8 float reward & todo h1s 2012-06-26 16:55:41 -04:00
Tyler Renelle
2369b05108 ul.{type} instead of {type} ul, but still not working 2012-06-26 12:01:57 -04:00
Tyler Renelle
15dda64aab Add class={type} back in for sort (sort still not working) 2012-06-26 11:44:37 -04:00
Tyler Renelle
29b6a982a1 span3 instead 2012-06-26 11:28:03 -04:00
Tyler Renelle
fa6014d275 Fixed purchases by renaming both "score" and "price" to "value" 2012-06-26 11:02:29 -04:00
Tyler Renelle
971a18da9f buy-link 2012-06-26 10:59:37 -04:00
Tyler Renelle
1733bdd658 fixed checkbox vote 2012-06-26 10:55:24 -04:00
Tyler Renelle
3c4e7d082f Add <hr/> 2012-06-26 10:42:07 -04:00
Tyler Renelle
058cc7e264 inline up/down checkboxes 2012-06-26 10:41:18 -04:00
Tyler Renelle
3a4432b4c8 edit icon instead of text 2012-06-26 10:41:08 -04:00
Tyler Renelle
0d16eb1e3c better new-todo placement 2012-06-26 10:41:02 -04:00