przebudowa endpointow i inne porządki

This commit is contained in:
Mateusz Gruszczyński committed 2025-07-07 23:17:54 +02:00
1 parent 084e2f8221
commit 8152019632
13 files changed
+275 -141

No files matched your search

+14
View File
@@ -159,3 +159,17 @@ input.form-control {
border-radius: 10px 10px 0 0;
}
}
.table-responsive {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.table-responsive table {
min-width: 1000px;
}
.bg-dark .form-control::placeholder {
color: #ccc !important;
opacity: 1;
}
File renamed without changes.
+14
View File
@@ -0,0 +1,14 @@
document.addEventListener('DOMContentLoaded', function() {
var resetPasswordModal = document.getElementById('resetPasswordModal');
resetPasswordModal.addEventListener('show.bs.modal', function (event) {
var button = event.relatedTarget;
var userId = button.getAttribute('data-user-id');
var username = button.getAttribute('data-username');
var modalTitle = resetPasswordModal.querySelector('#resetUsernameLabel strong');
modalTitle.textContent = username;
var form = resetPasswordModal.querySelector('#resetPasswordForm');
form.action = '/admin/change_password/' + userId;
});
});