-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
64 lines (61 loc) · 2.6 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title id="head-title"></title>
<!-- https://electronjs.org/docs/tutorial/security#csp-meta-tag -->
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />
<!-- load css -->
<link rel="stylesheet" type="text/css" href="static/css/light.css" id="theme-css" />
<link rel="stylesheet" type="text/css" href="static/css/kankan.css" />
<!-- load js -->
<script src="static/js/data.js"></script>
</head>
<body>
<div class="container" id="main">
<div class="main" id="div" onmousewheel="return bbimg(this)">
<img class="img" id="img" ondblclick="resetSize()" onload="resize()">
</div>
<div class="open-file" id="open-file">
<h2>Kan Kan <span id="version"></span></h2>
<label id="drag-here"></label> /
<button onclick="openFileWin()" id="btn-open-file"></button>
</div>
<div style="right: 0;" class="btn-to" onclick="next()" id='btn-to-r'>
<div class="btn-txt">→</div>
</div>
<div style="left: 0;" class="btn-to" onclick="previous()" id='btn-to-l'>
<div class="btn-txt">←</div>
</div>
<div class="title-bar" id="title-bar">
<!-- ondblclick="maxWindow()" -->
<div id="title" class="title" ondblclick="maxWindow()">
</div>
<div style="float: left;">
<button onclick="previous()"> ◀ </button>
<button onclick="next()"> ▶ </button>
</div>
<div style="display: block;float: right;padding-right: 90px;">
<button onclick="realSize()">↗</button>
<button onclick="initParams(1)">↙</button>
<button onclick="copyFile()">✂</button>
<button onclick="setWallpaper()" id="btn-wallpaper">♡</button>
<!-- <button onclick="showMenu()">菜单</button> -->
<button onclick="rotate(-1)">↺</button>
<button onclick="rotate(1)">↻</button>
<button onclick="changeTheme()" id="btn-theme">◐</button>
</div>
</div>
<div class="foot-bar" id="foot-bar">
<label id="zoom-per">100%</label>
</div>
</div>
<!-- load js -->
<script src="static/js/lan.js"></script>
<script src="static/js/img.js"></script>
<script src="static/js/index.js"></script>
<script src="static/js/renderer.js"></script>
<script src="static/js/menu.js"></script>
<script src="static/js/drag.js"></script>
</body>
</html>