File tree Expand file tree Collapse file tree 1 file changed +21
-4
lines changed
Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -109,20 +109,37 @@ def _toolbar(server_controller):
109109 html .Img (
110110 src = "https://raw.githubusercontent.com/4C-multiphysics/4C-webviewer/refs/heads/main/images/4C-logo/negative-white/4C-logo-landscape_negative.svg" ,
111111 alt = "4C Logo" ,
112- style = "height: 50px; width: auto; filter: invert(1); padding-left: 20px" ,
112+ style = "height: 50px; width: auto; filter: invert(1); padding-left: 20px; padding-right: 10px; " ,
113113 class_ = "me-2" ,
114114 )
115115
116+ with vuetify .VTooltip (location = "top" ):
117+ with html .Template (v_slot_activator = "{ props }" ):
118+ with vuetify .VBtn (
119+ tag = "a" ,
120+ v_bind = "{...props, target: '_blank'}" ,
121+ v_tooltip = "4C Documentation" ,
122+ href = "https://4c-multiphysics.github.io/4C/documentation/index.html" ,
123+ icon = True ,
124+ rel = "noopener noreferrer" ,
125+ ):
126+ vuetify .VIcon (
127+ "mdi-book-open-blank-variant-outline" ,
128+ size = 36 ,
129+ color = "#666" ,
130+ )
131+ html .Span ("4C Documentation" )
132+
133+ vuetify .VSpacer ()
134+
116135 vuetify .VToolbarTitle (
117136 "4C Webviewer" ,
118137 tag = "h1" ,
119138 shrink = True ,
120139 class_ = "mx-4" ,
121- style = "font-weight: 500;" ,
140+ style = "font-weight: 500; padding-right: 10px; " ,
122141 )
123142
124- vuetify .VSpacer ()
125-
126143 vuetify .VFileInput (
127144 label = "Input file" ,
128145 v_model = ("fourc_yaml_file" ,),
You can’t perform that action at this time.
0 commit comments