blob: d1505e19fcd919ae7fa7fcc9dcec6c1dae4d5704 (
plain) (
blame)
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
|
@layout('layouts.main')
@section('content')
<style>
ol,
p {
margin: 0.5rem 0;
}
img {
height: 200px;
margin: 0;
}
</style>
<img src="https://github.com/getferdi/ferdi/raw/develop/build-helpers/images/icon.png" alt="Ferdi logo">
<h1>Ferdi Server</h1>
<p>You are accessing a custom <a href="https://github.com/getferdi/ferdi">Ferdi</a> server.</p>
<p>
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>
</p>
<p>
Alternatively, you can manage your account in the <a href="/user/account">account dashboard</a>.
</p>
<br />
<small>
<a href="https://github.com/getferdi/server">ferdi-server</a> is a project by <a
href="https://getferdi.com">the Ferdi Team</a>.
</small>
<script>
// Get server URL for current location
let server = location.href.replace('/index.html', '');
if (server[server.length - 1] == '/') {
server = server.substr(0, server.length - 1)
}
// Show on page
document.getElementById('server').innerText = server;
</script>
@endsection
|