aboutsummaryrefslogtreecommitdiff
path: root/popup.html
diff options
context:
space:
mode:
authorEinar Egilsson <einar@einaregilsson.com>2019-12-11 13:17:42 +0000
committerEinar Egilsson <einar@einaregilsson.com>2019-12-11 13:17:42 +0000
commitb53d093463e94096f16f0fd7656fc88d642faa3d (patch)
treeef8b1a0b8f07c2ab965a805421e1564622ac814f /popup.html
parentcdb8d5e3d5af6dc2d4d630481c4385734ecc6a1d (diff)
Completely removed angular.js
Diffstat (limited to 'popup.html')
-rw-r--r--popup.html17
1 files changed, 9 insertions, 8 deletions
diff --git a/popup.html b/popup.html
index 3f9f6c2..fd8a8f0 100644
--- a/popup.html
+++ b/popup.html
@@ -4,15 +4,16 @@
<title>REDIRECTOR</title>
<link rel="stylesheet" href="css/popup.css" />
<meta charset="UTF-8">
- <script src="js/angular.min.js"></script>
- <script src="js/popup.js"></script>
</head>
- <body ng-app="popupApp" ng-controller="PopupCtrl">
+ <body>
<h1>REDIRECTOR</h1>
- <div class="disabled"><span ng-show="disabled">Disabled</span></div>
- <button ng-click="toggleDisabled()">{{disabled ? 'Enable Redirector' : 'Disable Redirector'}}</button>
- <button ng-click="openRedirectorSettings()">Edit Redirects</button>
- <label><input type="checkbox" ng-model="logging" ng-click="toggleLogging()" /> Enable logging</label>
- <label><input type="checkbox" ng-model="enableNotifications" ng-click="toggleNotifications()" /> Enable notifications</label>
+ <div class="disabled"><span data-show="disabled" style="display: none;">Disabled</span></div>
+ <button onclick="toggle('disabled')"><span data-show="disabled">Enable Redirector</span><span data-show="!disabled">Disable Redirector</span></button>
+ <button onclick="openRedirectorSettings()">Edit Redirects</button>
+ <label><input type="checkbox" data-bind="logging" onclick="toggle('logging')" /> Enable logging</label>
+ <label><input type="checkbox" data-bind="enableNotifications" onclick="toggle('enableNotifications')" /> Enable notifications</label>
+ <script src="js/stub.js"></script>
+ <script src="js/util.js"></script>
+ <script src="js/popup.js"></script>
</body>
</html>