Use HtmlWebpackPlugin properly.

This commit is contained in:
NI
2019-08-17 16:07:31 +08:00
parent 541e4b9233
commit 54fa0ae10e
3 changed files with 61 additions and 55 deletions

View File

@@ -1,50 +0,0 @@
<!--
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019 Rui NI <nirui@gmx.com>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<div id="landing">
<div id="landing-message">
<div id="landing-message-logo"></div>
<h1 id="landing-message-title">Loading Sshwifty</h1>
<div id="landing-message-info">
<p>
Client is currently being loaded. Should only take a few seconds, please
wait
</p>
<noscript>
<p>
Also, surely you smart people knows that application such like this
one require JavaScript to run :)
</p>
</noscript>
<p class="copy copy-first">
Copyright &copy; 2019 Rui NI &lt;nirui@gmx.com&gt;
</p>
<p class="copy">
<a href="https://github.com/niruix/sshwifty" target="blank">
Source Code
</a>
<a href="/README.md" target="blank">
Release note
</a>
</p>
</div>
</div>
</div>

60
ui/index.html Normal file
View File

@@ -0,0 +1,60 @@
<!--
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019 Rui NI <nirui@gmx.com>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Sshwifty Web SSH Client</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<div id="landing">
<div id="landing-message">
<div id="landing-message-logo"></div>
<h1 id="landing-message-title">Loading Sshwifty</h1>
<div id="landing-message-info">
<p>
Client is currently being loaded. Should only take a few seconds,
please wait
</p>
<noscript>
<p>
Also, surely you smart people knows that application such like
this one require JavaScript to run :)
</p>
</noscript>
<p class="copy copy-first">
Copyright &copy; 2019 Rui NI &lt;nirui@gmx.com&gt;
</p>
<p class="copy">
<a href="https://github.com/niruix/sshwifty" target="blank">
Source Code
</a>
<a href="/README.md" target="blank">
Release note
</a>
</p>
</div>
</div>
</div>
</body>
</html>