-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1e161eb
commit 6201a90
Showing
6 changed files
with
90 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
.input-group { | ||
margin-bottom:15px; | ||
} | ||
|
||
.hydrate { | ||
color:white; | ||
} | ||
|
||
.escape-buffer { | ||
margin-bottom:0px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,38 @@ | ||
<div class="panel panel-default" ng-controller="SetsCreateController"> | ||
<div class="panel-heading">Create Set</div> | ||
<div class="panel-body"> | ||
<form class="navbar-form navbar-left" role="search" ng-submit="onSubmit();"> | ||
<section ng-controller="SetsCreateController"> | ||
<div class="panel panel-default"> | ||
<div class="panel-heading">Create Set<span ng-show="hydrateWorkout" class="hydrate">{{workout.digest()}}</span></div> | ||
<div class="panel-body"> | ||
<form class="navbar-form navbar-left escpae-buffer" role="search" ng-submit="onSubmit();" name="setForm"> | ||
|
||
<div class="input-group"> | ||
<span class="input-group-addon">Name</span> | ||
<input type="text" class="form-control" placeholder="Flat Bench Press" ng-model="set.name" required> | ||
</div> | ||
<div class="input-group"> | ||
<span class="input-group-addon">Name</span> | ||
<input type="text" class="form-control" placeholder="Flat Bench Press" ng-model="set.name" required> | ||
</div> | ||
|
||
<div class="input-group"> | ||
<input type="text" class="form-control" placeholder="225" ng-model="set.weight" required> | ||
<span class="input-group-addon">lbs/kgs</span> | ||
<span class="input-group-addon">X</span> | ||
<input type="text" class="form-control" placeholder="12" ng-model="set.X" required> | ||
</div> | ||
<div class="input-group"> | ||
<input type="text" class="form-control" placeholder="225" ng-model="set.weight" required> | ||
<span class="input-group-addon">lbs/kgs</span> | ||
<span class="input-group-addon">X</span> | ||
<input type="text" class="form-control" placeholder="12" ng-model="set.X" required> | ||
</div> | ||
|
||
<div class="input-group"> | ||
<input type="submit" class="btn btn-default" /> | ||
<span ng-show="hydrate"> {{workout}}</span> | ||
</div> | ||
<div class="input-group escape-buffer"> | ||
<input type="submit" class="btn btn-default" /> | ||
</div> | ||
|
||
</form> | ||
</form> | ||
</div> | ||
<table class="table" ng-show="hydrateSets"> | ||
<tr> | ||
<th>Name</th> | ||
<th>lbs/kg</th> | ||
<th>X</th> | ||
</tr> | ||
<tr ng-repeat="s in sets"> | ||
<td>{{s.name}}</td> | ||
<td>{{s.weight}}</td> | ||
<td>{{s.X}}</td> | ||
</tr> | ||
</table> | ||
</div> | ||
</div> | ||
</section> |