App.razor changed (#15)

Navbar und Footer wird wieder angezeigt.
This commit is contained in:
zha19115 2023-05-09 16:48:03 +02:00 committed by GitHub
parent 7f45436118
commit e181c13ac2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 54 additions and 57 deletions

View File

@ -1,11 +1,11 @@
<Router AppAssembly="@typeof(App).Assembly">
<Found Context="routeData">
<RouteView RouteData="@routeData" DefaultLayout="@typeof(Startseite)" />
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
</Found>
<NotFound>
<PageTitle>Not found</PageTitle>
<LayoutView Layout="@typeof(Startseite)">
<LayoutView Layout="@typeof(MainLayout)">
<p role="alert">Sorry, there's nothing at this address.</p>
</LayoutView>
</NotFound>

View File

@ -2,57 +2,6 @@
<PageTitle>Allergene</PageTitle>
<style type="text/css">
.tg {
border-collapse: collapse;
border-spacing: 0;
margin-left: auto;
margin-right: auto;
}
.tg td {
border-color: black;
border-style: solid;
border-width: 1px;
font-family: Arial, sans-serif;
font-size: 18px;
overflow: hidden;
padding: 10px 5px;
word-break: normal;
}
.tg th {
border-color: black;
border-style: solid;
border-width: 1px;
font-family: Arial, sans-serif;
font-size: 18px;
font-weight: normal;
overflow: hidden;
padding: 10px 5px;
word-break: normal;
}
.tg .tg-c3ow {
border-color: inherit;
text-align: center;
vertical-align: center;
}
.tg .tg-0pky {
border-color: inherit;
text-align: center;
vertical-align: center;
}
.icon {
width: 100%;
max-width: 100px;
height: auto;
}
</style>
//TODO: Make css tag names more readable
<table class="tg">
<thead>
@ -137,4 +86,5 @@
<td class="tg-c3ow">R</td>
</tr>
</tbody>
</table>
</table>
<br><br><br><br>

49
Pages/Allergene.razor.css Normal file
View File

@ -0,0 +1,49 @@

.tg {
border-collapse: collapse;
border-spacing: 0;
margin-left: auto;
margin-right: auto;
}
.tg td {
border-color: black;
border-style: solid;
border-width: 1px;
font-family: Arial, sans-serif;
font-size: 18px;
overflow: hidden;
padding: 10px 5px;
word-break: normal;
}
.tg th {
border-color: black;
border-style: solid;
border-width: 1px;
font-family: Arial, sans-serif;
font-size: 18px;
font-weight: normal;
overflow: hidden;
padding: 10px 5px;
word-break: normal;
}
.tg .tg-c3ow {
border-color: inherit;
text-align: center;
vertical-align: center;
}
.tg .tg-0pky {
border-color: inherit;
text-align: center;
vertical-align: center;
}
.icon {
width: 100%;
max-width: 100px;
height: auto;
}

View File

@ -1,4 +1,5 @@
 @page "/"
@layout Startseite
<PageTitle>Yummy4Friends</PageTitle>

View File

@ -1,5 +1,4 @@
@page "/Bestellabschluss"
@layout MainLayout
<body>
<div class="container col-lg-5 col-md-9 col-sm-12 d-flex flex-column " id="content">

View File

@ -1,5 +1,4 @@
@page "/Kontoverwaltung"
@layout MainLayout
<h3>Wichtige Informationen</h3> <br>
@ -8,7 +7,6 @@
<div class="container mt-auto">
<h4>AccountID: #1234</h4>
<h4>Ihr QR-Code: </h4>
<h5>7392759231</h5>
<img src="assets/K-QR.png" class="img" title="logo image">
<p>Ihr Konto wird 30 Tage nach der Deaktivierung unwiderruflich gelöscht.</p>