prvi
This commit is contained in:
73
ZpcBulletinBoard/Pages/Shared/_Application.cshtml
Normal file
73
ZpcBulletinBoard/Pages/Shared/_Application.cshtml
Normal file
@@ -0,0 +1,73 @@
|
||||
@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>
|
||||
|
||||
<!-- 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-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">
|
||||
|
||||
<!-- 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="~/node_modules/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>
|
||||
|
||||
<!-- 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/Shared/_Layout.cshtml
Normal file
32
ZpcBulletinBoard/Pages/Shared/_Layout.cshtml
Normal file
@@ -0,0 +1,32 @@
|
||||
@{
|
||||
Layout = "Shared/_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/Shared/_Layout.cshtml.css
Normal file
48
ZpcBulletinBoard/Pages/Shared/_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;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
<script src="~/lib/jquery-validation/dist/jquery.validate.min.js"></script>
|
||||
<script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js"></script>
|
||||
Reference in New Issue
Block a user