Work on admin web interface
This commit is contained in:
parent
d635420a9f
commit
181953a9f0
16 changed files with 729 additions and 0 deletions
17
admin/static/views/team-list.html
Normal file
17
admin/static/views/team-list.html
Normal 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>
|
||||
11
admin/static/views/team-new.html
Normal file
11
admin/static/views/team-new.html
Normal 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>
|
||||
Reference in a new issue