commit
This commit is contained in:
parent
f8f267a475
commit
a4c6130659
@ -23,7 +23,22 @@ namespace ZPDuszynska.Controllers
|
|||||||
return View();
|
return View();
|
||||||
}
|
}
|
||||||
|
|
||||||
[Authorize]
|
public IActionResult Aktualnosci()
|
||||||
|
{
|
||||||
|
return View();
|
||||||
|
}
|
||||||
|
|
||||||
|
public IActionResult Galeria()
|
||||||
|
{
|
||||||
|
return View();
|
||||||
|
}
|
||||||
|
|
||||||
|
public IActionResult Kontakt()
|
||||||
|
{
|
||||||
|
return View();
|
||||||
|
}
|
||||||
|
|
||||||
|
[Authorize]
|
||||||
public IActionResult Nekrologi()
|
public IActionResult Nekrologi()
|
||||||
{
|
{
|
||||||
Nekrolog1Model model = new Nekrolog1Model();
|
Nekrolog1Model model = new Nekrolog1Model();
|
||||||
|
|||||||
5
ZPDuszynska/Views/Home/Aktualnosci.cshtml
Normal file
5
ZPDuszynska/Views/Home/Aktualnosci.cshtml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
@*
|
||||||
|
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
|
||||||
|
*@
|
||||||
|
@{
|
||||||
|
}
|
||||||
5
ZPDuszynska/Views/Home/Galeria.cshtml
Normal file
5
ZPDuszynska/Views/Home/Galeria.cshtml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
@*
|
||||||
|
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
|
||||||
|
*@
|
||||||
|
@{
|
||||||
|
}
|
||||||
5
ZPDuszynska/Views/Home/Kontakt.cshtml
Normal file
5
ZPDuszynska/Views/Home/Kontakt.cshtml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
@*
|
||||||
|
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
|
||||||
|
*@
|
||||||
|
@{
|
||||||
|
}
|
||||||
@ -8,7 +8,7 @@
|
|||||||
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
|
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
|
||||||
<link rel="stylesheet" href="~/ZPDuszynska.styles.css" asp-append-version="true" />
|
<link rel="stylesheet" href="~/ZPDuszynska.styles.css" asp-append-version="true" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body class="d-flex flex-column min-vh-100">
|
||||||
<header>
|
<header>
|
||||||
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-dark bg-dark border-bottom box-shadow mb-3">
|
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-dark bg-dark border-bottom box-shadow mb-3">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
@ -22,13 +22,38 @@
|
|||||||
</button>
|
</button>
|
||||||
<div class="navbar-collapse collapse d-sm-inline-flex justify-content-between">
|
<div class="navbar-collapse collapse d-sm-inline-flex justify-content-between">
|
||||||
<ul class="navbar-nav flex-grow-1">
|
<ul class="navbar-nav flex-grow-1">
|
||||||
|
<li class="nav-item fw-bold">
|
||||||
|
<a class="nav-link text-white" asp-area="" asp-controller="Home" asp-action="Aktualnosci">Aktualności</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item fw-bold">
|
||||||
|
<a class="nav-link text-white" asp-area="" asp-controller="Home" asp-action="Galeria">Galeria</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item fw-bold">
|
||||||
|
<a class="nav-link text-white" asp-area="" asp-controller="Home" asp-action="Kontakt">Kontakt</a>
|
||||||
|
</li>
|
||||||
@if (User.Identity.IsAuthenticated)
|
@if (User.Identity.IsAuthenticated)
|
||||||
{
|
{
|
||||||
<li class="nav-item fw-bold">
|
<li class="nav-item dropdown fw-bold">
|
||||||
<a class="nav-link text-white" asp-area="" asp-controller="Home" asp-action="Nekrologi">Nekrologi</a>
|
<a class="nav-link dropdown-toggle text-white"
|
||||||
</li>
|
href="#"
|
||||||
<li class="nav-item fw-bold">
|
id="adminDropdown"
|
||||||
<a class="nav-link text-white" asp-area="" asp-controller="Home" asp-action="Tabliczki">Tabliczki</a>
|
role="button"
|
||||||
|
data-bs-toggle="dropdown"
|
||||||
|
aria-expanded="false">
|
||||||
|
Admin
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu" aria-labelledby="adminDropdown">
|
||||||
|
<li>
|
||||||
|
<a class="dropdown-item" asp-area="" asp-controller="Home" asp-action="Nekrologi">
|
||||||
|
Nekrologi
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="dropdown-item" asp-area="" asp-controller="Home" asp-action="Tabliczki">
|
||||||
|
Tabliczki
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
}
|
}
|
||||||
@* <li class="nav-item">
|
@* <li class="nav-item">
|
||||||
@ -41,13 +66,14 @@
|
|||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
<div class="container bg-dark ">
|
|
||||||
<main role="main" class="pb-3">
|
<div class="container bg-dark flex-grow-1 d-flex flex-column">
|
||||||
|
<main role="main" class="pb-3 flex-grow-1">
|
||||||
@RenderBody()
|
@RenderBody()
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer class="border-top footer text-muted text-center">
|
<footer class="border-top footer text-center text-white">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
© @DateTime.Now.Year - ZPDUSZYNSCY.PL
|
© @DateTime.Now.Year - ZPDUSZYNSCY.PL
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
BIN
ZPDuszynska/identity.db-shm
Normal file
BIN
ZPDuszynska/identity.db-shm
Normal file
Binary file not shown.
0
ZPDuszynska/identity.db-wal
Normal file
0
ZPDuszynska/identity.db-wal
Normal file
@ -1,5 +1,5 @@
|
|||||||
html {
|
html {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
@ -18,10 +18,30 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin-bottom: 60px;
|
margin-bottom: 60px;
|
||||||
|
background-color: #9f7408; /* kolor t³a ca³ej strony */
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo-navbar {
|
.logo-navbar {
|
||||||
height: 60px;
|
height: 60px;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-nav .nav-item {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-nav .nav-item:not(:last-child)::after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 25%;
|
||||||
|
height: 50%;
|
||||||
|
width: 1px;
|
||||||
|
background-color: rgba(255, 255, 255, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-nav .nav-link {
|
||||||
|
padding-right: 1rem;
|
||||||
|
padding-left: 1rem;
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user