1
|
<!DOCTYPE html>
|
2
|
<!--
|
3
|
SPDX-License-Identifier: GPL-3.0-or-later OR CC-BY-SA-4.0
|
4
|
|
5
|
Haketilo's preview of a file kept in IndexedDB
|
6
|
|
7
|
This file is part of Haketilo.
|
8
|
|
9
|
Copyright (C) 2022 Wojtek Kosior <koszko@koszko.org>
|
10
|
|
11
|
File is dual-licensed. You can choose either GPLv3+, CC BY-SA or both.
|
12
|
|
13
|
This program is free software: you can redistribute it and/or modify
|
14
|
it under the terms of the GNU General Public License as published by
|
15
|
the Free Software Foundation, either version 3 of the License, or
|
16
|
(at your option) any later version.
|
17
|
|
18
|
This program is distributed in the hope that it will be useful,
|
19
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
20
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
21
|
GNU General Public License for more details.
|
22
|
|
23
|
You should have received a copy of the GNU General Public License
|
24
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
25
|
|
26
|
I, Wojtek Kosior, thereby promise not to sue for violation of this file's
|
27
|
licenses. Although I request that you do not make use of this code in a
|
28
|
proprietary program, I am not going to enforce this in court.
|
29
|
-->
|
30
|
<html>
|
31
|
<head>
|
32
|
<meta charset="utf-8"/>
|
33
|
<title>File preview</title>
|
34
|
#LOADCSS html/reset.css
|
35
|
#LOADCSS html/base.css
|
36
|
<style>
|
37
|
.error_msg {
|
38
|
color: #a33;
|
39
|
/* also italics maybe?*/
|
40
|
}
|
41
|
</style>
|
42
|
</head>
|
43
|
<body>
|
44
|
<div id="info_msg">loading...</div>
|
45
|
<div id="error_msg" class="hide"></div>
|
46
|
#LOADJS html/file_preview.js
|
47
|
</body>
|
48
|
</html>
|