aboutsummaryrefslogtreecommitdiffstats
path: root/resources/views/others/index.edge
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/others/index.edge')
-rw-r--r--resources/views/others/index.edge38
1 files changed, 38 insertions, 0 deletions
diff --git a/resources/views/others/index.edge b/resources/views/others/index.edge
new file mode 100644
index 0000000..c594d31
--- /dev/null
+++ b/resources/views/others/index.edge
@@ -0,0 +1,38 @@
1@layout('layouts.main')
2
3@section('content')
4<style>
5 ol,
6 p {
7 margin: 0.5rem 0;
8 }
9
10</style>
11<h1>ferdi-server</h1>
12<p>You are accessing a custom <a href="https://github.com/kytwb/ferdi">Ferdi</a> server.</p>
13<p>
14 To use this server in your Ferdi client, <a href="ferdi://settings/app">open Ferdi's settings</a> and as the
15 <code>server</code>, enter <code id="server"></code>
16</p>
17<p>
18 Alternatively, you can manage your account in the <a href="/user/account">account dashboard</a>.
19</p>
20
21<br />
22<small>
23 <a href="https://github.com/vantezzen/ferdi-server">ferdi-server</a> is a project by <a
24 href="https://vantezzen.io">vantezzen</a>.
25</small>
26
27<script>
28 // Get server URL for current location
29 let server = location.href.replace('/index.html', '');
30 if (server[server.length - 1] == '/') {
31 server = server.substr(0, server.length - 1)
32 }
33
34 // Show on page
35 document.getElementById('server').innerText = server;
36
37</script>
38@endsection