2 Commits

Author SHA1 Message Date
ffcaee7170 change order of change password and sign out 2026-03-31 21:04:54 -04:00
3a69c04c25 change some button styling 2026-03-31 21:03:16 -04:00
4 changed files with 19 additions and 12 deletions

View File

@@ -25,12 +25,15 @@
id="current_password" id="current_password"
placeholder="Current Password" placeholder="Current Password"
/> />
<br />
<input type="password" id="new_password" placeholder="New Password" /> <input type="password" id="new_password" placeholder="New Password" />
<br />
<input <input
type="password" type="password"
id="new_password_repeat" id="new_password_repeat"
placeholder="New Password(repeat)" placeholder="New Password(repeat)"
/> />
<br />
<button id="final_change_password_button">Change Password</button> <button id="final_change_password_button">Change Password</button>
</div> </div>
@@ -76,6 +79,16 @@
<div class="data-value">{{.Email}}</div> <div class="data-value">{{.Email}}</div>
</div> </div>
<button class="bottom_button" id="change_password_button">
<input
id="csrf_token_storage"
type="hidden"
name="csrf_token"
value="{{.CSRFToken}}"
/>
Change Password
</button>
<form action="/logout" method="POST" style="display: inline-block"> <form action="/logout" method="POST" style="display: inline-block">
<button class="bottom_button" id="signout_button"> <button class="bottom_button" id="signout_button">
<input <input
@@ -87,16 +100,6 @@
Sign Out Sign Out
</button> </button>
</form> </form>
<button class="bottom_button" id="change_password_button">
<input
id="csrf_token_storage"
type="hidden"
name="csrf_token"
value="{{.CSRFToken}}"
/>
Change Password
</button>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -21,6 +21,7 @@
color: black !important; color: black !important;
font-weight: normal !important; font-weight: normal !important;
border: none; border: none;
width: fit-content !important;
} }
.close_error_button:hover { .close_error_button:hover {

View File

@@ -83,6 +83,8 @@
border-radius: 50%; border-radius: 50%;
border: none; border: none;
padding: 6px; padding: 6px;
width: fit-content !important;
} }
#edit_picture_button:hover { #edit_picture_button:hover {
@@ -90,8 +92,8 @@
} }
#edit_picture_image { #edit_picture_image {
width: 20px; width: 20px !important;
height: 20px; height: 20px !important;
} }
#picture_holder { #picture_holder {

View File

@@ -32,6 +32,7 @@ button {
border-radius: 6px; border-radius: 6px;
cursor: pointer; cursor: pointer;
font-weight: bold; font-weight: bold;
width: 100%;
} }
button:hover { button:hover {