-
Notifications
You must be signed in to change notification settings - Fork 2
/
popup.html
81 lines (74 loc) · 3.87 KB
/
popup.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
<!doctype html>
<!--
-->
<html ng-app="blockWhatsApp">
<head>
<title>WhatsHide</title>
<script src="scripts/angular.min.js"></script>
<script src="scripts/popup.js"></script>
<link rel="stylesheet" href="css/popup.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
</head>
<body>
<div class="up-part col-sm-12">
<a href="http://rowcode.com" target="_blank">
<img class="img-responsive" alt="WhatsHide" src="images/wh.png" />
</a>
</div>
<div class="container">
<div class="col-md-12">
<div ng-controller="PopupController as popupController">
<div id="divContent" ng-show="popupController.showContent">
<span class="text-info text-center col-sm-12">{{desc}}</span>
<ul class="unstyled">
<li ng-repeat="word in popupController.words track by $index">
<div class="input-group row">
<label class="checkbox-inline switch">
<input type="checkbox" ng-model="word.active" ng-click="popupController.saveChanges()">
<div class="slider round"></div>
</label>
<span class="itens active-{{word.active}}">{{word.value}}</span>
<a class="del"><i class="glyphicon glyphicon-trash pull-right" ng-click="popupController.clearSingle($index)"></i></a>
</div>
</li>
</ul>
<form ng-submit="popupController.addWord()">
<div class="input-group">
<input class="form-control" type="text" ng-model="popupController.wordValue" placeholder="{{place_newword}}" id="word" focus-on="popupController.showContent">
<label class="input-group-btn">
<button class="btn btn-success" type="submit" value="add">
<i class="glyphicon glyphicon-plus"></i>
</button>
</label>
</div>
</form>
<div class="btn-group-sm buttons">
<a class="btn btn-success" href="" ng-click="popupController.clearUncheckeds()">{{btn_clear}}</a>
<a class="btn btn-success" href="" ng-click="popupController.clearAll()">{{btn_clearall}}</a>
<a class="btn btn-danger pull-right" href="" ng-click="popupController.addPasswordMode()">{{btn_changepw}}</a>
</div>
</div>
<div id="divPassword" ng-show="!popupController.showContent">
<form ng-submit="popupController.passwordEntered()" id="login-form">
<div class="input-group">
<input class="form-control" type="password" ng-model="popupController.passwordValue" placeholder="{{place_newpw}}" id="password" focus-on="!popupController.showContent">
<label class="input-group-btn">
<button class="btn btn-danger" type="submit"><i class="glyphicon glyphicon-log-in"></i></button>
</label>
</div>
<div class="alert alert-danger" role="alert" ng-show="popupController.showError">
<span class="sr-only">Error:</span> {{err_wrong}}
</div>
</form>
</div>
</div>
</div>
</div>
<!--end container----------------------------------------->
<div class="bot-part col-sm-12">
<!-- <span class="text-muted">
use este espaco para fale-conosco, duvidas para, doe pra gente etc</span> -->
<span class="text-muted">v2.1</span>
</div>
</body>
</html>