Skip to content

Commit dc9c002

Browse files
committed
Add 4C Logo
1 parent 0c69146 commit dc9c002

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/fourc_webviewer/gui_utils.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,17 @@ def __init__(self, children=None, **kwargs):
105105

106106
def _toolbar(server_controller):
107107
"""Toolbar layout."""
108-
VFileInput(
108+
109+
html.Img(
110+
src="https://raw.githubusercontent.com/4C-multiphysics/4C-webviewer/refs/heads/main/images/4C-logo/negative-white/4C-logo-landscape_negative.svg",
111+
alt="4C Logo",
112+
style="height: 50px; width: auto; filter: invert(1); padding-left: 20px",
113+
class_="me-2",
114+
)
115+
116+
vuetify.VSpacer()
117+
118+
vuetify.VFileInput(
109119
label="Input file",
110120
v_model=("fourc_yaml_file",),
111121
update_modelValue="flushState('fourc_yaml_file')",
@@ -1022,7 +1032,7 @@ def create_gui(server, render_window):
10221032
"""Creates the graphical user interface based on the defined layout
10231033
elements."""
10241034
with SinglePageWithDrawerLayout(server) as layout:
1025-
layout.title.set_text("4C Webviewer")
1035+
layout.title.hide()
10261036

10271037
with layout.toolbar as toolbar:
10281038
toolbar.height = 100

0 commit comments

Comments
 (0)