Work on admin web interface

This commit is contained in:
nemunaire 2016-01-13 01:22:54 +01:00
commit 181953a9f0
16 changed files with 729 additions and 0 deletions

View file

@ -0,0 +1,17 @@
<p><input type="search" class="form-control" placeholder="Search" ng-model="query"></p>
<table class="table table-hover table-bordered">
<thead>
<tr>
<th ng-repeat="field in fields">
{{ field }}
</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="team in teams | filter: query" ng-click="show(team.id)">
<td ng-repeat="field in fields">
{{ team[field] }}
</td>
</tr>
</tbody>
</table>

View file

@ -0,0 +1,11 @@
<h2>New team</h2>
<form name="newTeam" novalidate class="form-horizontal">
<div class="row form-group">
<div class="col-sm-offset-2">
<button class="btn btn-primary" ng-click="save()">Create Team</button>
</div>
</div>
</form>