forked from MozillaOnline/HtmlOffice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·128 lines (128 loc) · 5.08 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
<!DOCTYPE html>
<html>
<head>
<title>Html Office</title>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
<link rel="resource" type="application/l10n" href="locales/locales.ini">
<link href="style/main.css" rel="stylesheet" media="screen">
<link href="style/action_menu.css" rel="stylesheet" media="screen">
<link href="style/confirm.css" rel="stylesheet" media="screen">
<script defer src="js/utils.js"></script>
<script defer src="js/main.js"></script>
<script defer src="js/3rd/gesture_detector.js"></script>
<script defer src="js/3rd/l10n.js"></script>
</head>
<body class="main">
<section id="list-header" class="">
<div class="row-fluid nav1">
<div class="span2">
<div id="about" class="about"></div>
</div>
<div class="span8 title" data-l10n-id="reader"> Document Viewer</div>
<div class="span2">
<div id="refresh" class="refresh"></div>
</div>
</div>
<div class="row-fluid nav2">
<div id="history" data-l10n-id="history" data-type="history" class="span3 types">RECENT</div>
<div id="docx" data-type="docx" class="span3 types">DOCX</div>
<div id="xlsx" data-type="xlsx" class="span3 types">XLSX</div>
<div id="pptx" data-type="pptx" class="span3 types">PPTX</div>
</div>
</section>
<section id="list-container" class="hidden">
</section>
<section id="empty-list" class="hidden">
<div id="empty-list-header" class="row-fluid empty-title" data-l10-id="files_not_found"></div>
<div id="empty-list-des" class="row-fluid empty-subtitle" data-l10n-id="rescan"></div>
<div id="empty-list-button" class="row-fluid">
<div id="empty-list-refresh" class="circle refresh-btn">
<span data-l10n-id="refresh">Refresh</span>
</div>
</div>
</section>
<section id="modal-loading" class="modal hidden">
<div id="loading-container" class="loading-container">
<img id="loading-img" src="style/images/loading.png" class="loading"/>
</div>
</section>
<section id="file-action" class="hidden">
<form id="file-action-form" role="dialog" data-type="action">
<header id="file-action-header"></header>
<menu>
<button id="open-button" data-l10n-id="Open">Open</button>
<button id="details-button" data-l10n-id="Details">Details</button>
<button id="delete-button" data-l10n-id="Delete">Delete</button>
<button id="cancel-button" data-l10n-id="cancel">Cancel</button>
</menu>
</form>
</section>
<section id="details" class="hidden">
<form role="dialog" data-type="confirm">
<section>
<h1 id="file-name"></h1>
<p>
<span data-l10n-id="size">Size</span><br />
<strong><span id="file-size"></span></strong><br />
<span data-l10n-id="absolute-path">Absolute path</span><br />
<strong><span id="absolute-path"></span></strong><br />
<span data-l10n-id="last-updated">Last updated</span><br />
<strong><span id="file-modified"></span></strong><br />
</p>
</section>
<menu>
<button id="close-button" type="button" data-l10n-id="close">Close</button>
</menu>
</form>
</section>
<section id="about-dialog" class="hidden">
<form role="dialog" data-type="confirm">
<section>
<p>
<span data-l10n-id="description">Description</span>
<strong><span data-l10n-id="distribution-info">Document Viewer is a simple reader which allows you to read Office documents on Firefox OS device.</span></strong>
</p>
<p>
<span data-l10n-id="basedon">Based On</span>
<strong><span data-l10n-id="baseon-info1">WebODF technology</span></strong>
<strong><span data-l10n-id="baseon-info2">Odf Addin for Office technology</span></strong>
<strong><span data-l10n-id="baseon-info3">JSZip technology</span></strong>
</p>
<p>
<span data-l10n-id="version">Version</span>
<strong><span>3.2</span></strong>
</p>
<p>
<span data-l10n-id="licence">License</span>
<strong><span>AGPL-3.0</span></strong>
</p>
<p>
<span data-l10n-id="source">Source Code</span>
<strong><span>https://github.com/MozillaOnline/HtmlOffice</span></strong>
</p>
</section>
<menu>
<button id="close-about" type="button" data-l10n-id="close">Close</button>
</menu>
</form>
</section>
<section id="container" class="hidden">
<div class="row-fluid header">
<div class="span2">
<div id="quitViewer" class="back"></div>
</div>
<div id="file-header" class="span8">
<span id="documentName"></span>
</div>
<div class="span2 pages">
<span id="pages" class="hidden"></span>
</div>
</div>
<div class="row-fluid content">
<div id="file-display" class="span12"></div>
</div>
</section>
</body>
</html>