fix layout on remaining html

tailwind
Harvey Tindall 3 years ago
parent a3a22d353c
commit 26d9864051
No known key found for this signature in database
GPG Key ID: BBC65952848FB1A2

@ -7,10 +7,12 @@
</head> </head>
<body class="section"> <body class="section">
<div class="page-container"> <div class="page-container">
<h1 class="heading">Page not found.</h1> <div class="card">
<p class="content"> <h1 class="heading">Page not found.</h1>
{{ .contactMessage }} <p class="content">
</p> {{ .contactMessage }}
</p>
</div>
</div> </div>
</body> </body>
</html> </html>

@ -267,8 +267,8 @@
<div id="modal-send-pwr" class="modal"> <div id="modal-send-pwr" class="modal">
<div class="modal-content card ~neutral @low"> <div class="modal-content card ~neutral @low">
<span class="heading">{{ .strings.sendPWR }}</span> <span class="heading">{{ .strings.sendPWR }}</span>
<p class="content" id="send-pwr-note"></p> <p class="content my-2" id="send-pwr-note"></p>
<span class="button ~urge @low mt-8" id="send-pwr-link">{{ .strings.copy }}</span> <span class="button ~urge @low mt-2" id="send-pwr-link">{{ .strings.copy }}</span>
</div> </div>
</div> </div>
<div id="modal-ombi-profile" class="modal"> <div id="modal-ombi-profile" class="modal">

@ -3,14 +3,14 @@
<head> <head>
<link rel="stylesheet" type="text/css" href="css/bundle.css"> <link rel="stylesheet" type="text/css" href="css/bundle.css">
{{ template "header.html" . }} {{ template "header.html" . }}
<title>{{ .strings.successHeader }} - jfa-go</title> <title>{{ .strings.successHeader }} - jfa-go</title>
</head> </head>
<body class="section"> <body class="section">
<div class="page-container"> <div class="page-container">
<div class="card ~neutral @low mb-4"> <div class="card ~neutral @low mb-4">
<span class="heading mb-4">{{ .strings.successHeader }}</span> <span class="heading mb-4">{{ .strings.successHeader }}</span>
<p class="content mb-4">{{ .successMessage }}</p> <p class="content my-4">{{ .successMessage }}</p>
<a class="button ~urge @low full-width center supra submit" href="{{ .jfLink }}" id="create-success-button">{{ .strings.successContinueButton }}</a> <a class="button ~urge @high full-width center supra submit" href="{{ .jfLink }}" id="create-success-button">{{ .strings.continue }}</a>
</div> </div>
<i class="content">{{ .contactMessage }}</i> <i class="content">{{ .contactMessage }}</i>
</div> </div>

@ -7,11 +7,13 @@
</head> </head>
<body class="section"> <body class="section">
<div class="page-container"> <div class="page-container">
<h1 class="heading">Invalid invite code.</h1> <div class="card">
<p class="content">The code above was either incorrect, or has expired.</p> <h1 class="text-3xl font-semibold">Invalid invite code.</h1>
<p class="content"> <p class="content">The code above was either incorrect, or has expired.</p>
{{ .contactMessage }} <p class="content">
</p> {{ .contactMessage }}
</p>
</div>
</div> </div>
</body> </body>
</html> </html>

@ -35,7 +35,7 @@
<aside class="aside ~warning"> <aside class="aside ~warning">
{{ .strings.changeYourPassword }} {{ .strings.changeYourPassword }}
</aside> </aside>
<span class="button ~urge @low full-width center supra p-4 mt-4" id="pin" title="{{ .strings.copy }}">{{ .pin }}</span> <span class="button ~urge @low w-100 text-center text-xl p-1 mt-4" id="pin" title="{{ .strings.copy }}">{{ .pin }}</span>
{{ end }} {{ end }}
</div> </div>
<i class="content">{{ .contactMessage }}</i> <i class="content">{{ .contactMessage }}</i>

@ -1,13 +1,5 @@
{ {
"meta": { "meta": {
"name": "" "name": "English (GB)"
},
"strings": {
"passwordReset": "",
"resetFailed": "",
"tryAgain": "",
"youCanLogin": "",
"youCanLoginOmbi": "",
"changeYourPassword": ""
} }
} }

@ -1,6 +1,7 @@
import { Modal } from "./modules/modal.js"; import { Modal } from "./modules/modal.js";
import { initValidator } from "./modules/validator.js"; import { initValidator } from "./modules/validator.js";
import { _post, addLoader, removeLoader } from "./modules/common.js"; import { _post, addLoader, removeLoader } from "./modules/common.js";
import { loadLangSelector } from "./modules/lang.js";
interface formWindow extends Window { interface formWindow extends Window {
invalidPassword: string; invalidPassword: string;
@ -29,6 +30,8 @@ interface formWindow extends Window {
userExpiryMessage: string; userExpiryMessage: string;
} }
loadLangSelector("pwr");
declare var window: formWindow; declare var window: formWindow;
const form = document.getElementById("form-create") as HTMLFormElement; const form = document.getElementById("form-create") as HTMLFormElement;

Loading…
Cancel
Save