Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
V
vidai
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SexHackMe
vidai
Commits
186bb8d2
Commit
186bb8d2
authored
Oct 06, 2025
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make edit modal popup scrollable by increasing max-height to 80vh and removing overflow hidden
parent
737fa9d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
44 deletions
+1
-44
users.html
templates/admin/users.html
+1
-44
No files found.
templates/admin/users.html
View file @
186bb8d2
...
...
@@ -33,7 +33,7 @@
/* Modal Styles */
.modal
{
display
:
none
;
position
:
fixed
;
z-index
:
1000
;
left
:
0
;
top
:
0
;
width
:
100%
;
height
:
100%
;
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
}
.modal.show
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.modal-content
{
background-color
:
white
;
margin
:
0
;
padding
:
0
;
width
:
90%
;
max-width
:
600px
;
border-radius
:
12px
;
box-shadow
:
0
10px
30px
rgba
(
0
,
0
,
0
,
0.3
);
max-height
:
50vh
;
overflow
:
hidden
;
display
:
flex
;
flex-direction
:
column
;
}
.modal-content
{
background-color
:
white
;
margin
:
0
;
padding
:
0
;
width
:
90%
;
max-width
:
600px
;
border-radius
:
12px
;
box-shadow
:
0
10px
30px
rgba
(
0
,
0
,
0
,
0.3
);
max-height
:
80vh
;
display
:
flex
;
flex-direction
:
column
;
}
.modal-header
{
padding
:
1rem
2rem
;
border-bottom
:
1px
solid
#e5e7eb
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
flex-shrink
:
0
;
}
.modal-body
{
padding
:
1rem
;
overflow-y
:
auto
;
flex
:
1
;
}
.modal-footer
{
padding
:
1rem
2rem
;
border-top
:
1px
solid
#e5e7eb
;
text-align
:
right
;
flex-shrink
:
0
;
}
...
...
@@ -131,50 +131,7 @@
</form>
</div>
<!-- Edit User Modal -->
<div
id=
"editUserModal"
class=
"modal"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<h3>
Edit User
</h3>
<span
onclick=
"closeEditModal()"
style=
"cursor: pointer; font-size: 1.5rem;"
>
×
</span>
</div>
<form
id=
"editUserForm"
method=
"post"
action=
""
>
<div
class=
"modal-body"
>
<input
type=
"hidden"
id=
"editUserId"
name=
"user_id"
>
<div
class=
"form-group"
>
<label
for=
"editUsername"
>
Username
</label>
<input
type=
"text"
id=
"editUsername"
name=
"username"
required
>
</div>
<div
class=
"form-group"
>
<label
for=
"editEmail"
>
Email
</label>
<input
type=
"email"
id=
"editEmail"
name=
"email"
required
>
</div>
<div
class=
"form-row"
>
<div
class=
"form-group"
>
<label
for=
"editRole"
>
Role
</label>
<select
id=
"editRole"
name=
"role"
>
<option
value=
"user"
>
User
</option>
<option
value=
"admin"
>
Admin
</option>
</select>
</div>
<div
class=
"form-group"
>
<label
for=
"editTokens"
>
Tokens
</label>
<input
type=
"number"
id=
"editTokens"
name=
"tokens"
min=
"0"
required
>
</div>
</div>
<div
class=
"form-group"
>
<label
for=
"editPassword"
>
New Password (leave empty to keep current)
</label>
<input
type=
"password"
id=
"editPassword"
name=
"password"
>
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
onclick=
"closeEditModal()"
class=
"btn"
style=
"background: #6b7280;"
>
Cancel
</button>
<button
type=
"submit"
class=
"btn"
>
Update User
</button>
</div>
</form>
</div>
</div>
</div>
<!-- Edit User Modal -->
<div
id=
"editUserModal"
class=
"modal"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment