2013-09-08 17:23:37 +00:00
div(ng-controller='SettingsCtrl')
div(modal='modals.reset')
.modal-header
2013-12-02 16:20:38 +00:00
h3 Reset Account
2013-09-08 17:23:37 +00:00
.modal-body
p This resets your entire account - your tasks will be deleted and your character will start over.
2013-12-02 16:20:38 +00:00
p.
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.
2013-09-08 17:23:37 +00:00
.modal-footer
2013-12-02 16:20:38 +00:00
button.btn.btn-default.cancel(ng-click='modals.reset = false') Never mind
button.btn.btn-danger(data-dismiss='modal', ng-click='reset()') Do it, reset my account!
2013-09-08 17:23:37 +00:00
div(modal='modals.restore')
.modal-header
2013-12-02 16:20:38 +00:00
h3 Fix Values
2013-09-08 17:23:37 +00:00
.modal-body
2013-12-02 16:20:38 +00:00
p If you've encountered a bug or made a mistake that unfairly changed your character (damage you shouldn't have taken, Gold you didn't really earn, etc.), you can manually correct your numbers here. Yes, this makes it possible to cheat: use this feature wisely, or you'll sabotage your own habit-building!
p Note that you cannot restore Streaks on individual tasks here. To do that, edit the Daily and go to Advanced Options, where you will find a Restore Streak field.
2013-09-08 17:23:37 +00:00
div.restore-options
form#restore-form.form-horizontal
h3 Stats
.option-group.option-medium
2013-10-13 17:58:13 +00:00
input.option-content(type='number', step="any", data-for='stats.hp', ng-model='restoreValues.stats.hp')
2013-12-02 16:20:38 +00:00
span.input-suffix Health
2013-09-08 17:23:37 +00:00
.option-group.option-medium
2013-10-13 17:58:13 +00:00
input.option-content(type='number', step="any", data-for='stats.exp', ng-model='restoreValues.stats.exp')
2013-12-02 16:20:38 +00:00
span.input-suffix Experience
2013-09-08 17:23:37 +00:00
.option-group.option-medium
2013-10-13 17:58:13 +00:00
input.option-content(type='number', step="any", data-for='stats.gp', ng-model='restoreValues.stats.gp')
2013-12-02 16:20:38 +00:00
span.input-suffix Gold
2013-09-08 17:23:37 +00:00
.option-group.option-medium
2013-10-13 17:58:13 +00:00
input.option-content(type='number', data-for='stats.lvl', ng-model='restoreValues.stats.lvl')
2013-09-08 17:23:37 +00:00
span.input-suffix Level
2013-12-02 16:20:38 +00:00
h3 Equipment
2013-09-08 17:23:37 +00:00
.option-group.option-medium
2013-10-13 17:58:13 +00:00
input.option-content(type='number', data-for='items.weapon', ng-model='restoreValues.items.weapon')
2013-09-08 17:23:37 +00:00
span.input-suffix Weapon
.option-group.option-medium
2013-10-13 17:58:13 +00:00
input.option-content(type='number', data-for='items.armor', ng-model='restoreValues.items.armor')
2013-09-08 17:23:37 +00:00
span.input-suffix Armor
.option-group.option-medium
2013-10-13 17:58:13 +00:00
input.option-content(type='number', data-for='items.head', ng-model='restoreValues.items.head')
2013-09-08 17:23:37 +00:00
span.input-suffix Helm
.option-group.option-medium
2013-10-13 17:58:13 +00:00
input.option-content(type='number', data-for='items.shield', ng-model='restoreValues.items.shield')
2013-09-08 17:23:37 +00:00
span.input-suffix Shield
2013-12-02 16:20:38 +00:00
h3 Achievements
2013-10-24 18:04:35 +00:00
.option-group.option-medium
input.option-content(type='number', data-for='achievements.streak', ng-model='restoreValues.achievements.streak')
2013-12-02 16:20:38 +00:00
span.input-suffix 21-Day Streaks
2013-11-08 21:54:09 +00:00
//- This is causing too many problems for users
2013-11-06 01:11:06 +00:00
h3 Other
a.btn.btn-small.btn-warning(ng-controller='FooterCtrl', ng-click='addMissedDay()') Trigger New Day
2013-09-08 17:23:37 +00:00
.modal-footer
2013-12-02 16:20:38 +00:00
button.btn.btn-default.cancel(ng-click='modals.restore = false') Discard Changes
2013-09-08 17:23:37 +00:00
button.btn.btn-primary(ng-click='restore()') Save & Close
div(modal='modals.delete')
.modal-header
h3 Delete Account
.modal-body
p.
2013-12-02 16:20:38 +00:00
Are you sure? This will delete your account forever, and it can never be restored! You will need to register a new account to use HabitRPG again. Banked or spent Gems will not be refunded. If you're absolutely certain, type <strong>DELETE</strong> into the text box below.
2013-09-08 17:23:37 +00:00
p
input(type='text', ng-model='_deleteAccount')
2013-09-08 20:23:30 +00:00
.modal-footer
2013-12-02 16:20:38 +00:00
button.btn.btn-default(ng-click='modals.delete = false') Never mind
button.btn.btn-danger.btn-small(ng-disabled='_deleteAccount != "DELETE"', ng-click='delete()') Do it, delete my account!