_{MsgLogin}
-
- _{MsgDoNotHaveAnAccount}
-
-
-
- _{MsgCreateNewAccount}
+
+ _{MsgDoNotHaveAnAccount}
+
+
+
+ _{MsgCreateNewAccount}
-
+
@@ -76,7 +55,8 @@
:not (admin || analyst):.mdc-list-item--with-two-lines>
-
#{uname}
@@ -118,25 +98,3 @@
_{MsgSelect}
-
-
-$forall (_,msg) <- filter (((/=) anError) . fst) msgs
-
-
- #{msg}
-
-
-
-
- close
-
-
-
- *
- _{MsgDemoSampleOne}
-
-
-
- demography
- _{MsgDemoSampleTwo}
diff --git a/templates/auth/form.julius b/templates/auth/form.julius
index 125c0d2..936f54d 100644
--- a/templates/auth/form.julius
+++ b/templates/auth/form.julius
@@ -1,14 +1,6 @@
window.mdc.autoInit();
-Array.from(
- document.querySelectorAll('div.mdc-banner')
-).forEach(function (x) { x.MDCBanner.open(); });
-
-Array.from(
- document.querySelectorAll('aside.mdc-snackbar')
-).map(x => x.MDCSnackbar).forEach(function (x) { x.open(); });
-
document.getElementById('btnFillCreds').addEventListener('click',function (e) {
document.getElementById(#{loginForm}).querySelectorAll('.mdc-text-field').forEach(function (x) {
x.querySelector('input').value = document.forms.formUserOptions.uname.value;
diff --git a/templates/auth/layout.cassius b/templates/auth/layout.cassius
new file mode 100644
index 0000000..e2cf216
--- /dev/null
+++ b/templates/auth/layout.cassius
@@ -0,0 +1,16 @@
+
+main
+ display: flex
+ flex-direction: column
+ align-items: center
+ gap: 1rem
+
+footer.demo
+ width: 100%
+ position: absolute
+ bottom: 0
+ text-align: center
+ small.hint
+ line-height: 1
+ font-style: italic
+ color: var(--theme-text-small-hint-on-light)
\ No newline at end of file
diff --git a/templates/auth/layout.hamlet b/templates/auth/layout.hamlet
new file mode 100644
index 0000000..ea6806c
--- /dev/null
+++ b/templates/auth/layout.hamlet
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+ arrow_back
+ _{MsgAuthentication}
+
+
+ $forall (_,msg) <- filter (((==) anError) . fst) msgs
+
+
+
+
+ warning
+ #{msg}
+
+
+
+ close
+
+ ^{w}
+
+
+
+
+ *
+ _{MsgDemoSampleOne}
+
+ demography
+ _{MsgDemoSampleTwo}
+
+
+$forall (_,msg) <- filter (((/=) anError) . fst) msgs
+
+
+ #{msg}
+
+
+
+
+ close
diff --git a/templates/auth/layout.julius b/templates/auth/layout.julius
new file mode 100644
index 0000000..78dbe42
--- /dev/null
+++ b/templates/auth/layout.julius
@@ -0,0 +1,10 @@
+
+window.mdc.autoInit();
+
+Array.from(
+ document.querySelectorAll('div.mdc-banner')
+).forEach(function (x) { x.MDCBanner.open(); });
+
+Array.from(
+ document.querySelectorAll('aside.mdc-snackbar')
+).map(x => x.MDCSnackbar).forEach(function (x) { x.open(); });
diff --git a/templates/book/customer/banner.hamlet b/templates/book/customer/banner.hamlet
index 81c5b97..f1a33a7 100644
--- a/templates/book/customer/banner.hamlet
+++ b/templates/book/customer/banner.hamlet
@@ -44,7 +44,7 @@
close
$of _
- $maybe Entity _ (User name _ _ _ _ _ fname email) <- user
+ $maybe Entity _ (User name _ _ _ _ _ _ fname email) <- user
- $maybe Entity uid (User uname _ _ _ _ _ fname email) <- user
+ $maybe Entity uid (User uname _ _ _ _ _ _ fname email) <- user
diff --git a/templates/book/payment/form.hamlet b/templates/book/payment/form.hamlet
index c700796..3a20ee4 100644
--- a/templates/book/payment/form.hamlet
+++ b/templates/book/payment/form.hamlet
@@ -3,7 +3,7 @@
^{fvInput pmV}
-$maybe Entity uid (User uname _ _ _ _ _ fname email) <- user
+$maybe Entity uid (User uname _ _ _ _ _ _ fname email) <- user
+
+
+
+
$maybe Entity rid (Brand bid _ _ _ _ _ _ ico mime _) <- brand
$maybe _ <- ico
$maybe mime <- mime
diff --git a/templates/profile/profile.hamlet b/templates/profile/profile.hamlet
index dfa2674..eab2b4e 100644
--- a/templates/profile/profile.hamlet
+++ b/templates/profile/profile.hamlet
@@ -53,7 +53,7 @@
close
- $maybe Entity uid (User uname _ _ _ _ _ fname email) <- user
+ $maybe Entity uid (User uname _ _ _ _ _ _ fname email) <- user