-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin.ejs
More file actions
45 lines (45 loc) · 1.25 KB
/
Copy pathadmin.ejs
File metadata and controls
45 lines (45 loc) · 1.25 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
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js">
</script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
<script>
var app = angular.module("myApp", []);
app.controller("myCtrl", function($scope) {
var range = [];
for(var i=0;i<5;i++) {
range.push(i);
}
$scope.range = range;
}
});
</script>
</head>
<body ng-app="myApp">
<div>ADMIN PORTAL <%= profileData.name %></div>
<br>
<br>
<br>
<table class="table" ng-controller="myCtrl">
<thead>
<tr>
<th scope="col">NAME</th>
<th scope="col">MOBILE</th>
<th scope="col">EMAIL ADDRESS</th>
</tr>
</thead>
<tbody>
<tr data-ng-repeat="x in range ">
<td><%= profileData[{i}].name %></td>
<td><%= profileData[{i}].mobile %></td>
<td><%= profileData[{i}].email %></td>
</tr>
</tbody>
</table>
</body>
</html>