Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Commit

Permalink
Move "Add Device" button to right corner in Wizard // Issue #17
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytrokyrychuk committed Sep 19, 2015
1 parent 6a73f1e commit d9365dd
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions app/views/device-add-finish.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,15 @@ <h2>All done!</h2>
to use <code>TrainIt!</code> each time when add/remove body parts or
modify configuration of any body part.
</p>
<p>
<div id="submit-wrapper" class="text-center">
<button ng-click="vm.submit()"
ng-disabled="vm.disableSubmit || !vm.steps[2].completed()"
class="btn btn-primary btn-lg">
Add device
</button>
</div>
</p>
</div>

<div id="pagination-wrapper" class="text-center">
<a ui-sref="{{ vm.steps[2].name }}"
class="btn btn-default pull-left margin-v-20">Previous</a>
<span ng-include src="'views/device-add-pagination-items.html'"></span>
<a ng-click="vm.submit()"
ng-disabled="vm.disableSubmit || !vm.steps[2].completed()"
class="btn btn-success btn-lg pull-right">
Add device
</a>
</div>

0 comments on commit d9365dd

Please sign in to comment.