generated from egmont11/ASP.Net-Core-MVC-Template
Zakladní barvení.
This commit is contained in:
1 parent
2eb696e973
commit
77bba89f73
3 files changed
+31
-10
No files matched your search
@@ -15,17 +15,20 @@
|
||||
<p>pls zachraňte ten obsah někdo ;-;</p>
|
||||
<p>Jméno učitele pro kontrolu: @Model.TeacherName</p>
|
||||
|
||||
|
||||
@if (Model.IsAccepted is null)
|
||||
{
|
||||
<form asp-area="" asp-controller="Invites" asp-action="Accept">
|
||||
<input type="text" asp-for="Id" hidden value="@Model.Id"></input>
|
||||
<input type="submit" value="Přijmout pozvánku"></input>
|
||||
</form>
|
||||
|
||||
<form asp-area="" asp-controller="Invites" asp-action="Refuse">
|
||||
<input type="text" asp-for="Id" hidden value="@Model.Id"></input>
|
||||
<input type="submit" value="Odmítnout pozvánku"></input>
|
||||
</form>
|
||||
<div id="teacher-attendance-form">
|
||||
<form asp-area="" asp-controller="Invites" asp-action="Accept">
|
||||
<input type="text" asp-for="Id" hidden value="@Model.Id"></input>
|
||||
<input type="submit" value="Přijmout pozvánku"></input>
|
||||
</form>
|
||||
|
||||
<form asp-area="" asp-controller="Invites" asp-action="Refuse">
|
||||
<input type="text" asp-for="Id" hidden value="@Model.Id"></input>
|
||||
<input type="submit" value="Odmítnout pozvánku"></input>
|
||||
</form>
|
||||
</div>
|
||||
}
|
||||
else if (Model.IsAccepted == true)
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</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 border-bottom box-shadow mb-3">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">Stužkovák 4.EP</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target=".navbar-collapse" aria-controls="navbarSupportedContent"
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
:root {
|
||||
--border-gold: #ddbd5b;
|
||||
--background: #013817;
|
||||
--font-color: #e7e7e7;
|
||||
--title-color: #ddbd5b;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 14px;
|
||||
background: var(--background);
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
@@ -19,6 +27,8 @@ html {
|
||||
|
||||
body {
|
||||
margin-bottom: 60px;
|
||||
background: var(--background);
|
||||
color: var(--font-color);
|
||||
}
|
||||
|
||||
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
|
||||
@@ -28,4 +38,12 @@ body {
|
||||
|
||||
.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
|
||||
text-align: start;
|
||||
}
|
||||
|
||||
#teacher-attendance-form {
|
||||
border-color: var(--border-gold);
|
||||
border-style: solid;
|
||||
border-width: 2px;
|
||||
border-radius: 0.25rem;
|
||||
padding: 1em;
|
||||
}
|
||||
Reference in new issue
Block a user