This repository has been archived by the owner on Nov 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
139 lines (139 loc) · 6.8 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
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<!--<link rel="stylesheet" href="../../libs/spinkit/css/spinkit.css"/>-->
<script type="text/javascript" src="mailparser/mailparser.min.js"></script>
<script type="text/javascript" src="../legacy-ext/libs/dompurify/dist/purify.min.js"></script>
<script type="text/javascript" src="../legacy-ext/libs/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="../legacy-ext/libs/bootstrap/dist/js/bootstrap.min.js"></script>
<script type="text/javascript" src="../legacy-ext/libs/i18next/i18next.min.js"></script>
<script type="text/javascript" src="../legacy-ext/libs/jquery-i18next/jquery-i18next.min.js"></script>
<script type="text/javascript" src="../legacy-ext/libs/marked/marked.min.js"></script>
<script type="text/javascript" src="../legacy-ext/libs/mousetrap/mousetrap.min.js"></script>
<script type="text/javascript" src="../legacy-ext/libs/readability/Readability.js"></script>
<script type="text/javascript" src="../legacy-ext/libs/readability/JSDOMParser.js"></script>
<script type="text/javascript" src="../legacy-ext/libs/jquery.highlight.js"></script>
<script type="text/javascript" src="../legacy-ext/common.js"></script>
<script type="text/javascript" src="main.js"></script>
<!--<link rel="stylesheet" href="../../assets/tagspaces.css"/>-->
<link rel="stylesheet" href="extension.css"/>
<link rel="stylesheet" href="css/markdown.css"/>
<link rel="stylesheet" href="css/github.css"/>
<link rel="stylesheet" href="css/metro-vibes.css"/>
<link rel="stylesheet" href="css/solarized-dark.css"/>
<link rel="stylesheet" href="css/clearness.css"/>
<link rel="stylesheet" href="css/clearness-dark.css"/>
</head>
<body>
<div id="searchToolbar" style="display: none;">
<div class="flexLayout">
<button class="btn btn-link" id="clearSearchExtButton" data-i18n="[title]cancelSearch">
<i class="fa fa-lg fa-eraser"></i>
</button>
<input class="flexMaxWidth" id="searchBox" type="text" data-i18n="[placeholder]findInDocument">
<button class="btn btn-link" id="searchExtButton" data-i18n="[title]startSearch">
<i class="fa fa-lg fa-binoculars"></i>
</button>
</div>
</div>
<div class="flexLayoutVertical" style="width: 100%;">
<p style="margin: 5px; font-size: 12px;">Preview of the document <span id="fileMeta"></span></p>
</div>
<div id="mhtmlViewer">
<div style="position: absolute; top:0; left: 0; right: 0; bottom: 0; background-color: white;">
<div style="width:60px; height:60px; position:absolute;left:50%;top:50%;margin:-30px 0 0 -30px;">
<div class="sk-spinner sk-rotating-plane"></div>
</div>
</div>
</div>
<div class="btn-group dropup extMainMenu">
<button type="button" id="viewerMainMenuButton" class="btn roundButton dropdown-toggle viewerMainMenuButton" data-toggle="dropdown">
<i class="fa fa-ellipsis-v fa-2x"></i>
</button>
<ul class="dropdown-menu pull-right">
<li class="dropdown-header">
<button class="close">×</button>
</li>
<li class="divider"></li>
<li><a id="readabilityOn">
<i class="fa fa-book fa-lg fa-fw"></i> <span data-i18n="readabilityOn"></span>
</a></li>
<li><a id="readabilityOff">
<i class="fa fa-book fa-lg fa-fw"></i> <span data-i18n="readabilityOff"></span>
</a></li>
<li>
<div id="readabilityFont">
<i class="fa fa-font fa-lg fa-fw"></i>
<div class="btn-group" data-toggle="buttons">
<a id="toSansSerifFont"><label id="sanSerifLabel" class="btn btn-secondary" data-i18n="[title]toSansSerifFont">ABC</label></a>
<a id="toSerifFont"><label id="serifLabel" class="btn btn-secondary" data-i18n="[title]toSerifFont">ABC</label></a>
</div>
</div>
</li>
<li>
<div id="readabilityFontSize">
<i class="fa fa-text-height fa-lg fa-fw"></i>
<div class="btn-group" data-toggle="buttons">
<a id="decreasingFontSize"><label class="btn btn-secondary" data-i18n="[title]decreasingFontSize">-</label></a>
<a id="increasingFontSize"><label class="btn btn-secondary" data-i18n="[title]increasingFontSize">+</label></a>
</div>
</div>
</li>
<li>
<div id="themeStyle" style="margin-left: 19px; margin-top: 10px;">
<i class="fa fa-paint-brush fa-lg fa-fw"></i>
<div class="btn-group" data-toggle="buttons">
<a id="whiteBackgroundColor"><label class="btn btn-secondary" data-i18n="[title]changeBackgroundColor"> </label></a>
<a id="blackBackgroundColor"><label class="btn btn-black" data-i18n="[title]changeBackgroundColor"> </label></a>
<a id="sepiaBackgroundColor"><label class="btn btn-sepia" data-i18n="[title]changeBackgroundColor"> </label></a>
</div>
</div>
</li>
<li><a id="zoomOutButton">
<i class="fa fa-search-minus fa-lg fa-fw"></i> <span data-i18n="zoomOut"></span>
</a></li>
<li><a id="zoomInButton">
<i class="fa fa-search-plus fa-lg fa-fw"></i> <span data-i18n="zoomIn"></span>
</a></li>
<li><a id="zoomResetButton">
<i class="fa fa-search fa-lg fa-fw"></i> <span data-i18n="zoomReset"></span>
</a></li>
<li class="divider"></li>
<li><a id="findInFile">
<i class="fa fa-binoculars fa-lg fa-fw"></i> <span data-i18n="findInDocument"></span>
</a></li>
<li><a id="printButton">
<i class="fa fa-print fa-lg fa-fw"></i> <span data-i18n="print"></span>
</a></li>
<!--li><a id="openInNewWindowButton">
<i class="fa fa-external-link fa-lg fa-fw"></i> <span data-i18n="openInNewWindow"></span>
</a></li-->
<li><a id="openURLButton">
<i class="fa fa-external-link-square fa-lg fa-fw"></i> <span data-i18n="openSourceURL"></span>
</a></li>
<li><a id="aboutButton">
<i class="fa fa-comment fa-lg fa-fw"></i> <span data-i18n="about"></span>
</a></li>
</ul>
</div>
<div class="modal" id="aboutExtensionModal" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" id="closeAboutDialogButton" class="close" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i></button>
<h4 class="modal-title" data-i18n="aboutTitle"></h4>
</div>
<div class="modal-body markdown-content">
<br>Please visit the <a href="https://github.com/tagspaces/viewerMHTML">project page</a> on GitHub for details about this extension.<br><br>
</div>
<div class="modal-footer">
<button class="btn btn-primary" data-dismiss="modal" aria-hidden="true"><i class="fa fa-check fa-lg"></i>
</button>
</div>
</div>
</div>
</div>
</body>
</html>