-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadmin-users.html
50 lines (43 loc) · 1.78 KB
/
admin-users.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<style type="text/css">body {background: none;}</style>
<nav class="navbar navbar-fixed-top" style="background-color: black !important;">
<div class="navbar-header" style="padding: 10px;">
<div class="navbar-brand slink" href="#/" style="color: pink">Daqya Executive</div>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav pull-right">
<li class="slink"><a href="#/admin" class="slink">Logout</a></li>
</ul>
</div>
</nav>
<ng-include src="'/admin-sidebar.html'"></ng-include>
<div class="container">
<div class="row">
<div class="col-sm-8 col-sm-offset-2 col-md-9 col-md-offset-1" style="margin-top: 100px">
<h1 class="page-header">Users</h1>
<br/><button class="btn btn-default" ng-click="newUser()">Create a New User</button>
<p><br/><br/>You can see users here:</p>
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>Name</th>
<th>Email</th>
<th>Location</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="user in users">
<td>{{user.fname}} {{user.lname}}</td>
<td>{{user.email}}</td>
<td>{{user.city}}, {{user.country}}</td>
<td>
<!-- <button class="btn btn-success" ng-click="view(user._id)">View Profile</button> -->
<button class="btn btn-default" ng-click="delete(user._id)">Delete</button></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>