This commit is contained in:
2021-06-08 12:26:39 +01:00
parent c21aa5c791
commit c06177732d
57 changed files with 2705 additions and 199 deletions
@@ -44,7 +44,7 @@ namespace Saxonite.Net.Core.Web.Admin.Models
public String UserFirstName { get; set; }
public String UserLastName { get; set; }
public String UserRoleCodeDelim = ",";
public List<String> UserRoleCodes { get; set; }
public new List<String> UserRoleCodes { get; set; }
public List<String> GetUserRoleCodes()
{
List<String> codes = new List<string>();
@@ -55,7 +55,7 @@
@* Scripts *@
<script>
var sax = sax || { page: {}, url: {}, links: {}, form: {}, data: {}, msg: {}, lbl: {}, dlg: { title: {}, btn: {} }, $frm: {}, $dlg: {} };
var sax = sax || { page: {}, url: {}, links: {}, form: {}, data: {}, ajax: {}, msg: {}, lbl: {}, dlg: { title: {}, btn: {} }, $frm: {}, $dlg: {}, $pnl: {} };
sax.url.base = '@Model.RedirectLocation.Base';
sax.url.home = '@Model.RedirectLocation.Home';
sax.url.sessionExpired = '@Model.RedirectLocation.Home_SessionExpired';
@@ -90,7 +90,7 @@
<body>
@* Header *@
<header>
<header id="sax-page-header">
@* Navigation bar *@
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
@@ -172,14 +172,14 @@
</header>
@* Page body *@
<div class="container">
<div id="sax-page-body" class="container">
<main role="main" class="pb-3">
@RenderBody()
</main>
</div>
@* Footer *@
<footer class="border-top footer text-muted">
<footer id="sax-page-footer" class="border-top footer text-muted">
<div class="container">
@(Model.CopyrightNotice) - @Localiser["company.name"] @(Model.InstanceVersion) - <a asp-area="" asp-controller="Home" asp-action="">Home</a>
</div>
@@ -26,7 +26,7 @@
min-height: 24px;
color: #f0f0f0;
background-color: #979797;
border-bottom: solid 2px #979797;
border-bottom: solid 1px #979797;
}
.sax-panel-filter .sax-header .sax-caption
@@ -113,7 +113,7 @@
padding: 2px 8px;
min-height: 24px;
background-color: #e0e0e0;
border-bottom: solid 2px #979797;
border-bottom: solid 1px #979797;
}
.sax-panel-item > .sax-header .sax-caption
@@ -65,6 +65,11 @@
overflow-y: auto;
}
.sax-panel-info > .sax-content
{
padding: 8px 12px;
}
.sax-panel-section.sax-edit .sax-panel-info,
.sax-panel-section.sax-populating .sax-button-action.edit,
.sax-panel-section .sax-panel-form
@@ -6,6 +6,7 @@
:root
{
/* Colour analysis: https://www.colorhexa.com/ */
/* #4b0082 - Indigo. Ref. https://www.crispedge.com/color/4b0082 */
--color-primary: #4b0082;
--color-light: #9b71b9;