-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanage.html
89 lines (80 loc) · 2.97 KB
/
manage.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
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
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html ng-app="haptiq">
<head>
<title>Haptiq Secure Management</title>
<link rel="stylesheet" href="bower_components/angular-material/angular-material.min.css">
<link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.min.css" >
<script type="text/javascript" src="bower_components/angular/angular.min.js"></script>
<script src="bower_components/angular-animate/angular-animate.min.js"></script>
<script src="bower_components/angular-aria/angular-aria.min.js"></script>
<script src="bower_components/angular-messages/angular-messages.min.js"></script>
<!-- Angular Material Library -->
<script src="../bower_components/angular-material/angular-material.min.js"></script>
<link rel="stylesheet" href="styles/manage.css" />
<script type="text/javascript" src="scripts/manage.js"></script>
</head>
<body ng-controller='MainController' ng-init="init()">
<md-toolbar class="md-hue-2 toolbar">
<div class="md-toolbar-tools">
<h2>
<span>HAPTIQ</span>
</h2>
<span flex="">
</span>
</div>
</md-toolbar>
<div class="fingerprint-authentication" ng-if="!isAuthenticated">
<div>
<center><img src="images/ic_action_fingerprint.png" /></center>
<p>Authenticate yourself to access this page.<br />Scan your fingerprint on your phone</p>
</div>
</div>
<div class="settings" ng-if="isAuthenticated">
<md-content class="container">
<h1>Haptiq enabled sites </h1>
<div class="site-list" layout="row" layout-wrap layout-sm="column">
<div ng-repeat="account in accounts" flex="33" flex-sm="50" flex-xs="100" >
<md-card>
<div layout="row">
<div flex="20">
<!-- <img /> -->
<img src="images/unauthenticated48.png" ng-src="https://www.google.com/s2/favicons?domain={{ account.url }}" class="card-image" style="margin: 50% 18px; height: 36px; width: 36px;" />
</div>
<div flex="60">
<md-card-header>
<center>{{ account.url }}</center>
</md-card-header>
<md-card-content>
<table>
<tr>
<td style="font-size: 1.2em;">
<i class="fa fa-user"></i> {{account.id}}
</td>
</tr>
<tr>
<td>
Last Modified on: {{account.modifiedOn | dateFixer}}
</td>
</tr>
</table>
</md-card-content>
</div>
<div flex="20" layout="column" class="card-options">
<i class="fa fa-edit card-option" title="Edit"></i>
<i class="fa fa-trash card-option" title="Delete"></i>
</div>
</div>
</md-card>
</div>
<div class="add" flex="33" flex-sm="50" flex-xs="100" >
<md-card>
<md-card-content>
<center><i class="fa fa-plus" style="margin: 28px auto; font-size: 36px; color: #555;"></i></center>
</md-card-content>
</md-card>
</div>
</div>
</md-content>
</div>
</body>
</html>