Added remove rocks button

This commit is contained in:
rakion99 committed 2016-07-17 13:44:21 -05:00
1 parent 16cb883596
commit a6cc251a53
3 files changed
+14 -2

No files matched your search

+5
View File
@@ -64,6 +64,11 @@ a.tab:focus {
margin-left: 0;
margin-right: 0;
}
.row.rockbtn {
margin-top: 80px;
margin-left: 0;
margin-right: 350px;
}
.box {
margin-top: 30px;
+5 -2
View File
@@ -58,8 +58,11 @@
<label>Starter Pack</label>
<input type="number" class="form-control" name="starterPack" ng-model="starterPackCount">
</div>
<div class="row rockbtn">
<button type="button" class="btn btn-primary pull-right" ng-click="removeRocks()">Remove Rocks</button>
</div>
</div>
<div class="form-group row">
+4
View File
@@ -238,6 +238,10 @@ app.controller('dwellerController', function ($scope) {
$scope.dweller.stats.stats[6].value = 10;
$scope.dweller.stats.stats[7].value = 10;
};
$scope.removeRocks = function () {
$scope.save.vault.rocks = [];
};
$scope.closeDweller = function (dweller) {
$scope.dweller = {};