EasySci commited on
Commit
1960f31
·
1 Parent(s): d41a32b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -2,8 +2,8 @@ import panel as pn
2
 
3
  # Create buttons for the toggleable sidebar
4
  button1 = pn.widgets.Button(icon='home', name="Home", icon_size='2em', width=130)
5
- button2 = pn.widgets.Button(icon='file-analytics', name='My papers', icon_size='2em', width=130)
6
- button3 = pn.widgets.Button(icon='settings', icon_size='2em', name='Settings', width=130)
7
 
8
  # Create a column layout for the buttons inside the toggleable sidebar
9
  buttons = pn.Column(button1, button2, button3, sizing_mode='stretch_width', css_classes=['hidden'])
@@ -58,4 +58,4 @@ template = pn.template.FastListTemplate(
58
  )
59
 
60
  # Run the app
61
- template.servable()
 
2
 
3
  # Create buttons for the toggleable sidebar
4
  button1 = pn.widgets.Button(icon='home', name="Home", icon_size='2em', width=130)
5
+ button2 = pn.widgets.Button(icon='file-analytics', name='My papers', icon_size='2em', width=130, style={'background': 'black', 'color': 'white'})
6
+ button3 = pn.widgets.Button(icon='settings', icon_size='2em', name='Settings', width=130, style={'background': 'black', 'color': 'white'})
7
 
8
  # Create a column layout for the buttons inside the toggleable sidebar
9
  buttons = pn.Column(button1, button2, button3, sizing_mode='stretch_width', css_classes=['hidden'])
 
58
  )
59
 
60
  # Run the app
61
+ template.servable()