Finish FrontClient
This commit is contained in:
parent
a222f3c22e
commit
e1b25ef83b
@ -101,6 +101,13 @@ namespace BankYouBankruptClientApp.Controllers
|
|||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[HttpPost]
|
||||||
|
public IActionResult Logout() {
|
||||||
|
APIClient.Client = null;
|
||||||
|
return Redirect("~/Home/Enter");
|
||||||
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Карты
|
#region Карты
|
||||||
|
@ -23,8 +23,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-8"></div>
|
<div class="col">
|
||||||
<div class="col-4">
|
|
||||||
<input id="createReport" type="submit" value="Сформировать отчёт" class="btn btn-warning" />
|
<input id="createReport" type="submit" value="Сформировать отчёт" class="btn btn-warning" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -13,13 +13,12 @@
|
|||||||
<form method="post">
|
<form method="post">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="row">Номер счета:</div>
|
<div class="row">Номер счета:</div>
|
||||||
<div class="col-8">
|
<div class="col">
|
||||||
<select id="cardId" name="cardId" class="form-control" asp-items="@(new SelectList( @ViewBag.Cards, "Id", "Number"))"></select>
|
<select id="cardId" name="cardId" class="form-control" asp-items="@(new SelectList( @ViewBag.Cards, "Id", "Number"))"></select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-8"></div>
|
<div class="col">
|
||||||
<div class="col-4">
|
|
||||||
<input type="submit" value="Выбрать" class="btn btn-warning"/>
|
<input type="submit" value="Выбрать" class="btn btn-warning"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -50,9 +50,10 @@
|
|||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
<div class="col-md-3 text-end">
|
<form method="post" class="col-md-3 text-end">
|
||||||
<a class="btn btn-warning me-2" asp-controller="Home" asp-action="Enter">@APIClient.Client.Name @APIClient.Client.Surname</a>
|
<label for="exit" class="text-light">@APIClient.Client.Name @APIClient.Client.Surname </label>
|
||||||
</div>
|
<button class="btn btn-warning me-2" id="exit" name="exit" type="submit" asp-controller="Home" asp-action="Logout">Выход</button>
|
||||||
|
</form>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</header>
|
</header>
|
||||||
|
@ -4,7 +4,7 @@ html {
|
|||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
html {
|
html {
|
||||||
font-size: 20px;
|
font-size: 19px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user