commit
This commit is contained in:
parent
2a67fc2582
commit
f8f267a475
@ -29,7 +29,7 @@ namespace ZPDuszynska.Controllers
|
||||
Nekrolog1Model model = new Nekrolog1Model();
|
||||
model.Line1_1 = "Z głębokim żalem zawiadamiamy, że dnia ";
|
||||
model.Line1_2 = "1 stycznia ";
|
||||
model.Line1_3 = "2025 roku";
|
||||
model.Line1_3 = DateTime.Now.Year+" roku";
|
||||
|
||||
model.Line2_1 = "odszedł od nas na zawsze w wieku ";
|
||||
model.Line2_2 = "66 ";
|
||||
@ -52,7 +52,7 @@ namespace ZPDuszynska.Controllers
|
||||
|
||||
model.Line8_1 = "dnia ";
|
||||
model.Line8_2 = "8 marca ";
|
||||
model.Line8_3 = "2025r. (";
|
||||
model.Line8_3 = DateTime.Now.Year+"r. (";
|
||||
model.Line8_4 = "sobota";
|
||||
model.Line8_5 = ") o godz. ";
|
||||
model.Line8_6 = "14.00";
|
||||
@ -78,7 +78,7 @@ namespace ZPDuszynska.Controllers
|
||||
|
||||
model.Line3_1 = "żył lat ";
|
||||
model.Line3_2 = "99 ";
|
||||
model.Line3_3 = "zm. 01 I 2025";
|
||||
model.Line3_3 = "zm. 01 I "+DateTime.Now.Year;
|
||||
|
||||
model.Line4_1 = "Prosi o modlitwę";
|
||||
|
||||
|
||||
@ -2,7 +2,6 @@
|
||||
ViewData["Title"] = "Home Page";
|
||||
}
|
||||
|
||||
<div class="text-center">
|
||||
<div class="text-center bg-dark text-white min-vh-100 pt-5">
|
||||
<h1 class="display-4">Strona w trakcie budowy...</h1>
|
||||
@* <p>Learn about <a href="https://learn.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
|
||||
*@</div>
|
||||
</div>
|
||||
|
||||
@ -10,9 +10,12 @@
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white 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">
|
||||
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">ZP_Duszyńska</a>
|
||||
@* <a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">ZPDUSZYNSCY.PL</a> *@
|
||||
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">
|
||||
<img src="~/images/logo.png" asp-append-version="true" alt="ZPDUSZYNSCY.PL" class="logo-navbar" />
|
||||
</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target=".navbar-collapse" aria-controls="navbarSupportedContent"
|
||||
aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
@ -22,10 +25,10 @@
|
||||
@if (User.Identity.IsAuthenticated)
|
||||
{
|
||||
<li class="nav-item fw-bold">
|
||||
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Nekrologi">Nekrologi</a>
|
||||
<a class="nav-link text-white" asp-area="" asp-controller="Home" asp-action="Nekrologi">Nekrologi</a>
|
||||
</li>
|
||||
<li class="nav-item fw-bold">
|
||||
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Tabliczki">Tabliczki</a>
|
||||
<a class="nav-link text-white" asp-area="" asp-controller="Home" asp-action="Tabliczki">Tabliczki</a>
|
||||
</li>
|
||||
}
|
||||
@* <li class="nav-item">
|
||||
@ -38,7 +41,7 @@
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
<div class="container">
|
||||
<div class="container bg-dark ">
|
||||
<main role="main" class="pb-3">
|
||||
@RenderBody()
|
||||
</main>
|
||||
@ -46,7 +49,7 @@
|
||||
|
||||
<footer class="border-top footer text-muted text-center">
|
||||
<div class="container">
|
||||
© 2025 - ZP_Duszynska
|
||||
© @DateTime.Now.Year - ZPDUSZYNSCY.PL
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
@* <span class="nav-link text-dark" asp-area="Identity" title="Manage">Witaj @User.Identity?.Name!</span> *@
|
||||
<li class="nav-item">
|
||||
<form class="form-inline" asp-area="Identity" asp-page="/Account/Logout" asp-route-returnUrl="@Url.Action("Index", "Home", new { area = "" })">
|
||||
<button type="submit" class="nav-link btn btn-link text-dark">Wyloguj</button>
|
||||
<button type="submit" class="nav-link btn btn-link text-white">Wyloguj</button>
|
||||
</form>
|
||||
</li>
|
||||
}
|
||||
@ -18,7 +18,7 @@ else
|
||||
<a class="nav-link text-dark" asp-area="Identity" asp-page="/Account/Register">Register</a>
|
||||
</li>
|
||||
*@ <li class="nav-item">
|
||||
<a class="nav-link text-dark" asp-area="Identity" asp-page="/Account/Login">Logowanie</a>
|
||||
<a class="nav-link text-white" asp-area="Identity" asp-page="/Account/Login">Logowanie</a>
|
||||
</li>
|
||||
}
|
||||
</ul>
|
||||
|
||||
@ -46,4 +46,8 @@
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="wwwroot\images\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Binary file not shown.
@ -20,3 +20,8 @@ html {
|
||||
body {
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
|
||||
.logo-navbar {
|
||||
height: 60px;
|
||||
width: auto;
|
||||
}
|
||||
BIN
ZPDuszynska/wwwroot/images/logo.jpg
Normal file
BIN
ZPDuszynska/wwwroot/images/logo.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 216 KiB |
BIN
ZPDuszynska/wwwroot/images/logo.png
Normal file
BIN
ZPDuszynska/wwwroot/images/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 443 KiB |
Loading…
Reference in New Issue
Block a user