Front buttons

This commit is contained in:
shadowik 2023-05-19 18:56:47 +04:00
parent f4bc6c16f1
commit bfe27ada1c
12 changed files with 17 additions and 15 deletions

View File

@ -33,7 +33,7 @@
<div class="row">
<div class="col-8"></div>
<div class="col-4">
<input type="submit" value="Создание" class="btn btn-primary" />
<input type="submit" value="Создание" class="btn btn-warning" />
</div>
</div>
</form>

View File

@ -21,7 +21,7 @@
<div class="row">
<div class="col-8"></div>
<div class="col-4">
<input type="submit" value="Создание" class="btn btn-primary" />
<input type="submit" value="Создание" class="btn btn-warning" />
</div>
</div>
</form>

View File

@ -21,7 +21,7 @@
<div class="row">
<div class="col-8"></div>
<div class="col-4">
<input type="submit" value="Создание" class="btn btn-primary" />
<input type="submit" value="Создание" class="btn btn-warning" />
</div>
</div>
</form>

View File

@ -14,7 +14,7 @@
<div class="row">
<div class="col-8"></div>
<div class="col-4">
<input type="submit" value="Создание" class="btn btn-primary" />
<input type="submit" value="Создание" class="btn btn-warning" />
</div>
</div>
</form>

View File

@ -25,7 +25,7 @@
<div class="row">
<div class="col-8"></div>
<div class="col-4">
<input id="createReport" type="submit" value="Сформировать отчёт" class="btn btn-primary" />
<input id="createReport" type="submit" value="Сформировать отчёт" class="btn btn-warning" />
</div>
</div>
<hr class="mt-5 mb-3" />

View File

@ -20,7 +20,7 @@
<div class="row">
<div class="col-8"></div>
<div class="col-4">
<input type="submit" value="Выбрать" class="btn btn-primary"/>
<input type="submit" value="Выбрать" class="btn btn-warning"/>
</div>
</div>
</form>

View File

@ -11,6 +11,8 @@
<div class="text-center">
@{
<img src="~/lib/logo.png" style="width: 50%"/>
if (APIClient.Client == null)
{
<h3 class="display-4">Сначала авторизируйтесь</h3>

View File

@ -10,5 +10,5 @@
<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-primary btn-block" type="submit" asp-controller="Home" asp-action="Login">Войти</button>
<button class="btn btn-lg btn-warning btn-block" type="submit" asp-controller="Home" asp-action="Login">Войти</button>
</form>

View File

@ -45,7 +45,7 @@
<div class="row">
<div class="col-8"></div>
<div class="col-4">
<input type="submit" value="Регистрация" class="btn btn-primary" />
<input type="submit" value="Регистрация" class="btn btn-warning" />
</div>
</div>
<div class="row">

View File

@ -25,11 +25,11 @@
<input type="hidden" asp-for="@Model.Cards[item].LabelName" />
</div>
}
<div>
<input class="btn btn-primary mt-3" type="submit" value="Submit" />
<div class="mb-2">
<button class="btn btn-lg btn-warning btn-block" type="submit" asp-controller="Home" asp-action="">Создать отчёт</button>
</div>
<div>
<button class="btn btn-lg btn-primary btn-block" type="submit" asp-controller="Home" asp-action="CreateExcelReport">Создать отчёт Excel</button>
<div class="mb-2">
<button class="btn btn-lg btn-warning btn-block" type="submit" asp-controller="Home" asp-action="CreateExcelReport">Создать отчёт Excel</button>
</div>
</form>
</div>

View File

@ -45,13 +45,13 @@
if (APIClient.Client == null)
{
<div class="col-md-3 text-end">
<a class="btn btn-primary me-2" asp-controller="Home" asp-action="Login">Войти</a>
<a class="btn btn-primary" asp-controller="Home" asp-action="Register">Регистрация</a>
<a class="btn btn-warning me-2" asp-controller="Home" asp-action="Login">Войти</a>
<a class="btn btn-warning" asp-controller="Home" asp-action="Register">Регистрация</a>
</div>
}
else {
<div class="col-md-3 text-end">
<a class="btn btn-primary me-2" asp-controller="Home" asp-action="Enter">@APIClient.Client.Name @APIClient.Client.Surname</a>
<a class="btn btn-warning me-2" asp-controller="Home" asp-action="Enter">@APIClient.Client.Name @APIClient.Client.Surname</a>
</div>
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB