diff options
author | 2019-09-05 10:38:50 +0200 | |
---|---|---|
committer | 2019-09-05 10:38:50 +0200 | |
commit | 843db021a1e8490a72cec55a81cd36c2842284c2 (patch) | |
tree | 97693aaa2414012a80199c2f6bc647e0427b5eea /public/index.html | |
parent | Add link to account dashboard (diff) | |
download | ferdium-server-843db021a1e8490a72cec55a81cd36c2842284c2.tar.gz ferdium-server-843db021a1e8490a72cec55a81cd36c2842284c2.tar.zst ferdium-server-843db021a1e8490a72cec55a81cd36c2842284c2.zip |
Convert static pages to edge views
Diffstat (limited to 'public/index.html')
-rw-r--r-- | public/index.html | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/public/index.html b/public/index.html deleted file mode 100644 index ee9ff44..0000000 --- a/public/index.html +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
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</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="ferdi://settings/app">open Ferdi's settings</a> and as the <code>server</code>, enter <code id="server"></code> | ||
27 | </p> | ||
28 | <p> | ||
29 | Alternatively, you can manage your account in the <a href="/user/account">account dashboard</a>. | ||
30 | </p> | ||
31 | |||
32 | <br /> | ||
33 | <small> | ||
34 | <a href="https://github.com/vantezzen/ferdi-server">ferdi-server</a> is a project by <a href="https://vantezzen.io">vantezzen</a>. | ||
35 | </small> | ||
36 | |||
37 | <script> | ||
38 | // Get server URL for current location | ||
39 | let server = location.href.replace('/index.html', ''); | ||
40 | if (server[server.length - 1] == '/') { | ||
41 | server = server.substr(0, server.length - 1) | ||
42 | } | ||
43 | |||
44 | // Show on page | ||
45 | document.getElementById('server').innerText = server; | ||
46 | </script> | ||
47 | </body> | ||
48 | |||
49 | </html> | ||