[#1997] classes: add MP to restore dialog (@wc8 you might find this useful)

This commit is contained in:
Tyler Renelle
2013-12-16 13:38:23 -07:00
parent 5251b4ce3c
commit 302340bee2
2 changed files with 4 additions and 0 deletions

View File

@@ -80,6 +80,7 @@ habitrpg.controller('SettingsCtrl',
"stats.exp": stats.exp, "stats.exp": stats.exp,
"stats.gp": stats.gp, "stats.gp": stats.gp,
"stats.lvl": stats.lvl, "stats.lvl": stats.lvl,
"stats.mp": stats.mana,
"achievements.streak": achievements.streak "achievements.streak": achievements.streak
}); });
$rootScope.modals.restore = false; $rootScope.modals.restore = false;

View File

@@ -28,6 +28,9 @@ div(ng-controller='SettingsCtrl')
.option-group.option-medium .option-group.option-medium
input.option-content(type='number', step="any", data-for='stats.gp', ng-model='restoreValues.stats.gp') input.option-content(type='number', step="any", data-for='stats.gp', ng-model='restoreValues.stats.gp')
span.input-suffix Gold span.input-suffix Gold
.option-group.option-medium
input.option-content(type='number', step="any", data-for='stats.mp', ng-model='restoreValues.stats.mp')
span.input-suffix Mana
.option-group.option-medium .option-group.option-medium
input.option-content(type='number', data-for='stats.lvl', ng-model='restoreValues.stats.lvl') input.option-content(type='number', data-for='stats.lvl', ng-model='restoreValues.stats.lvl')
span.input-suffix Level span.input-suffix Level