forked from stylish-userstyles/stylish-chrome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
145 lines (138 loc) · 6.25 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
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<html><head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<script id="template-style-item" type="x-tmpl-mustache">
<div class="entry enabled" style-id="{{styleid}}">
<div class="main-controls">
<div class="thumbnail-holder">
<img class="thumbnail" src="{{thumbnail}}">
<div class="thumbnail-mask">
<a class="thumbnail_install" href="{{style_url}}" style-id="{{styleid}}" target="_blank">{{installButtonLabel}}</a>
</div>
</div>
<label class="style-name">{{stylename}}</label>
<label class="style-author">by {{author}}</label>
<div class="info">
<div class="num_installs">
<span class="installs">{{installsStr}}</span>
<div class="installs_tooltip">{{installsTooltip}}</div>
</div>
<div class="clear"></div>
</div>
</div>
</div>
</script>
<script id="template-style-installed-item" type="x-tmpl-mustache">
<div id="installed-style-{{id}}" class="installed entry {{additionalClass}}" >
<div class="main-controls">
<div class="thumbnail-holder">
<img class="thumbnail" src="{{screenshot}}"/>
<div class="activation_info">
<span class="activation_status active">{{active_str}}</span>
<span class="activation_status inactive">{{inactive_str}}</span>
</div>
<div class="thumbnail-mask">
<a class="thumbnail_edit" href="{{style_edit_url}}" target="_blank">{{editButtonLabel}}</a>
<a class="thumbnail_activate" href="{{style_url}}" target="_blank">{{activateButtonLabel}}</a>
<a class="thumbnail_deactivate" href="{{style_url}}" target="_blank">{{deactivateButtonLabel}}</a>
<a class="thumbnail_delete" href="{{style_url}}" target="_blank">{{deleteButtonLabel}}</a>
<a class="thumbnail_feedback notLoggedIn" href="{{feedback_url}}" target="_blank">{{sendFeedbackLabel}}</a>
<a class="thumbnail_feedback loggedIn" href="{{discussion_url}}" target="_blank">{{sendFeedbackLabel}}</a>
</div>
</div>
<label class="style-name">{{name}}</label>
<label class="style-author">by {{author}}</label>
<div class="info">
<div class="num_installs">
<span class="installs">{{installsStr}}</span>
<div class="installs_tooltip">{{installsTooltip}}</div>
</div>
<div class="clear"></div>
</div>
</div>
</div>
</script>
<link rel="stylesheet" href="animate.css"/>
<link rel="stylesheet" href="styles.css"/>
<script src="src/analytics.js"></script>
<script src="src/localization.js"></script>
<script src="src/health.js"></script>
<script src="src/storage.js"></script>
<script src="src/refilter.js"></script>
<script src="src/messaging.js"></script>
<script src="src/inject/apply.js"></script>
<script src="src/popup/mustache.min.js"></script>
<script src="src/popup/mustache.wrap.js"></script>
<script src="src/popup/Tabs.js"></script>
</head>
<body id="stylish-popup">
<div id="sitename">dribbble.com</div>
<div class="tabs-container">
<header>
<div class="tab-header active">
<label for="tab-header-recommended" i18n-text="stylesLibLabel"></label>
<input id="tab-header-recommended" type="radio" name="style-type" checked>
</div>
<div class="tab-header">
<label for="tab-header-installed" i18n-text="manageHeading"></label>
<input id="tab-header-installed" type="radio" name="style-type">
</div>
</header>
<div id="styles-off-notification" class="notification styles-off-notification">
<header>Heads up! You've turned all styles off.</header>
<section>Turn them back on to make this style active.</section>
</div>
<section id="tab-item-recommended" class="tab-item tab-recommended active">
<div id="unavailable" class="hide"><div class="left-gutter"></div><div class="main-controls">
<span id="unavailable-message" i18n-text="stylishUnavailableForURL"></span>
</div></div>
<div id="nostyles" class="hide"
i18n-text="findStylesForThisSiteTextOff">
</div>
<div id="noServerConnection" class="hide">
<div i18n-text="noServerConnection"></div>
</div>
<div id="recommended"></div>
<div id="find-styles">
<a id="find-styles-link"
tabindex="-1"
href="https://userstyles.org/styles/browse/all/https%3A%2F%2Fwww.google.hu%2F%3Fgfe_rd%3Dcr%26ei%3D2u0aWK6BMrPs8wfdtrzgCA%26gws_rd%3Dssl"
i18n-text="findStylesForSite">
</a>
</div>
</section>
<section id="tab-item-installed" class="tab-item tab-installed">
<div id="disable-all-container">
<div id="disable-all-block">
<span class="disable-all-lable">All styles</span>
<div class="swipe-button">
<label class="swipe-button-label">
<input type="checkbox" id="disable-all-checkbox"/>
<div class="swipe-wrap">
<span class="on" i18n-text="ON"></span>
<span class="swiper"></span>
<span class="off" i18n-text="OFF"></span>
</div>
</label>
</div>
</div>
</div>
<div id="zerostyles" class=""><div class="message" i18n-text="noStylesForSite"></div>
<div id="chose_style" i18n-text="chooseStyleFromLib"></div>
<div id="create_style" i18n-text="createOwnStyle"></div>
</div>
<div id="installed" class="hide notLoggedIn"></div>
</section>
</div>
<div class="bottom_controls">
<a id="write-new-style-link" class="add_style" href="/edit.html" target="_blank" tabindex="-1" i18n-text="openCreate"></a>
<a class="manage_styles" href="/manage.html" target="_blank" tabindex="-1" i18n-text="openManage"></a>
</div>
<script src="src/popup/object.assign.polyfill.js"></script>
<script src="src/popup/Requester.js"></script>
<script src="src/popup/MemCachedRequester.js"></script>
<script src="src/popup/SessionCachedRequester.js"></script>
<script src="src/popup/StyleInfoFetcher.js"></script>
<script src="src/popup/popup.js"></script>
<script src="src/popup/popup-installed.js"></script>
<script src="src/popup/popupanalytics.js"></script>
</body></html>