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
64b18028
Commit
64b18028
authored
Oct 06, 2025
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Center modals vertically and position close buttons top right
parent
c0dd0211
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
api_tokens.html
templates/api_tokens.html
+5
-4
No files found.
templates/api_tokens.html
View file @
64b18028
...
...
@@ -28,9 +28,10 @@
.status-active
{
color
:
#065f46
;
font-weight
:
500
;
}
.status-inactive
{
color
:
#dc2626
;
font-weight
:
500
;
}
.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-content
{
background-color
:
white
;
margin
:
15%
auto
;
padding
:
2rem
;
width
:
90%
;
max-width
:
500px
;
border-radius
:
12px
;
}
.modal-header
{
margin-bottom
:
1rem
;
}
.modal-content
{
background-color
:
white
;
position
:
fixed
;
top
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
)
;
padding
:
2rem
;
width
:
90%
;
max-width
:
500px
;
border-radius
:
12px
;
}
.modal-header
{
margin-bottom
:
1rem
;
position
:
relative
;
}
.modal-footer
{
text-align
:
right
;
margin-top
:
1.5rem
;
}
.close
{
position
:
absolute
;
top
:
0
;
right
:
0
;
cursor
:
pointer
;
font-size
:
1.5rem
;
line-height
:
1
;
}
</style>
{% endblock %}
...
...
@@ -92,7 +93,7 @@
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<h3><i
class=
"fas fa-plus"
></i>
Generate New API Token
</h3>
<span
onclick=
"closeAddTokenModal()"
style=
"cursor: pointer; font-size: 1.5rem;
"
>
×
</span>
<span
class=
"close"
onclick=
"closeAddTokenModal()
"
>
×
</span>
</div>
<form
method=
"post"
action=
"/api_tokens/generate"
>
<div
class=
"modal-body"
>
...
...
@@ -115,7 +116,7 @@
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<h3>
API Token Generated Successfully!
</h3>
<span
onclick=
"closeTokenModal()"
style=
"cursor: pointer; font-size: 1.5rem;
"
>
×
</span>
<span
class=
"close"
onclick=
"closeTokenModal()
"
>
×
</span>
</div>
<div
class=
"modal-body"
>
<p><strong>
Token Name:
</strong>
{{ token_name }}
</p>
...
...
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