dev3
This commit is contained in:
@@ -4,12 +4,9 @@
|
||||
|
||||
<div class="app-brand demo">
|
||||
<span class="app-brand-logo demo bg-secondary">
|
||||
<i class="fas fa-draw-circle text-white"></i>
|
||||
<i class="fas fa-thumbtack text-white"></i>
|
||||
</span>
|
||||
<a href="/" class="app-brand-text demo sidenav-text font-weight-normal ml-2">Bulletin board</a>
|
||||
<a href="javascript:void(0)" class="layout-sidenav-toggle sidenav-link text-large ml-auto">
|
||||
<i class="ion ion-md-menu align-middle"></i>
|
||||
</a>
|
||||
<a href="/" class="app-brand-text demo sidenav-text font-weight-normal ml-2">ZPC Bulletin board</a>
|
||||
</div>
|
||||
|
||||
<div class="sidenav-divider mt-0"></div>
|
||||
@@ -24,5 +21,14 @@
|
||||
<li class="sidenav-item@(currentPage.StartsWith("/BoardsLinks/") ? " active" : "")">
|
||||
<a asp-page="/BoardsLinks/Index" class="sidenav-link"><i class="sidenav-icon fas fa-link"></i><div>Povezave</div></a>
|
||||
</li>
|
||||
@if (User.IsInRole("Administrator") || User.IsInRole("TransportThingUser"))
|
||||
{
|
||||
<li class="sidenav-divider mb-1"></li>
|
||||
<li class="sidenav-header small font-weight-semibold">ADMINISTRACIJA</li>
|
||||
|
||||
<li class="sidenav-item@(currentPage.StartsWith("/TransportLoadingOrder/") ? " active" : "")">
|
||||
<a asp-page="/TransportLoadingOrder/Index" class="sidenav-link"><i class="sidenav-icon far fa-u"></i><div>Uporabniki</div></a>
|
||||
</li>
|
||||
}
|
||||
</ul>
|
||||
</div>
|
||||
79
ZpcBulletinBoard/Pages/Layouts/_Application.cshtml
Normal file
79
ZpcBulletinBoard/Pages/Layouts/_Application.cshtml
Normal file
@@ -0,0 +1,79 @@
|
||||
@using Microsoft.AspNetCore.Http
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="default-style">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="x-ua-compatible" content="IE=edge,chrome=1" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" />
|
||||
|
||||
<title>ZPC BB - @ViewData["Title"]</title>
|
||||
<link rel="icon" type="image/x-icon" href="/pin.ico">
|
||||
|
||||
<!-- Fonts -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500,500i,700,700i,900" rel="stylesheet" crossorigin="anonymous" />
|
||||
|
||||
<!-- jQuery -->
|
||||
<script src="~/lib/jquery/dist/jquery.min.js" asp-append-version="true"></script>
|
||||
<script src="~/lib/jquery-ui/dist/jquery-ui.min.js" asp-append-version="true"></script>
|
||||
<link href="~/lib/jquery-ui/dist/themes/base/jquery-ui.css" asp-append-version="true"></link>
|
||||
@* <script src="~/lib/jquery-ajax-unobtrusive/dist/jquery.unobtrusive-ajax.min.js"></script> *@
|
||||
|
||||
<!-- Icons -->
|
||||
<link rel="stylesheet" href="~/vendor/fonts/fontawesome.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/vendor/fonts/ionicons.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/vendor/fonts/linearicons.css" asp-append-version="true" />
|
||||
|
||||
<!-- Base -->
|
||||
<link rel="stylesheet" href="~/vendor/css/bootstrap.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/vendor/css/appwork.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/vendor/css/theme-corporate.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/vendor/css/colors.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/vendor/css/uikit.css" asp-append-version="true" />
|
||||
|
||||
<!-- Layout helpers -->
|
||||
<script src="~/vendor/js/layout-helpers.js" asp-append-version="true"></script>
|
||||
|
||||
<!-- Libs -->
|
||||
<link rel="stylesheet" href="~/lib/perfect-scrollbar/css/perfect-scrollbar.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/lib/bootstrap-select/dist/css/bootstrap-select.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/lib/bootstrap-material-datetimepicker/css/bootstrap-material-datetimepicker.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/lib/spinkit/spinkit.css" asp-append-version="true">
|
||||
@* <link rel="stylesheet" href="~/node_modules/dist/ladda/ladda.css" asp-append-version="true"> *@
|
||||
<link rel="stylesheet" href="~/lib/sweetalert2/dist/sweetalert2.css" asp-append-version="true">
|
||||
<link rel="stylesheet" href="~/lib/jquery-contextmenu/jquery.contextMenu.min.css" asp-append-version="true">
|
||||
|
||||
<!-- Custom -->
|
||||
<link rel="stylesheet" href="~/css/demo.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
|
||||
|
||||
@await RenderSectionAsync("Styles", required: false)
|
||||
</head>
|
||||
<body>
|
||||
@RenderBody()
|
||||
|
||||
@await Html.PartialAsync("Shared/_ValidationScriptsPartial")
|
||||
|
||||
<!-- Libs -->
|
||||
<script src="~/lib/popper/popper.js" asp-append-version="true"></script>
|
||||
<script src="~/lib/perfect-scrollbar/dist/perfect-scrollbar.js" asp-append-version="true"></script>
|
||||
<script src="~/lib/bootstrap-select/dist/js/bootstrap-select.js" asp-append-version="true"></script>
|
||||
<script src="~/lib/moment/min/moment.min.js" asp-append-version="true"></script>
|
||||
<script src="~/lib/bootstrap-material-datetimepicker/js/bootstrap-material-datetimepicker.js" asp-append-version="true"></script>
|
||||
<script src="~/vendor/js/bootstrap.js" asp-append-version="true"></script>
|
||||
<script src="~/vendor/js/sidenav.js" asp-append-version="true"></script>
|
||||
<script src="~/lib/block-ui/jquery.blockUI.js"></script>
|
||||
<script src="~/lib/spin/dist/spin.js" asp-append-version="true"></script>
|
||||
@* <script src="~/node_modules/ladda/ladda.js" asp-append-version="true"></script> *@
|
||||
<script src="~/lib/sweetalert2/dist/sweetalert2.js"></script>
|
||||
<script src="~/lib/jquery-contextmenu/jquery.contextMenu.min.js"></script>
|
||||
<script src="~/lib/jquery-contextmenu/jquery.ui.position.min.js"></script>
|
||||
|
||||
<!-- Custom -->
|
||||
@* <script src="~/lib/jquery/dist/jquery.min.js"></script> *@
|
||||
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="~/js/site.js" asp-append-version="true"></script>
|
||||
|
||||
@await RenderSectionAsync("Scripts", required: false)
|
||||
</body>
|
||||
</html>
|
||||
32
ZpcBulletinBoard/Pages/Layouts/_Layout.cshtml
Normal file
32
ZpcBulletinBoard/Pages/Layouts/_Layout.cshtml
Normal file
@@ -0,0 +1,32 @@
|
||||
@{
|
||||
Layout = "Layouts/_Application";
|
||||
}
|
||||
|
||||
@section Styles {
|
||||
@await RenderSectionAsync("Styles", required: false)
|
||||
}
|
||||
|
||||
<div class="layout-wrapper layout-2">
|
||||
<div class="layout-inner">
|
||||
|
||||
@await Html.PartialAsync("Layouts/Partials/_LayoutSidenav")
|
||||
|
||||
<div class="layout-container">
|
||||
@await Html.PartialAsync("Layouts/Partials/_LayoutNavbar")
|
||||
|
||||
<div class="layout-content">
|
||||
|
||||
<div class="container-fluid flex-grow-1 container-p-y">
|
||||
@RenderBody()
|
||||
</div>
|
||||
|
||||
@await Html.PartialAsync("Layouts/Partials/_LayoutFooter")
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="layout-overlay layout-sidenav-toggle"></div>
|
||||
</div>
|
||||
|
||||
@section Scripts {
|
||||
@await RenderSectionAsync("Scripts", required: false)
|
||||
}
|
||||
48
ZpcBulletinBoard/Pages/Layouts/_Layout.cshtml.css
Normal file
48
ZpcBulletinBoard/Pages/Layouts/_Layout.cshtml.css
Normal file
@@ -0,0 +1,48 @@
|
||||
/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
|
||||
for details on configuring this project to bundle and minify static web assets. */
|
||||
|
||||
a.navbar-brand {
|
||||
white-space: normal;
|
||||
text-align: center;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #0077cc;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
color: #fff;
|
||||
background-color: #1b6ec2;
|
||||
border-color: #1861ac;
|
||||
}
|
||||
|
||||
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
|
||||
color: #fff;
|
||||
background-color: #1b6ec2;
|
||||
border-color: #1861ac;
|
||||
}
|
||||
|
||||
.border-top {
|
||||
border-top: 1px solid #e5e5e5;
|
||||
}
|
||||
.border-bottom {
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
}
|
||||
|
||||
.box-shadow {
|
||||
box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
|
||||
}
|
||||
|
||||
button.accept-policy {
|
||||
font-size: 1rem;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
.footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
line-height: 60px;
|
||||
}
|
||||
13
ZpcBulletinBoard/Pages/Layouts/_LayoutBlank.cshtml
Normal file
13
ZpcBulletinBoard/Pages/Layouts/_LayoutBlank.cshtml
Normal file
@@ -0,0 +1,13 @@
|
||||
@{
|
||||
Layout = "Layouts/_Application";
|
||||
}
|
||||
|
||||
@section Styles {
|
||||
@await RenderSectionAsync("Styles", required: false)
|
||||
}
|
||||
|
||||
@RenderBody()
|
||||
|
||||
@section Scripts {
|
||||
@await RenderSectionAsync("Scripts", required: false)
|
||||
}
|
||||
48
ZpcBulletinBoard/Pages/Layouts/_LayoutBlank.cshtml.css
Normal file
48
ZpcBulletinBoard/Pages/Layouts/_LayoutBlank.cshtml.css
Normal file
@@ -0,0 +1,48 @@
|
||||
/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
|
||||
for details on configuring this project to bundle and minify static web assets. */
|
||||
|
||||
a.navbar-brand {
|
||||
white-space: normal;
|
||||
text-align: center;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #0077cc;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
color: #fff;
|
||||
background-color: #1b6ec2;
|
||||
border-color: #1861ac;
|
||||
}
|
||||
|
||||
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
|
||||
color: #fff;
|
||||
background-color: #1b6ec2;
|
||||
border-color: #1861ac;
|
||||
}
|
||||
|
||||
.border-top {
|
||||
border-top: 1px solid #e5e5e5;
|
||||
}
|
||||
.border-bottom {
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
}
|
||||
|
||||
.box-shadow {
|
||||
box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
|
||||
}
|
||||
|
||||
button.accept-policy {
|
||||
font-size: 1rem;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
.footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
line-height: 60px;
|
||||
}
|
||||
Reference in New Issue
Block a user