This commit is contained in:
realaravinth
2021-05-09 18:59:23 +05:30
parent 686774a182
commit 7792d5ccc7
14 changed files with 55 additions and 23 deletions

View File

@@ -1,5 +1,6 @@
<. include!("../components/headers.html"); .>
<. include!("./navbar/index.html"); .>
<div class="tmp-layout">
<. include!("./header/index.html"); .>
<main class="panel-main">
<. include!("./help-banner/index.html"); .>

View File

@@ -1,5 +1,5 @@
<nav class="secondary-menu">
<ul>
<ul class="secondary-menu__lsit">
<li class="secondary-menu__heading">
<img class="secondary-menu__logo" src="<.= crate::FILES.get("./static-assets/img/icon-trans.png").unwrap() .>" alt="Logo" />
<div class="secondary-menu__brand-name">

View File

@@ -33,6 +33,12 @@
color: $light-text;
}
.secondary-menu__lsit{
position: fixed;
top: 0;
bottom: 0;
}
.secondary-menu__heading {
margin: auto;
padding: 20px 5px;

View File

@@ -1,5 +1,6 @@
<. include!("../../../components/headers.html"); .>
<. include!("../../navbar/index.html"); .>
<div class="tmp-layout">
<. include!("../../header/index.html"); .>
<main class="panel-main">

View File

@@ -54,7 +54,7 @@ const submit = async (e: Event) => {
const res = await fetch(formUrl, genJsonPayload(payload));
if (res.ok) {
alert('success');
window.location.assign(VIEWS.sitekey);
window.location.assign(VIEWS.listSitekey);
} else {
const err = await res.json();
alert(`error: ${err.error}`);

View File

@@ -1,5 +1,6 @@
<. include!("../../../components/headers.html"); .>
<. include!("../../navbar/index.html"); .>
<div class="tmp-layout">
<. include!("../../header/index.html"); .>
<main class="panel-main">
<.include!("../../help-banner/index.html"); .>