Font-Awesome und Startseite;
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
@{
|
||||
@using Microsoft.AspNetCore.Identity
|
||||
@inject SignInManager<IdentityUser> SignInManager
|
||||
@{
|
||||
ViewData["Title"] = "Home Page";
|
||||
}
|
||||
|
||||
<div class="text-center">
|
||||
<h1 class="display-4">Welcome</h1>
|
||||
<p>Learn about <a href="https://docs.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
|
||||
</div>
|
||||
@if (SignInManager.IsSignedIn(User))
|
||||
{
|
||||
<partial name="_homeLogInPartial" model="@Model" />
|
||||
}
|
||||
else
|
||||
{
|
||||
<partial name="_homeNoLogInPartial" />
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
@{
|
||||
ViewData["Title"] = "Privacy Policy";
|
||||
}
|
||||
<h1>@ViewData["Title"]</h1>
|
||||
|
||||
<p>Use this page to detail your site's privacy policy.</p>
|
||||
20
MultipleChoiceTrainer/Views/Home/_homeLogInPartial.cshtml
Normal file
20
MultipleChoiceTrainer/Views/Home/_homeLogInPartial.cshtml
Normal file
@@ -0,0 +1,20 @@
|
||||
@model IList<MultipleChoiceTrainer.Models.DataModels.Category>
|
||||
<p class="text-right"><i class="fal fa-plus"></i> Kategorie hinzufügen</p>
|
||||
<table class="table">
|
||||
@foreach (var category in Model)
|
||||
{
|
||||
<tr class="table-primary"><td title="@category.Description">category.Name</td></tr>
|
||||
@foreach (var sub in category.Sections)
|
||||
{
|
||||
<tr><td title="@sub.Description">@sub.Name</td></tr>
|
||||
}
|
||||
}
|
||||
<tr class="table-primary"><td>Hundetrainer</td></tr>
|
||||
<tr><td>Lektion 1 - Der Hund</td></tr>
|
||||
<tr><td>Lektion 2 - Der Schwanz</td></tr>
|
||||
<tr class="table-primary"><td>Touristikmanagement</td></tr>
|
||||
<tr><td>Lektion 1 - Urlaub</td></tr>
|
||||
<tr><td>Lektion 2 - Reisen mit dem kranken Hund</td></tr>
|
||||
<tr class="table-primary"><td>Ernährungsberatung</td></tr>
|
||||
<tr><td>Lektion 1 - Zu viel essen - ist das möglich?</td></tr>
|
||||
</table>
|
||||
@@ -0,0 +1,6 @@
|
||||
|
||||
|
||||
<div class="logo_container">
|
||||
<img src="~/rhetro.png" />
|
||||
<p><span class="bigonly"><span style="color: #990000;">Rhe</span>Tro </span>- Der <span style="color: #990000;">M</span>ultiple-<span style="color: #990000;">C</span>hoice <span style="color: #990000;">T</span>rainer</p>
|
||||
</div>
|
||||
Reference in New Issue
Block a user