forked from sergiokas/Extensity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
96 lines (80 loc) · 5.53 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
<!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/jquery.min.js"></script>
<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.4.0.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-users" 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 /></p>
</section>
<section id="content" class="main">
<!-- Profiles -->
<section data-sbind="if: profiles.any, visible: !search.q">
<h1 >Profiles</h1>
<ul data-sbind="foreach: profiles.items">
<li class="app" data-sbind="click: $parent.setProfile"><i class="fa fa-users" alt="profile"></i> <span data-sbind="text: short_name"></span></li>
</ul>
</section>
<!-- Apps first, grouped -->
<section data-sbind="if: opts.appsFirst() && opts.groupApps()">
<h1 data-sbind="visible: listedApps.any">Apps</h1>
<ul data-sbind="foreach: listedApps">
<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></li>
</ul>
<h1 data-sbind="visible: listedExtensions.any">Extensions</h1>
<ul data-sbind="foreach: listedExtensions">
<li class="extension" data-sbind="click: toggle, css:{disabled: disabled}"><img width="16px" height="16px" data-sbind="attr:{src:icon}" /> <span data-sbind="text: short_name"></span></li>
</ul>
</section>
<!-- Extensions first, grouped -->
<section data-sbind="if: !opts.appsFirst() && opts.groupApps()">
<h1 data-sbind="visible: listedExtensions.any">Extensions</h1>
<ul data-sbind="foreach: listedExtensions">
<li class="extension" data-sbind="click: toggle, css:{disabled: disabled}"><img width="16px" height="16px" data-sbind="attr:{src:icon}" /> <span data-sbind="text: short_name"></span></li>
</ul>
<h1 data-sbind="visible: listedApps.any">Apps</h1>
<ul data-sbind="foreach: listedApps">
<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></li>
</ul>
</section>
<!-- Mixed apps and extensions -->
<section data-sbind="if: !opts.groupApps()">
<h1 data-sbind="visible: listedItems.any">Extensions & Apps</h1>
<ul data-sbind="foreach: listedItems">
<li class="extension" data-sbind="visible: !isApp(), click: toggle, css:{disabled: disabled}"><img width="16px" height="16px" data-sbind="attr:{src:icon}" /> <span data-sbind="text: short_name"></span></li>
<li class="app" data-sbind="visible: isApp, click: $parent.launchApp"><img width="16px" height="16px" data-sbind="attr:{src:icon}"/> <span data-sbind="text: short_name"></span></li>
</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>
</body>
</html>