Front recolor

This commit is contained in:
shadowik 2023-05-19 23:31:02 +04:00
parent b525d939c8
commit c59af0f780
18 changed files with 96 additions and 148 deletions

View File

@ -116,7 +116,7 @@ namespace BankYouBankruptCashierApp.Controllers
public IActionResult Logout()
{
APICashier.Cashier = null;
return Redirect("~/Home/Enter");
return Redirect("Enter");
}
#endregion

View File

@ -6,7 +6,7 @@
<h2 class="display-4">Зачисление</h2>
</div>
<form method="post">
<div class="row">
<div class="row mb-2">
<div class="col-4">Номер запроса на зачисление:</div>
<div class="col-8">
<select id="creditigId" name="creditingId" class="form-control" asp-items="@(new SelectList( @ViewBag.Creditings, "Id", "Id"))">
@ -14,13 +14,13 @@
</select>
</div>
</div>
<div class="row">
<div class="row mb-2">
<div class="col-4">Запрашиваемый счёт для зачисления:</div>
<div class="col-8">
<input type="text" id="accountNumber" name="accountNumber" readonly />
<input type="text" id="accountNumber" class="form-control" name="accountNumber" readonly />
</div>
</div>
<div class="row">
<div class="row mb-2">
<div class="col-4">Номер счёта для зачисления:</div>
<div class="col-8">
<select id="accountPayeeId" name="accountPayeeId" class="form-control" asp-items="@(new SelectList( @ViewBag.Accounts, "Id", "AccountNumber"))">
@ -28,8 +28,8 @@
</select>
</div>
</div>
<div class="row">
<input type="submit" style="width: 100%" value="Начислить" class="btn btn-warning" />
<div class="row mb-2">
<input type="submit" style="width: 100%" value="Начислить" class="btn btn-dark" />
</div>
</form>

View File

@ -6,7 +6,7 @@
<h2 class="display-4">Снятие</h2>
</div>
<form method="post">
<div class="row">
<div class="row mb-4">
<div class="col-4">Номер запроса на снятие:</div>
<div class="col-8">
<select id="debitingId" name="debitingId" class="form-control" asp-items="@(new SelectList( @ViewBag.Debitings, "Id", "Id"))">
@ -14,13 +14,13 @@
</select>
</div>
</div>
<div class="row">
<div class="row mb-4">
<div class="col-4">Запрашиваемый счёт для перевода:</div>
<div class="col-8">
<input type="text" id="accountNumber" name="accountNumber" readonly />
<input type="text" class="form-control" id="accountNumber" name="accountNumber" readonly />
</div>
</div>
<div class="row">
<div class="row mb-4">
<div class="col-4">Номер счёта для снятия:</div>
<div class="col-8">
<select id="accountId" name="accountId" class="form-control" asp-items="@(new SelectList( @ViewBag.Accounts, "Id", "AccountNumber"))">
@ -28,8 +28,8 @@
</select>
</div>
</div>
<div class="row">
<input type="submit" style="width: 100%" value="Снять" class="btn btn-warning" />
<div class="row mb-4">
<input type="submit" style="width: 100%" value="Снять" class="btn btn-dark" />
</div>
</form>

View File

@ -6,34 +6,34 @@
<h2 class="display-4">Открытие счёта</h2>
</div>
<form method="post">
<div class="row">
<div class="row mb-2">
<div class="col-4">Клиент:</div>
<div class="col-8">
<select id="client" name="clientId" class="form-control" asp-items="@(new SelectList( @ViewBag.Clients, "Id", "FullName"))"></select>
</div>
</div>
<div class="row">
<div class="row mb-2">
<div class="col-4">Номер счёта:</div>
<div class="col-8">
<input type="text" id="accountNumber" name="accountNumber" />
<input type="text" id="accountNumber" class="form-control" name="accountNumber" />
</div>
</div>
<div class="row">
<div class="row mb-2">
<div class="col-4">Пароль:</div>
<div class="col-8">
<input type="text" id="password" name="password" />
<input type="text" id="password" class="form-control" name="password" />
</div>
</div>
<div class="row">
<div class="row mb-2">
<div class="col-4">Баланс:</div>
<div class="col-8">
<input type="text" id="balance" name="balance" />
<input type="text" id="balance" class="form-control" name="balance" />
</div>
</div>
<div class="row">
<div class="row mb-2">
<div class="col-8"></div>
<div class="col-4">
<input type="submit" value="Создать" class="btn btn-warning" />
<input type="submit" value="Создать" class="form-control" class="btn btn-dark" />
</div>
</div>
</form>

View File

@ -10,26 +10,26 @@
<h2 class="display-4">Отчёт по счетам за выбранный период</h2>
</div>
<form method="post">
<div class="row">
<div class="row mb-2">
<div class="col-4">Клиент:</div>
<div class="col-8">
<select id="clientId" name="clientId" class="form-control" asp-items="@(new SelectList( @ViewBag.Clients, "Id", "FullName"))"></select>
</div>
</div>
<div class="row">
<div class="row mb-2">
<div class="col-4">Дата начала периода:</div>
<div class="col-8">
<input id="dateFrom" name="dateFrom" class="form-control" type="date" />
</div>
</div>
<div class="row">
<div class="row mb-2">
<div class="col-4">Дата конца периода:</div>
<div class="col-8">
<input id="dateTo" name="dateTo" class="form-control" type="date" />
</div>
</div>
<div class="row">
<input type="submit" style="width:100%" value="Сформировать отчёт" class="btn btn-warning" />
<div class="row mb-2">
<input type="submit" style="width:100%" value="Сформировать отчёт" class="btn btn-dark" />
</div>
<hr class="mt-5 mb-3" />
@if (Model != null)

View File

@ -18,7 +18,7 @@
</select>
</div>
<div class="row">
<input style="width:100%;" type="submit" value="Выбрать" class="btn btn-warning" />
<input style="width:100%;" type="submit" value="Выбрать" class="btn btn-dark" />
</div>
</form>

View File

@ -5,23 +5,10 @@
<div class="text-center">
<h2 class="display-4">Вход в приложение</h2>
</div>
<form method="post">
<div class="row">
<div class="col-4">Логин:</div>
<div class="col-8">
<input type="text" name="login" />
</div>
</div>
<div class="row">
<div class="col-4">Пароль:</div>
<div class="col-8">
<input type="password" name="password" />
</div>
</div>
<div class="row">
<div class="col-8"></div>
<div class="col-4">
<input type="submit" value="Вход" class="btn btn-warning" />
</div>
</div>
<form class="form-signin text-center" method="post">
<h1 class="h3 mb-3 font-weight-normal">Логин</h1>
<input type="email" id="login" name="login" class="form-control" placeholder="Почта" required autofocus>
<input type="password" id="password" name="password" class="form-control" placeholder="Пароль" required>
<button class="btn btn-lg btn-dark btn-block" type="submit" asp-controller="Home" asp-action="Login">Войти</button>
</form>

View File

@ -6,7 +6,7 @@
<h2 class="display-4">Перевод между счетами</h2>
</div>
<form method="post">
<div class="row">
<div class="row mb-2">
<div class="col-4">Номер счёта для снятия:</div>
<div class="col-8">
<select id="accountSenderId" name="accountSenderId" class="form-control" asp-items="@(new SelectList( @ViewBag.Accounts, "Id", "AccountNumber"))">
@ -14,7 +14,7 @@
</select>
</div>
</div>
<div class="row">
<div class="row mb-2">
<div class="col-4">Номер счёта для начисления:</div>
<div class="col-8">
<select id="accountPayeeId" name="accountPayeeId" class="form-control" asp-items="@(new SelectList( @ViewBag.Accounts, "Id", "AccountNumber"))">
@ -22,13 +22,13 @@
</select>
</div>
</div>
<div class="row">
<div class="row mb-2">
<div class="col-4">Сумма перевода:</div>
<div class="col-8">
<input type="text" id="sumMoneyTransfer" name="sumMoneyTransfer" />
<input type="text" id="sumMoneyTransfer" class="form-control" name="sumMoneyTransfer" />
</div>
</div>
<div class="row">
<input type="submit" style="width: 100%" value="Перевести" class="btn btn-warning" />
<div class="row mb-2">
<input type="submit" style="width: 100%" value="Перевести" class="btn btn-dark" />
</div>
</form>

View File

@ -9,32 +9,29 @@
<div class="text-center">
<h2 class="display-4">Личные данные</h2>
</div>
<form method="post">
<form method="post" class="form-signin">
<div class="row">
<div class="col-4">Логин:</div>
<div class="col-8"><input type="text" name="login" value=@Html.DisplayFor(modelItem => Model.Email) /></div>
<input type="email" id="login" name="login" class="form-control" placeholder="Почта" value=@Html.DisplayFor(modelItem => Model.Email) required>
</div>
<div class="row">
<div class="col-4">Пароль:</div>
<div class="col-8"><input type="password" name="password" value=@Html.DisplayFor(modelItem => Model.Password) /></div>
<input type="password" id="password" name="password" class="form-control" placeholder="Пароль" value=@Html.DisplayFor(modelItem => Model.Password) required>
</div>
<div class="row">
<div class="col-4">Имя:</div>
<div class="col-8"><input type="text" name="name" value=@Html.DisplayFor(modelItem => Model.Name) /></div>
<input type="text" id="name" name="name" class="form-control" placeholder="Имя" value=@Html.DisplayFor(modelItem => Model.Name) required>
<div class="col-4">Фамилия:</div>
<div class="col-8"><input type="text" name="surname" value=@Html.DisplayFor(modelItem => Model.Surname) /></div>
<input type="text" id="surname" name="surname" class="form-control" placeholder="Фамилия" value=@Html.DisplayFor(modelItem => Model.Surname) required>
<div class="col-4">Отчество:</div>
<div class="col-8"><input type="text" name="patronymic" value=@Html.DisplayFor(modelItem => Model.Patronymic) /></div>
<input type="text" id="patronymic" name="patronymic" class="form-control" placeholder="Отчество" value=@Html.DisplayFor(modelItem => Model.Patronymic) required>
</div>
<div class="row">
<div class="row mb-2">
<div class="col-4">Телефон:</div>
<div class="col-8"><input type="text" name="telephone" value=@Html.DisplayFor(modelItem => Model.Telephone) /></div>
<input type="text" id="telephone" name="telephone" class="form-control" placeholder="Телефон" value=@Html.DisplayFor(modelItem => Model.Telephone) required>
</div>
<div class="row">
<div class="col-8"></div>
<div class="col-4">
<button class="btn btn-lg btn-warning btn-block" type="submit" asp-controller="Home" asp-action="Privacy">Coхранить</button>
<button class="btn btn-lg btn-warning btn-block mr-2" type="submit" asp-controller="Home" asp-action="Logout">Выйти из аккаунта</button>
</div>
<div class="row mb-2">
<button class="btn btn-lg btn-dark btn-block mb-2" type="submit" asp-controller="Home" asp-action="Privacy">Coхранить</button>
<button class="btn btn-lg btn-dark btn-block" type="submit" asp-controller="Home" asp-action="Logout">Выйти из аккаунта</button>
</div>
</form>

View File

@ -5,47 +5,14 @@
<div class="text-center">
<h2 class="display-4">Регистрация</h2>
</div>
<form method="post">
<div class="row">
<div class="col-4">Почта:</div>
<div class="col-8">
<input type="text" name="login" />
</div>
</div>
<div class="row">
<div class="col-4">Пароль:</div>
<div class="col-8">
<input type="password" name="password" />
</div>
</div>
<div class="row">
<div class="col-4">Имя:</div>
<div class="col-8">
<input type="text" name="name" />
</div>
</div>
<div class="row">
<div class="col-4">Фамилия:</div>
<div class="col-8">
<input type="text" name="surname" />
</div>
</div>
<div class="row">
<div class="col-4">Отчество:</div>
<div class="col-8">
<input type="text" name="patronymic" />
</div>
</div>
<div class="row">
<div class="col-4">Телефон:</div>
<div class="col-8">
<input type="text" name="telephone" />
</div>
</div>
<div class="row">
<div class="col-8"></div>
<div class="col-4">
<input type="submit" value="Регистрация" class="btn btn-warning" />
</div>
</div>
<form class="form-signin text-center" method="post">
<h1 class="h3 mb-3 font-weight-normal">Регистрация</h1>
<input type="email" id="login" name="login" class="form-control" placeholder="Почта" required>
<input type="password" id="password" name="password" class="form-control" placeholder="Пароль" required>
<input type="text" id="name" name="name" class="form-control" placeholder="Имя" required>
<input type="text" id="surname" name="surname" class="form-control" placeholder="Фамилия" required>
<input type="text" id="patronymic" name="patronymic" class="form-control" placeholder="Отчество" required>
<input type="text" id="telephone" name="telephone" class="form-control" placeholder="Телефон" required>
<button class="btn btn-lg btn-dark btn-block" type="submit" asp-controller="Home" asp-action="Register">Регистрация</button>
</form>

View File

@ -20,10 +20,10 @@
<option disabled selected>Выберите счёт</option>
</select>
<div class="mb-2">
<button class="btn btn-lg btn-warning btn-block" style="width: 100%;" type="submit" asp-controller="Home" asp-action="CreateCashierExcelReport">Создать отчёт по аккаунтам</button>
<button class="btn btn-lg btn-dark btn-block" style="width: 100%;" type="submit" asp-controller="Home" asp-action="CreateCashierExcelReport">Создать отчёт по аккаунтам</button>
</div>
<div class="mb-2">
<button class="btn btn-lg btn-warning btn-block" style="width: 100%;" type="submit" asp-controller="Home" asp-action="CreateCashierExcelReport">Создать отчёт по заявкам снятия</button>
<button class="btn btn-lg btn-dark btn-block" style="width: 100%;" type="submit" asp-controller="Home" asp-action="CreateCashierExcelReport">Создать отчёт по заявкам снятия</button>
</div>
</form>
</div>

View File

@ -21,7 +21,7 @@
body {
margin-bottom: 60px;
background-color: #cdcdcd;
background-color: #f1b21c;
}
.nav-main a {
@ -146,7 +146,7 @@
</main>
</div>
<footer class="border-top footer text-muted">
<footer class="border-top bg-dark border-dark footer text-light">
<div class="container">
&copy; 2023 - BankYouBankruptCashierApp
</div>

View File

@ -6,31 +6,31 @@
<h2 class="display-4">Создание карты</h2>
</div>
<form method="post">
<div class="row">
<div class="row mb-2">
<div class="col-4">Номер счета:</div>
<div class="col-8">
<select id="accountId" name="accountId" class="form-control" asp-items="@(new SelectList( @ViewBag.Accounts, "Id", "AccountNumber"))"></select>
</div>
</div>
<div class="row">
<div class="row mb-2">
<div class="col-4">Номер карты:</div>
<div class="col-8">
<input type="text" name="number" />
<input type="text" class="form-control" name="number" />
</div>
</div>
<div class="row">
<div class="row mb-2">
<div class="col-4">CVC:</div>
<div class="col-8">
<input type="text" name="cvc" />
<input type="text" class="form-control" name="cvc" />
</div>
</div>
<div class="row">
<div class="row mb-2">
<div class="col-4">Срок действия:</div>
<div class="col-8">
<input type="date" name="period" />
<input type="date" class="form-control" name="period" />
</div>
</div>
<div class="row">
<div class="row mb-2">
<input type="submit" value="Создание" style="width: 100%" class="btn btn-warning" />
</div>
</form>

View File

@ -6,19 +6,19 @@
<h2 class="display-4">Создание операции</h2>
</div>
<form method="post">
<div class="row">
<div class="row mb-2">
<div class="col-4">Номер счета:</div>
<div class="col-8">
<select id="cardId" name="cardId" class="form-control" asp-items="@(new SelectList( @ViewBag.Cards, "Id", "Number"))"></select>
</div>
</div>
<div class="row">
<div class="row mb-2">
<div class="col-4">Cумма операции:</div>
<div class="col-8">
<input type="number" name="sum" />
<input type="number" class="form-control" name="sum" />
</div>
</div>
<div class="row">
<div class="row mb-2">
<input type="submit" value="Создание" style="width: 100%" class="btn btn-warning" />
</div>
</form>

View File

@ -6,19 +6,19 @@
<h2 class="display-4">Создание операции</h2>
</div>
<form method="post">
<div class="row">
<div class="row mb-2">
<div class="col-4">Номер счета:</div>
<div class="col-8">
<select id="cardId" name="cardId" class="form-control" asp-items="@(new SelectList( @ViewBag.Cards, "Id", "Number"))"></select>
</div>
</div>
<div class="row">
<div class="row mb-2">
<div class="col-4">Cумма операции:</div>
<div class="col-8">
<input type="number" name="sum" />
<input type="number" name="sum" class="form-control" />
</div>
</div>
<div class="row">
<div class="row mb-2">
<input type="submit" style="width: 100%" value="Создание" class="btn btn-warning" />
</div>
</form>

View File

@ -10,22 +10,22 @@
<h2 class="display-4">Отчёт по картам за выбранный период</h2>
</div>
<form method="post">
<div class="row">
<div class="row mb-2">
<div class="col-4">Дата начала периода:</div>
<div class="col-8">
<input id="dateFrom" name="dateFrom" class="form-control" type="date" />
</div>
</div>
<div class="row">
<div class="row mb-2">
<div class="col-4">Дата конца периода:</div>
<div class="col-8">
<input id="dateTo" name="dateTo" class="form-control" type="date" />
</div>
</div>
<hr class="mt-5 mb-3" />
<div class="row">
<input id="createReport" style="width:100%;" type="submit" value="Сформировать отчёт" class="btn btn-warning" />
</div>
<hr class="mt-5 mb-3" />
@if (Model != null)
{

View File

@ -9,32 +9,29 @@
<div class="text-center">
<h2 class="display-4">Личные данные</h2>
</div>
<form method="post">
<form method="post" class="form-signin">
<div class="row">
<div class="col-4">Логин:</div>
<div class="col-8"><input type="text" name="login" value=@Html.DisplayFor(modelItem => Model.Email) /></div>
<input type="email" id="login" name="login" class="form-control" placeholder="Почта" value=@Html.DisplayFor(modelItem => Model.Email) required>
</div>
<div class="row">
<div class="col-4">Пароль:</div>
<div class="col-8"><input type="password" name="password" value=@Html.DisplayFor(modelItem => Model.Password) /></div>
<input type="password" id="password" name="password" class="form-control" placeholder="Пароль" value=@Html.DisplayFor(modelItem => Model.Password) required>
</div>
<div class="row">
<div class="col-4">Имя:</div>
<div class="col-8"><input type="text" name="name" value=@Html.DisplayFor(modelItem => Model.Name) /></div>
<input type="text" id="name" name="name" class="form-control" placeholder="Имя" value=@Html.DisplayFor(modelItem => Model.Name) required>
<div class="col-4">Фамилия:</div>
<div class="col-8"><input type="text" name="surname" value=@Html.DisplayFor(modelItem => Model.Surname) /></div>
<input type="text" id="surname" name="surname" class="form-control" placeholder="Фамилия" value=@Html.DisplayFor(modelItem => Model.Surname) required>
<div class="col-4">Отчество:</div>
<div class="col-8"><input type="text" name="patronymic" value=@Html.DisplayFor(modelItem => Model.Patronymic) /></div>
<input type="text" id="patronymic" name="patronymic" class="form-control" placeholder="Отчество" value=@Html.DisplayFor(modelItem => Model.Patronymic) required>
</div>
<div class="row">
<div class="row mb-2">
<div class="col-4">Телефон:</div>
<div class="col-8"><input type="text" name="telephone" value=@Html.DisplayFor(modelItem => Model.Telephone) /></div>
<input type="text" id="telephone" name="telephone" class="form-control" placeholder="Телефон" value=@Html.DisplayFor(modelItem => Model.Telephone) required>
</div>
<div class="row">
<div class="col-8"></div>
<div class="col-4">
<button class="btn btn-lg btn-warning btn-block" type="submit" asp-controller="Home" asp-action="Privacy">Coхранить</button>
<button class="btn btn-lg btn-warning btn-block mr-2" type="submit" asp-controller="Home" asp-action="Logout">Выйти из аккаунта</button>
</div>
<div class="row mb-2">
<button class="btn btn-lg btn-warning btn-block mb-2" type="submit" asp-controller="Home" asp-action="Privacy">Coхранить</button>
<button class="btn btn-lg btn-warning btn-block" type="submit" asp-controller="Home" asp-action="Logout">Выйти из аккаунта</button>
</div>
</form>

View File

@ -15,7 +15,7 @@ html {
body {
margin-bottom: 60px;
background-color: #cdcdcd;
background-color: #f1b21c;
}
.nav-main a {