Minor layout tweaks, comments, css cleanup
This commit is contained in:
parent
7caf9aec8a
commit
7409c4e948
|
@ -11,7 +11,7 @@
|
|||
}
|
||||
|
||||
@section HeaderAddUser {
|
||||
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#add_user_modal">
|
||||
<button type="button" class="btn btn-primary ms-auto" data-bs-toggle="modal" data-bs-target="#add_user_modal"> <!-- Calls the modal dialog to add user -->
|
||||
Add User
|
||||
</button>
|
||||
}
|
||||
|
@ -85,7 +85,7 @@
|
|||
<div class="row row-cols-auto justify-content-center justify-content-lg-start g-0" id="users">
|
||||
@foreach (var user in db.Users.OrderBy(p => p.Nickname.ToLower())) {
|
||||
<div class="col user-card-container" id="user_@user.Id">
|
||||
<a href="/EditUser/@user.Id">
|
||||
<a href="/EditUser/@user.Id"> <!-- Wrapping the entire div in a link, we are allowed to do that these days! Using user-card-container class to remove link decorations -->
|
||||
<div class="d-flex flex-column align-items-center justify-content-center bg-light shadow-sm user-card">
|
||||
<div class="text-dark">@user.Nickname</div>
|
||||
@if (user.Balance < 0) {
|
||||
|
|
|
@ -550,10 +550,7 @@ button.accept-policy {
|
|||
font-size: 1.5em;
|
||||
width: 7em;
|
||||
height: 5em;
|
||||
margin-left: 0.5rem;
|
||||
margin-right: 0.5rem;
|
||||
margin-top: 0.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
margin: 0.5rem;
|
||||
}
|
||||
|
||||
.balance-pos {
|
||||
|
@ -571,8 +568,5 @@ button.accept-policy {
|
|||
.transact-btn {
|
||||
width: 5em;
|
||||
height: 3.5em;
|
||||
margin-right: 0.2em;
|
||||
margin-left: 0.2em;
|
||||
margin-top: 0.2em;
|
||||
margin-bottom: 0.2em;
|
||||
margin: 0.2em;
|
||||
}
|
Loading…
Reference in a new issue