diff options
author | 2019-08-28 13:09:04 +0200 | |
---|---|---|
committer | 2019-08-28 13:09:04 +0200 | |
commit | 998e0a57278426546bcb0e681212d8849cadd067 (patch) | |
tree | 367cec82cf1c0d22758bcf6f3c701614e5eaf903 /public/index.html | |
parent | Fix legal documents routes (diff) | |
download | ferdium-server-998e0a57278426546bcb0e681212d8849cadd067.tar.gz ferdium-server-998e0a57278426546bcb0e681212d8849cadd067.tar.zst ferdium-server-998e0a57278426546bcb0e681212d8849cadd067.zip |
Add welcome page
Diffstat (limited to 'public/index.html')
-rw-r--r-- | public/index.html | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..888f05c --- /dev/null +++ b/public/index.html | |||
@@ -0,0 +1,46 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html lang="en"> | ||
3 | |||
4 | <head> | ||
5 | <meta charset="UTF-8"> | ||
6 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
7 | <meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
8 | <title>ferdi-server - Privacy policy</title> | ||
9 | |||
10 | <link rel="stylesheet" href="css/vanilla.css"> | ||
11 | |||
12 | <style> | ||
13 | ol, | ||
14 | p { | ||
15 | margin: 0.5rem 0; | ||
16 | } | ||
17 | |||
18 | </style> | ||
19 | </head> | ||
20 | |||
21 | <body> | ||
22 | <h1>ferdi-server</h1> | ||
23 | |||
24 | <p>You are accessing a custom <a href="https://github.com/kytwb/ferdi">Ferdi</a> server.</p> | ||
25 | <p> | ||
26 | To use this server in your Ferdi client, <a href="franz://settings/app">open Ferdi's settings</a> and as the <code>server</code>, enter <code id="server"></code> | ||
27 | </p> | ||
28 | |||
29 | <br /> | ||
30 | <small> | ||
31 | <a href="https://github.com/vantezzen/ferdi-server">ferdi-server</a> is a project by <a href="https://vantezzen.io">vantezzen</a>. | ||
32 | </small> | ||
33 | |||
34 | <script> | ||
35 | // Get server URL for current location | ||
36 | let server = location.href.replace('/index.html', ''); | ||
37 | if (server[server.length - 1] == '/') { | ||
38 | server = server.substr(0, server.length - 1) | ||
39 | } | ||
40 | |||
41 | // Show on page | ||
42 | document.getElementById('server').innerText = server; | ||
43 | </script> | ||
44 | </body> | ||
45 | |||
46 | </html> | ||