This repository has been archived by the owner on Mar 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (49 loc) · 5.22 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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>EhConverter</title>
<link rel="stylesheet" href="./src/style.scss">
</head>
<body class="min-h-screen bg-slate-50">
<header class="mb-2">
<nav class="h-12 bg-slate-900 flex justify-between items-center px-4 shadow">
<div>
<span class="text-xl text-slate-300 mr-1">EhConverter</span><span class="text-xs text-slate-300 ml-0" id="version">v1.0.0-deprecated</span>
</div>
<a href="https://github.com/skymkmk/EhConverter" target="_blank" rel="noopener noreferrer" class="w-fit items-center hidden sm:flex text-slate-300 hover:text-slate-200 focus:text-slate-100"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32.58 31.77" class="h-4 w-4 mr-1" fill="currentColor"><g id="layer" data-name="layer"><g id="Layer_1" data-name="Layer 1"><path d="M16.29,0a16.29,16.29,0,0,0-5.15,31.75c.82.15,1.11-.36,1.11-.79s0-1.41,0-2.77C7.7,29.18,6.74,26,6.74,26a4.36,4.36,0,0,0-1.81-2.39c-1.47-1,.12-1,.12-1a3.43,3.43,0,0,1,2.49,1.68,3.48,3.48,0,0,0,4.74,1.36,3.46,3.46,0,0,1,1-2.18c-3.62-.41-7.42-1.81-7.42-8a6.3,6.3,0,0,1,1.67-4.37,5.94,5.94,0,0,1,.16-4.31s1.37-.44,4.48,1.67a15.41,15.41,0,0,1,8.16,0c3.11-2.11,4.47-1.67,4.47-1.67A5.91,5.91,0,0,1,25,11.07a6.3,6.3,0,0,1,1.67,4.37c0,6.26-3.81,7.63-7.44,8a3.85,3.85,0,0,1,1.11,3c0,2.18,0,3.94,0,4.47s.29.94,1.12.78A16.29,16.29,0,0,0,16.29,0Z"/></g></g></svg><span class="text-xs font-mono">skymkmk/EhConverter</span></a>
</nav>
</header>
<div class="p-2">
<a href="https://github.com/skymkmk/EhConverter" target="_blank" rel="noopener noreferrer" class="w-fit flex items-center mb-2 sm:hidden"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32.58 31.77" class="h-4 w-4 mr-1" fill="currentColor"><g id="layer" data-name="layer"><g id="Layer_1" data-name="Layer 1"><path d="M16.29,0a16.29,16.29,0,0,0-5.15,31.75c.82.15,1.11-.36,1.11-.79s0-1.41,0-2.77C7.7,29.18,6.74,26,6.74,26a4.36,4.36,0,0,0-1.81-2.39c-1.47-1,.12-1,.12-1a3.43,3.43,0,0,1,2.49,1.68,3.48,3.48,0,0,0,4.74,1.36,3.46,3.46,0,0,1,1-2.18c-3.62-.41-7.42-1.81-7.42-8a6.3,6.3,0,0,1,1.67-4.37,5.94,5.94,0,0,1,.16-4.31s1.37-.44,4.48,1.67a15.41,15.41,0,0,1,8.16,0c3.11-2.11,4.47-1.67,4.47-1.67A5.91,5.91,0,0,1,25,11.07a6.3,6.3,0,0,1,1.67,4.37c0,6.26-3.81,7.63-7.44,8a3.85,3.85,0,0,1,1.11,3c0,2.18,0,3.94,0,4.47s.29.94,1.12.78A16.29,16.29,0,0,0,16.29,0Z"/></g></g></svg><span class="text-xs font-mono">skymkmk/EhConverter</span></a>
<form class="p-2 border rounded bg-white mb-4">
<div class="flex flex-col items-center text-slate-500 hover:text-slate-400 transition cursor-pointer" id="upload">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-16 h-16">
<path stroke-linecap="round" stroke-linejoin="round" d="M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5m-13.5-9L12 3m0 0l4.5 4.5M12 3v13.5" />
</svg>
<div>点击上传 .db 文件</div>
</div>
<input type="file" name="db" id="db" accept=".db" class="hidden">
</form>
<article class="border rounded p-2 bg-white">
<h1 class="text-red-500 text-2xl font-black mb-2">⚠重要提示</h1>
<p class="indent-8 px-2 mb-1">现在所有 EhViewer 的主要分支都已经不检查数据库版本号。本转换器已经完成了历史任务,不再维护。以下为历史提示,不具有时效性,仅供参考。</p>
<hr class=" my-4">
<h1 class="text-red-500 text-2xl font-black mb-2">⚠注意</h1>
<p class="indent-8 px-2 mb-1">本项目仅供用于 SXJ 版至通用版本转换。SXJ 版本在导入通用版本时会自行进行转换,但请注意 SXJ 版本导入时也会 <strong>直接</strong> 修改源文件导致不可被通用版本导入。</p>
<p class="indent-8 px-2 mb-1">请通过 Chrome (Edge)、Firefox 浏览器使用本转换服务。</p>
<p class="indent-8 px-2 mb-2">目前仍在活跃的 EhViewer 分支如下所示:</p>
<ul class="list-disc px-2 ml-4 mb-2">
<li><a href="https://github.com/Ehviewer-Overhauled/Ehviewer" target="_blank" rel="noopener noreferrer">EhViewer Overhauled (彩E)</a></li>
<li><a href="https://github.com/xb2016/EhViewer-NekoInverter" target="_blank" rel="noopener noreferrer">EhViewer xb2016 (白E维护版,仅保证最低限度可用性)</a></li>
<li><a href="https://github.com/xiaojieonly/Ehviewer_CN_SXJ" target="_blank" rel="noopener noreferrer">EhViewer CN SXJ</a></li>
</ul>
<p class="indent-8 px-2 mb-1">本项目纯前端实现,如果你担忧隐私问题,可以下载 <a href="https://github.com/skymkmk/EhConverter" target="_blank" rel="noopener noreferrer">源码</a> 根据 README 来本地搭建。</p>
<p class="indent-8 px-2 mb-1">如果你使用 <strong>上述</strong> 的浏览器和 EhV 版本出现了问题,欢迎提 <a href="https://github.com/skymkmk/EhConverter/pulls" target="_blank" rel="noopener noreferrer">pr</a>。</p>
</article>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>