-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
80 lines (68 loc) · 2.49 KB
/
index.html
File metadata and controls
80 lines (68 loc) · 2.49 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!doctype html>
<head>
<meta charset="utf-8">
<title>WebCRUD.io</title>
<meta name="description" content="My Parse App">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="css/styles.css">
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script>
<!-- --><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <!-- -->
<script type="text/javascript" src="http://www.parsecdn.com/js/parse-latest.js"></script>
</head>
<body data-ng-app="myApp">
<div class="header-container">
<header class="wrapper clearfix">
<h1 class="title">WebCRUD.io</h1>
<!--
<nav>
<ul>
<li><a href="#">nav ul li a</a></li>
<li><a href="#">nav ul li a</a></li>
<li><a href="#">nav ul li a</a></li>
</ul>
</nav>
-->
</header>
</div>
<div class="main-container" data-ng-controller="userController">
<div class="main wrapper clearfix">
<h2>Gerenciar Usuários</h2>
<table>
<thead>
<tr>
<th></th>
<th>Nome</th>
<th>Sobrenome</th>
<th>E-mail</th>
<th>Usuário</th>
<th>Senha</th>
<th>Telefone</th>
<th>Celular</th>
<th>Ações</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="user in users">
<th><img src={{user.get('picture').thumbnail}} alt="{{user.get('name').first | capitalize}}" style="width:80px;height:80px;"></th>
<td ng-model="name.first" test-watch="users">{{user.get('name').first | capitalize}}</td>
<td>{{user.get('name').last | capitalize}}</td>
<td>{{user.get('email')}}</td>
<td>{{user.get('username')}}</td>
<td>{{user.get('password')}}</td>
<td>{{user.get('phone')}}</td>
<td>{{user.get('cell')}}</td>
<td><button ng-click="remove(user)">Delete</button></td>
</tr>
</tbody>
</table>
</div> <!-- #main -->
</div> <!-- #main-container -->
<div class="footer-container">
<footer class="wrapper">
<h3>footer</h3>
</footer>
</div>
<script src="js/module/myApp.js"></script>
<script src="js/controller/userController.js"></script>
</body>
</html>