Adding custom favicon, and titles to alle pages

This commit is contained in:
Benjamin
2024-11-20 11:17:20 +01:00
parent 8c0136b09a
commit bf6377168a
15 changed files with 23 additions and 17 deletions

View File

@@ -1,6 +1,7 @@
@model pointMaster.Controllers.GivPointViewModel;
@{
Layout = "_Point";
ViewData["Title"] = "Giv Point";
}
<div class="Frame">

View File

@@ -1,8 +1,6 @@
@model pointMaster.Controllers.PointViewModel;
@*
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
ViewData["Title"] = "Point";
}
<a asp-action="GivPoint" asp-controller="Point" class="btn btn-primary">Giv point</a>
<table class="table table-striped">

View File

@@ -1,8 +1,6 @@
@model pointMaster.Controllers.SelectPostViewModel
@*
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
ViewData["Title"] = "Vælg post";
}
<h1>Vælg post</h1>
@foreach(var item in Model.Poster)

View File

@@ -1,4 +1,7 @@
@model pointMaster.Controllers.SkiftPatruljeViewModel;
@{
ViewData["Title"] = "Vælg patrulje";
}
@if (Model.post != null)
{
<h3>Du giver point som: @Model.post.Name</h3>