Toggle navigation
Toggle navigation
This project
Loading...
Sign in
万朱浩
/
Venue-Ops
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
马一丁
2025-12-16 02:30:58 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c33efec8d0ad1c86d7439b25d89731e8c1f6db6d
c33efec8
1 parent
bf842bde
Optimize the display of the download button
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
templates/index.html
templates/index.html
View file @
c33efec
...
...
@@ -1313,7 +1313,7 @@
padding
:
15px
;
border-bottom
:
2px
solid
#000000
;
background-color
:
#f8f9fa
;
flex-wrap
:
wrap
;
flex-wrap
:
no
wrap
;
}
.report-button
{
...
...
@@ -1349,7 +1349,7 @@
display
:
flex
;
gap
:
8px
;
margin-left
:
auto
;
flex-wrap
:
wrap
;
flex-wrap
:
no
wrap
;
align-items
:
center
;
}
...
...
@@ -1358,6 +1358,12 @@
min-width
:
118px
;
}
#downloadPdfButton
,
#downloadMdButton
{
padding
:
10px
10px
;
min-width
:
96px
;
}
@media
(
max-width
:
768px
)
{
.report-controls
{
flex-direction
:
column
;
...
...
@@ -1369,6 +1375,11 @@
margin-left
:
0
;
justify-content
:
flex-start
;
}
#downloadPdfButton
,
#downloadMdButton
{
min-width
:
90px
;
}
}
.report-status
{
...
...
@@ -5127,9 +5138,6 @@ function getConsoleContainer() {
statusHTML
+=
`
<
div
class
=
"task-actions"
>
<
button
class
=
"report-button primary"
onclick
=
"viewReport('${task.task_id}')"
>
重新加载
<
/button
>
$
{
htmlReady
?
`
<
button
class
=
"report-button"
onclick
=
"downloadReport('${task.task_id}')"
>
下载
HTML
<
/button>` : ''
}
$
{
irReady
?
`
<
button
class
=
"report-button"
onclick
=
"downloadPdfFromPreview('${task.task_id}')"
>
下载
PDF
<
/button>` : ''
}
$
{
irReady
?
`
<
button
class
=
"report-button"
onclick
=
"downloadMarkdownFromIr('${task.task_id}')"
>
下载
MD
<
/button>` : ''
}
<
/div
>
`
;
}
...
...
Please
register
or
login
to post a comment