-
Notifications
You must be signed in to change notification settings - Fork 73
/
popup.html
37 lines (37 loc) · 1.56 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
<!DOCTYPE html>
<html>
<head>
<script src="bower_components\jquery\dist\jquery.min.js"></script>
<script src="bower_components\ionic\release\js\ionic.bundle.js"></script>
<script src="popup.js"></script>
<link rel="stylesheet" href="popup.css">
<link rel="stylesheet" href="bower_components\ionic\release\css\ionic.css">
</head>
<body ng-app="cors" ng-controller="PopupCtrl">
<div class="bar bar-header bar-dark">
<h1 class="title">Settings</h1>
</div>
<div class="has-header">
<div class="list">
<ion-toggle ng-model="active" toggle-class="toggle-calm">Enable cross-origin resource sharing</ion-toggle>
<div class="item item-divider">
Access-Control-Expose-Headers
</div>
<text-option option="exposedHeaders" placeholder="comma-separated list of headers ..."></text-option>
<div class="item item-divider">
Intercepted URLs or URL patterns
<a class="icon ion-link" style="cursor: pointer;" ng-click="openInNewTab('https://developer.chrome.com/extensions/match_patterns');"></a>
</div>
<div class="item item-input-inset">
<label class="item-input-wrapper">
<input type="text" placeholder="URL or URL pattern" ng-model="url" submit-on-enter>
</label>
<a class="button button-icon button-small icon ion-plus-circled submit-action" ng-click="addUrl();"></a>
</div>
<div class="item item-icon-right animate-enter-leave" ng-repeat="url in urls">
{{url}}
<a class="button button-icon button-small icon ion-ios7-trash-outline" ng-click="removeUrl($index);"></a>
</div>
</div>
</body>
</html>