forked from internetarchive/wayback-machine-webextension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
220 lines (207 loc) · 10.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
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
<!doctype html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<title>Wayback Machine</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/common.css">
<link rel="stylesheet" type="text/css" href="css/index.css">
<link rel="stylesheet" type="text/css" href="css/settings.css">
</head>
<body>
<div id='popupPage'>
<div class='container-fluid'>
<div>
<div class='text-center'>
<a href="#"><img class='resize_fit_center' src='images/icon.png' alt='Internet Archive' id="logo_internet_archive" /></a>
<form class="search-toolbar-input-container" style="margin: 10px 2px;">
<div class="bootstrap-typeahead clearfix open" style="position: relative;">
<div class="bootstrap-typeahead-input" tabindex="-1" style="outline: none; position: relative;">
<input id="search_input" type="text" placeholder="Search" value="" autocomplete="off" class="form-control has-aux bootstrap-typeahead-input-main has-selection"
style="background-color: transparent; display: block; position: relative; z-index: 1;">
<input type="text" tabindex="-1" value="" class="form-control has-aux bootstrap-typeahead-input-hint"
style="border-color: transparent; bottom: 0px; box-shadow: none; color: rgb(165, 165, 165); display: block; position: absolute; top: 0px; width: 100%; z-index: 0;">
</div>
<ul id="suggestion-box" class="dropdown-menu bootstrap-typeahead-menu dropdown-menu-left" style="display:none; max-height: 300px; min-width:100%; overflow: auto;">
</ul>
</div>
<input type="submit" tabindex="-1" style="position: absolute; left: -9999px; width: 1px; height: 1px;">
</form>
<div class="flip" id="savebtn">
<div id="savebox">
<div class="front">
<button type="button" class="btn btn-sm btn-block save" id="save_now" tabindex='-1'>Save Page Now</button>
</div>
<div class="back">
<button type="button" class="btn btn-sm btn-block save" id="last_save" tabindex='-1'>URL not supported</button>
</div>
</div>
</div>
<div class="flip" id="recentbtn">
<div id="recentbox">
<div class="front">
<button type="button" class="btn btn-sm captures btn-block" id="recent_capture" tabindex='-1'>Load Recent Version</button>
</div>
<div class="back">
<button type="button" class="btn btn-sm captures btn-block" id="recent_capture_error" tabindex='-1'>URL not supported</button>
</div>
</div>
</div>
<div class="flip" id="firstbtn">
<div id="firstbox">
<div class="front">
<button type="button" class="btn btn-sm captures btn-block" id="first_capture" tabindex='-1'>Load First Version</button>
</div>
<div class="back">
<button type="button" class="btn btn-sm captures btn-block" id="first_capture_error" tabindex='-1'>URL not supported</button>
</div>
</div>
</div>
<div class="flip" id="allbtn">
<div id="allbox">
<div class="front">
<button type="button" class="btn btn-sm captures btn-block" id="overview" tabindex='-1'>Browse All Versions</button>
</div>
<div class="back">
<button type="button" class="btn btn-sm captures btn-block" id="overview_error" tabindex='-1'>URL not supported</button>
</div>
</div>
</div>
<div class="flip" id="mapbtn">
<div id="mapbox">
<div class="front">
<button type="button" class="btn btn-sm extra_feature btn-block" id="site_map" tabindex='-1'>Visualize Site Map</button>
</div>
<div class="back">
<button type="button" class="btn btn-sm extra_feature btn-block" id="site_map_error" tabindex='-1'>URL not supported</button>
</div>
</div>
</div>
<div class="flip" id="twitterbtn">
<div id="twitterbox">
<div class="front">
<button type="button" class="btn btn-sm btn-block extra_feature" id="search_tweet" tabindex="-1">
<i class="fa fa-twitter"></i> Tweets About this Page</button>
</div>
<div class="back">
<button type="button" class="btn btn-sm btn-block extra_feature" id="search_tweet_error" tabindex="-1">
URL not supported</button>
</div>
</div>
</div>
<div class="flip" id="context-screen">
<div id="ctxbox">
<div class="front">
<button type="button" class="btn btn-sm btn-block context_feature" id="contextBtn" tabindex='-1'>Show Me Context</button>
</div>
<div class="back">
<button type="button" class="btn btn-sm btn-block context_feature" id="contextTip" tabindex='-1'>Enable context in setting</button>
</div>
</div>
</div>
<div id="borrow_books_tr" style="display: none;">
<button type="button" class="btn btn-warning btn-sm btn-block" id="borrow_books" tabindex='-1'>Read This Book</button>
</div>
<div id="news_recommend_tr" style="display: none;">
<button type="button" class="btn btn-warning btn-sm btn-block" id="news_recommend" tabindex='-1'>Related TV Clips</button>
</div>
<div id="wikibooks_tr" style="display: none;">
<button type="button" class="btn btn-warning btn-sm btn-block" id="wikibooks" tabindex='-1'>Find Cited Books</button>
</div>
<div id="doi_tr" style="display: none;">
<button type="button" class="btn btn-warning btn-sm btn-block" id="doi" tabindex='-1'>Find Cited Papers</button>
</div>
<div>
<a id="fb_share" class="btn-social btn-sm btn-facebook"><i class="fa fa-facebook"></i></a>
<a id="twit_share" class="btn-social btn-sm btn-twitter"><i class="fa fa-twitter"></i></a>
<a id="linkedin_share" class="btn-social btn-sm btn-linkedin"><i class="fa fa-linkedin"></i></a>
</div>
<div id="horizontal_line" style="margin-bottom: 5px"></div>
<div class="row">
<div class="col-xs-3">
<span class="glyphicon glyphicon-cog" style="font-size: 24.5px; cursor: pointer; color: black;" id="settings_button" title="Settings"></span>
</div>
<div class="col-xs-3">
<i title="Feedback" class="mdi mdi-feedback feedback" style="color: black;"></i>
</div>
<div class="col-xs-3">
<img src="images/donate-icon.jpg" id="donate_button" style="position: relative; bottom: 2px; width: 29.5px; height: 29.5px; cursor: pointer;" alt="donate">
</div>
<div class="col-xs-3">
<span title="About" class="glyphicon glyphicon-info-sign" style="font-size: 25px;color: black; cursor: pointer;" id="about_support_button"></span>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="settingPage">
<ul class="nav">
<li class="section" id="general_btn"><span class="section unselectable">General</span></li>
<li class="section" id="context_btn"><span class="section unselectable">Context</span></li>
</ul>
<div class="container unselectable">
<div id="general">
<label class="switch" for="auto-archive">
<input type="checkbox" id="auto-archive">
<span class="toggle">Enable auto Save-Page-Now ("S")</span>
</label>
<br>
<label class="switch" for="resource">
<input type="checkbox" id="resource">
<span class="toggle">Enable relevant archived resources ("R")</span>
</label>
<br>
<label class="switch" for="auto-update-context">
<input type="checkbox" id="auto-update-context">
<span class="toggle">Update context windows automatically on new pages</span>
</label>
<div class="switch" id="view">
<div id="viewText">Show Features in</div>
<input type="radio" name="tw" value="tab">
<label class="toggle">Tab</label>
<input type="radio" name="tw" value="window">
<label class="toggle">Window</label>
</div>
</div>
<div id="context">
<label class="switch ctx" for="showall">
<input type="checkbox" id="showall">
<span class="enable"><strong>Show All Context Screens</strong></span>
</label>
<br>
<label class="switch ctx" for="alexa">
<input type="checkbox" name="context" id="alexa" class="only">
<span class="enable"><strong>Alexa Internet</strong></span>
</label>
<br>
<label class="switch ctx" for="domaintools">
<input type="checkbox" name="context" id="domaintools" class="only">
<span class="enable"><strong>DomainTools</strong></span>
</label>
<br>
<label class="switch ctx" for="wbmsummary">
<input type="checkbox" name="context" id="wbmsummary" class="only">
<span class="enable"><strong>Wayback Machine Summary</strong></span>
</label>
<br>
<label class="switch ctx" for="annotations">
<input type="checkbox" name="context" id="annotations" class="only">
<span class="enable"><strong>Annotations with Hypothes.is</strong></span>
</label>
<br>
<label class="switch ctx" for="tagcloud">
<input type="checkbox" name="context" id="tagcloud" class="only">
<span class="enable"><strong>Word Cloud for Sites</strong></span>
</label>
</div>
</div>
<button class="unselectable" id="back">Back</button>
</div>
</body>
</html>
<script src="scripts/build.js"></script>
<script src="scripts/utils.js"></script>
<script src="scripts/popup.js"></script>
<script src="scripts/settings.js"></script>