Spaces:
Sleeping
Sleeping
Update app2.py
Browse files
app2.py
CHANGED
|
@@ -35,7 +35,7 @@ main_body = [pn.pane.LaTeX("Please select some tags!", styles={'font-size': '20p
|
|
| 35 |
button1 = pn.widgets.Button(icon='home', name="Daily papers", icon_size='1.5em', button_type = 'primary', button_style = 'outline', width = 140)
|
| 36 |
button2 = pn.widgets.Button(icon='calendar-filled', name="Search papers", icon_size='1.5em', button_type = 'primary', button_style = 'outline', width = 140)
|
| 37 |
button3 = pn.widgets.Button(icon='file-analytics', name='My papers', icon_size='1.5em', button_type = 'primary', button_style = 'outline', width = 140)
|
| 38 |
-
button4 = pn.widgets.Toggle(name='Accessibility',icon='settings', icon_size='1.5em', button_type='
|
| 39 |
|
| 40 |
# Custom RadioButtonGroup widget
|
| 41 |
select = pn.widgets.RadioButtonGroup(value="Scientic", options=["General", "Scientic"], name='String', align='center', button_type='default') # , align='center'
|
|
@@ -173,7 +173,7 @@ template = pn.template.FastListTemplate(
|
|
| 173 |
header_background="#FFFFFF",
|
| 174 |
header_color="#000000",
|
| 175 |
text_align='center',
|
| 176 |
-
sidebar_width=
|
| 177 |
sizing_mode = 'stretch_both'
|
| 178 |
)
|
| 179 |
|
|
|
|
| 35 |
button1 = pn.widgets.Button(icon='home', name="Daily papers", icon_size='1.5em', button_type = 'primary', button_style = 'outline', width = 140)
|
| 36 |
button2 = pn.widgets.Button(icon='calendar-filled', name="Search papers", icon_size='1.5em', button_type = 'primary', button_style = 'outline', width = 140)
|
| 37 |
button3 = pn.widgets.Button(icon='file-analytics', name='My papers', icon_size='1.5em', button_type = 'primary', button_style = 'outline', width = 140)
|
| 38 |
+
button4 = pn.widgets.Toggle(name='Accessibility',icon='settings', icon_size='1.5em', button_type='primary', button_style='outline', width=140, value=False)
|
| 39 |
|
| 40 |
# Custom RadioButtonGroup widget
|
| 41 |
select = pn.widgets.RadioButtonGroup(value="Scientic", options=["General", "Scientic"], name='String', align='center', button_type='default') # , align='center'
|
|
|
|
| 173 |
header_background="#FFFFFF",
|
| 174 |
header_color="#000000",
|
| 175 |
text_align='center',
|
| 176 |
+
sidebar_width=200,
|
| 177 |
sizing_mode = 'stretch_both'
|
| 178 |
)
|
| 179 |
|