-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
76 lines (65 loc) · 3.43 KB
/
index.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
<!DOCTYPE html>
<html lang="en" ng-app="emailDestoryer" ng-csp>
<head>
<meta name="description" content="Email Destoryer">
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.8/css/materialize.min.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="/assets/style/style.css">
<script src="/assets/js/angular.min.js"></script>
<script src="/assets/js/script.js"></script>
<script src="/assets/js/storage.service.js"></script>
</head>
<body ng-controller="EmailDestroyerCtlr" ng-class="{'main-pane':gmailTab}" >
<div ng-if="!gmailTab" class=" no-gmail-msg container center-align" style="margin-top:20px;">
<div class="card-panel teal lighten-2">
<h6 class="not-gmail-msg">This is extionsion is only available in Gmail Tab only.</h6>
</div>
</div>
<div ng-if="gmailTab" style="max-height:350px;">
<div class="container" ng-init="selectEmails()" style="margin-bottom:70px;">
<div class="row">
<div class="input-field col s12">
<input ng-model="newKeyWord.title" type="text" class="validate" ng-keyup="submitForm($event)" placeholder="Enter keyword"/>
</div>
</div>
<!--.row-->
<div class="row ">
<div class="progress" ng-if="deleting">
<div class="indeterminate"></div>
</div>
<table class="bordered ">
<thead>
<tr>
<th data-field="name" style="width:180px !important;">Keyword</th>
<th data-field="price">{{totalMails}} Mail{{totalMails>1? 's':''}} Found</th>
<th data-field="price" class="action-column" ></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="keyword in keywords">
<td ng-style="{'width':'180px !important','text-overflow': 'ellipsis','text-decoration': !keyword.enabled ? 'line-through':'none'}" ng-class="{disabledkeyword:keyword==false}">{{keyword.title}}</td>
<td>{{keyword.totalMatched}}</td>
<td class="action-column right-align" >
<a href="#" class="btn enable-btn" title="Enable" ng-if="!keyword.enabled" ng-click="changeStatusKeyword($index)"><i class="material-icons" >visibility</i></a>
<a href="#" class="btn disable-btn" ng-if="keyword.enabled" title="Disable" ng-click="changeStatusKeyword($index)"><i class="material-icons" >visibility_off</i></a>
<a href="#" class="btn delete-btn red" title="Delete" ng-click="deleteKeyword($index)"><i class="material-icons">delete</i></a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div ng-if="gmailTab" class="row center fixed-footer" style="position: fixed;width:100%;margin:0;padding-top:10px;padding-bottom:10px; bottom:0;background: #37474f;">
<a href="#" class="btn-large waves-effect waves-light" ng-click="selectEmails()">
<i class="material-icons left">youtube_searched_for</i> Sync Again
</a>
<a href="#" class="btn-large waves-effect waves-light {{ totalMails > 0 ? '': 'disabled'}}" ng-click="deleteFilteredEmails()">
<i class="material-icons left">delete</i>{{inboxPageActive == true ? 'Move to Spam':'Delete All'}}
</a>
</div>
</div>
<!--.gmailTab ends-->
</body>
</html>