mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 17:10:10 +00:00
Harvey Tindall
d3c5feaf1b
login-related stuff was moved into common using the langmover script, so that the user page doesn't have to use the admin language files.
54 lines
2.4 KiB
HTML
54 lines
2.4 KiB
HTML
<html lang="en" class="light">
|
|
<head>
|
|
<link rel="stylesheet" type="text/css" href="{{ .urlBase }}/css/{{ .cssVersion }}bundle.css">
|
|
<script>
|
|
window.URLBase = "{{ .urlBase }}";
|
|
window.notificationsEnabled = {{ .notifications }};
|
|
window.emailEnabled = {{ .emailEnabled }};
|
|
window.telegramEnabled = {{ .telegramEnabled }};
|
|
window.discordEnabled = {{ .discordEnabled }};
|
|
window.matrixEnabled = {{ .matrixEnabled }};
|
|
window.ombiEnabled = {{ .ombiEnabled }};
|
|
window.langFile = JSON.parse({{ .language }});
|
|
window.linkResetEnabled = {{ .linkResetEnabled }};
|
|
window.language = "{{ .langName }}";
|
|
</script>
|
|
{{ template "header.html" . }}
|
|
<title>{{ .lang.Strings.pageTitle }}</title>
|
|
</head>
|
|
<body class="max-w-full overflow-x-hidden section">
|
|
<div id="notification-box"></div>
|
|
<div class="top-4 left-4 absolute">
|
|
<span class="dropdown" tabindex="0" id="lang-dropdown">
|
|
<span class="button ~urge dropdown-button">
|
|
<i class="ri-global-line"></i>
|
|
<span class="ml-2 chev"></span>
|
|
</span>
|
|
<div class="dropdown-display">
|
|
<div class="card ~neutral @low">
|
|
<label class="switch pb-4">
|
|
<input type="radio" name="lang-time" id="lang-12h">
|
|
<span>{{ .strings.time12h }}</span>
|
|
</label>
|
|
<label class="switch pb-4">
|
|
<input type="radio" name="lang-time" id="lang-24h">
|
|
<span>{{ .strings.time24h }}</span>
|
|
</label>
|
|
<div id="lang-list"></div>
|
|
</div>
|
|
</div>
|
|
</span>
|
|
<span class="button ~warning" alt="{{ .strings.theme }}" id="button-theme"><i class="ri-sun-line"></i></span>
|
|
<span class="button ~critical @low mb-4 unfocused" id="logout-button">{{ .strings.logout }}</span>
|
|
</div>
|
|
{{ template "login-modal.html" . }}
|
|
<div class="page-container">
|
|
<div class="card @low dark:~d_neutral mb-4" id="card-user">
|
|
<span class="heading"></span>
|
|
</div>
|
|
</div>
|
|
<script src="{{ .urlBase }}/js/user.js" type="module"></script>
|
|
</body>
|
|
</html>
|
|
|