-
Notifications
You must be signed in to change notification settings - Fork 84
/
Copy pathindex.html
114 lines (95 loc) · 6.3 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE html>
<html>
<head>
<!-- Includes -->
<title>Extensity</title>
<link rel="stylesheet" type="text/css" href="styles/normalize.css" />
<link rel="stylesheet" type="text/css" href="styles/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="styles/index.css" />
<script type="text/javascript" src="js/libs/underscore-min.js"></script>
<script type="text/javascript" src="js/libs/underscore.string.min.js"></script>
<script type="text/javascript" src="js/libs/knockout-3.5.1.js"></script>
<script type="text/javascript" src="js/libs/knockout-secure-binding.min.js"></script>
<script type="text/javascript" src="js/engine.js"></script>
<script type="text/javascript" src="js/index.js"></script>
</head>
<body>
<section id="header" class="main" data-sbind="if: opts.showHeader">
<h1>
<a id="title" href="https://chrome.google.com/webstore/detail/jjmflmamggggndanpgfnpelongoepncg" target="_blank"><img src="images/icon48.png" width="16px" height="16px" /> Extensity</a>
<!-- Actions -->
<a href="https://chrome.google.com/webstore/detail/extensity/jjmflmamggggndanpgfnpelongoepncg/reviews" class="page" target="_blank"><i class="fa fa-star" alt="Rate Extensity. Thanks!" title="Rate Extensity. Thanks!"></i></a>
<a href="https://www.facebook.com/sharer/sharer.php?u=https%3A//chrome.google.com/webstore/detail/extensity/jjmflmamggggndanpgfnpelongoepncg?hl=en" class="page" target="_blank"><i class="fa fa-facebook-official" alt="Share Extensity. Thanks!" title="Share Extensity on Facebook. Thanks!"/></i></a>
<a href="http://twitter.com/share?url=https://chrome.google.com/webstore/detail/jjmflmamggggndanpgfnpelongoepncg&via=ExtensityChrome&text=Keep control of your Chrome extensions with Extensity. Quickly enable/disable any extension!" class="page" target="_blank"><i class="fa fa-twitter" alt="Share Extensity. Thanks!" title="Share Extensity on Twitter. Thanks!"/></i></a>
<a href="options.html" class="page" target="_blank"><i class="fa fa-cog" alt="Extensity options" title="Extensity options"></i></a>
<a href="profiles.html" class="page" target="_blank"><i class="fa fa-user-circle-o" alt="Profiles" title="Profiles"></i></a>
<a href="chrome://extensions" class="page" id="chrome-extensions" target="_blank" data-sbind="click: openChromeExtensions"><i class="fa fa-puzzle-piece" alt="Chrome Extensions" title="Chrome Extensions"></i></a>
<a href="#" class="switch" data-sbind="click: switch.flip"><i class="fa" data-sbind="css: switch.toggleStyle" alt="Switch enabled extensions off. Click again to switch back on." title="Switch enabled extensions off. Click again to switch back on."></i></a>
</h1>
</section>
<section id="search" class="main" data-sbind="if: opts.searchBox">
<p><i class="fa fa-search"></i> <input type="text" data-sbind="value: search.q, valueUpdate: 'keyup'" tabindex=1 autofocus /></p>
</section>
<section id="content" class="main">
<!-- Profiles -->
<section id="profiles" data-sbind="if: listedProfiles.any, visible: !search.q">
<h1>Profiles</h1>
<ul data-sbind="foreach: listedProfiles">
<li class="app" data-sbind="click: $parent.setProfile">
<i class="fa fa-check" alt="active" data-sbind="visible: name() == $parent.activeProfile()"></i>
<i class="fa fa-lightbulb-o" alt="profile" data-sbind="visible: name()!=$parent.activeProfile() && name()=='__always_on'"></i>
<i class="fa fa-star" alt="profile" data-sbind="visible: name()!=$parent.activeProfile() && name()=='__favorites'"></i>
<i class="fa fa-user-circle-o" alt="profile" data-sbind="visible: name()!=$parent.activeProfile() && !reserved()"></i>
<span data-sbind="text: short_name"></span>
</li>
</ul>
</section>
<!-- Favorites -->
<section data-sbind="if: listedFavorites.any">
<h1 data-sbind="visible: listedFavorites.any">Favorites</h1>
<ul data-sbind="template: {name: 'item-template', foreach: listedFavorites}"></ul>
</section>
<!-- Apps first, grouped -->
<section data-sbind="if: opts.appsFirst() && opts.groupApps()">
<h1 data-sbind="visible: listedApps.any">Apps</h1>
<ul data-sbind="template: {name: 'item-template', foreach: listedApps}"></ul>
<h1 data-sbind="visible: listedExtensions.any">Extensions</h1>
<ul data-sbind="template: {name: 'item-template', foreach: listedExtensions}"></ul>
</section>
<!-- Extensions first, grouped -->
<section data-sbind="if: !opts.appsFirst() && opts.groupApps()">
<h1 data-sbind="visible: listedExtensions.any">Extensions</h1>
<ul data-sbind="template: {name: 'item-template', foreach: listedExtensions}"></ul>
<h1 data-sbind="visible: listedApps.any">Apps</h1>
<ul data-sbind="template: {name: 'item-template', foreach: listedApps}"></ul>
</section>
<!-- Mixed apps and extensions -->
<section data-sbind="if: !opts.groupApps()">
<h1 data-sbind="visible: listedItems.any">Extensions & Apps</h1>
<ul data-sbind="template: {name: 'item-template', foreach: listedItems}"></ul>
</section>
<!-- Nothing in list -->
<section data-sbind="visible: emptyItems">
<p class="empty"><i class="fa fa-exclamation-triangle"></i><br />No Extensions or Apps found.</p>
</section>
</section>
<!-- Workaround for Chrome bug https://bugs.chromium.org/p/chromium/issues/detail?id=307912 -->
<div id="workaround-307912" style="display: none; height: 1px;"></div>
<script type="text/html" id="item-template">
<!-- ko if: !isApp() -->
<li class="extension" data-sbind="click: $parent.toggleExtension, css:{disabled: disabled}"><img width="16px" height="16px" data-sbind="attr:{src:icon}" />
<span data-sbind="text: short_name"></span>
<i class="fa fa-flask" title="Development" alt="Development" data-sbind="visible: is_development"></i>
<i class="fa fa-gear" title="Options" alt="Options" data-sbind="visible: $parent.opts.showOptions() && optionsUrl() && !disabled(), click: $parent.launchOptions, clickBubble: false"></i>
</li>
<!-- /ko -->
<!-- ko if: isApp() -->
<li class="app" data-sbind="click: $parent.launchApp">
<img width="16px" height="16px" data-sbind="attr:{src:icon}"/> <span data-sbind="text: short_name"></span>
<i class="fa fa-flask" title="Development" alt="Development" data-sbind="visible: is_development"></i>
<i class="fa fa-gear" title="Options" alt="Options" data-sbind="visible: $parent.opts.showOptions() && optionsUrl() && !disabled(), click: $parent.launchOptions, clickBubble: false"></i>
</li>
<!-- /ko -->
</script>
</body>
</html>