Skip to content

Commit

Permalink
fix idaholab#427, fix links on extracted-files page
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Feb 22, 2024
1 parent 1362927 commit 8701cf0
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions file-monitor/scripts/extracted_files_http_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ def do_GET(self):

# <head>
with doc.head:
base(target="_blank")
meta(charset="utf-8")
meta(name="viewport", content="width=device-width, initial-scale=1, shrink-to-fit=no")
link(rel="icon", href=f"{args.assetsDirRespReplacer}favicon.ico", type="image/x-icon")
Expand Down Expand Up @@ -243,6 +242,7 @@ def do_GET(self):
a(
fileinfo,
href=f'https://www.iana.org/assignments/media-types/{fileinfo}',
target="_blank",
),
)
if args.magic
Expand All @@ -264,6 +264,7 @@ def do_GET(self):
a(
fid,
href=f'/arkime/idark2dash/filter?start={timestampStartFilterStr}&stop={tomorrowStr}&field=event.id&value={fid}',
target="_blank",
)
for fid in fids
],
Expand Down Expand Up @@ -298,19 +299,24 @@ def do_GET(self):
)

with div(cls="col-lg-6 h-100 text-center text-lg-end my-auto").add(ul(cls="list-inline mb-0")):
li(cls="list-inline-item").add(a(href=f'/')).add(i(cls="bi bi-house fs-3", title="Malcolm"))
li(cls="list-inline-item").add(a(href=f'/readme/')).add(
li(cls="list-inline-item").add(a(href=f'/', target="_blank")).add(
i(cls="bi bi-house fs-3", title="Malcolm")
)
li(cls="list-inline-item").add(a(href=f'/readme/', target="_blank")).add(
i(cls="bi bi-question-circle fs-3", title="Documentation")
)
li(cls="list-inline-item").add(
a(href=f'/dashboards/app/dashboards#/view/9ee51f94-3316-4fc5-bd89-93a52af69714')
a(
href=f'/dashboards/app/dashboards#/view/9ee51f94-3316-4fc5-bd89-93a52af69714',
target="_blank",
)
).add(i(cls="bi bi-bar-chart-line fs-3", title="Dashboards"))
li(cls="list-inline-item").add(a(href=f'/arkime/sessions/')).add(
li(cls="list-inline-item").add(a(href=f'/arkime/sessions/', target="_blank")).add(
i(cls="bi bi-table fs-3", title="Arkime")
)
li(cls="list-inline-item").add(a(href=f'https://github.com/idaholab/Malcolm/')).add(
i(cls="bi-github fs-3", title="GitHub")
)
li(cls="list-inline-item").add(
a(href=f'https://github.com/idaholab/Malcolm/', target="_blank")
).add(i(cls="bi-github fs-3", title="GitHub"))

script(type="text/javascript", src=f"{args.assetsDirRespReplacer}js/bootstrap.bundle.min.js")
script(type="text/javascript", src=f"{args.assetsDirRespReplacer}js/scripts.js")
Expand Down

0 comments on commit 8701cf0

Please sign in to comment.