Spaces:
Sleeping
Sleeping
File size: 2,012 Bytes
d97075d ba5bbfe d97075d 9b83dc6 6ed4f8c 64a1d92 6ed4f8c d97075d 9b83dc6 d97075d 9b83dc6 d97075d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | # -*- coding: utf-8 -*-
"""
Created on Tue Mar 21 09:40:57 2023
@author: BorowyP
"""
import panel as pn
pn.extension(sizing_mode="stretch_width")
home_link_content= '''<a href="https://paulborowy-20230303-multiple-panel.hf.space" target="_blank">Startseite</a>'''
temp_air_link_content = '''<a href="https://holzdeko-lufttemperatur.hf.space" target="_blank">Lufttemperatur</a>'''
hum_air_link_content = '''<a href="https://holzdeko-luftfeuchte.hf.space" target="_blank">Luftfeuchte</a>'''
nied_link_content = '''<a href="https://holzdeko-niederschlag.hf.space" target="_blank">Niederschlag</a>'''
temp_soil_link_content = '''<a href="https://holzdeko-bodentemperatur.hf.space" target="_blank">Bodentemperatur</a>'''
hum_soil_link_content = '''<a href="https://holzdeko-bodenfeuchte.hf.space" target="_blank">Bodenfeuchte</a>'''
hemisfere_link_content = '''<a href="https://holzdeko-hemisfere.hf.space" target="_blank">Hemisfere</a>'''
streu_link_content = '''<a href="https://holzdeko-streufall.hf.space" target="_blank">Streufall</a>'''
masseverlust_link_content = '''<a href="https://holzdeko-masseverlust.hf.space" target="_blank">Masseverlust</a>'''
home_link = pn.panel(home_link_content)
temp_air_link = pn.panel(temp_air_link_content)
hum_air_link = pn.panel(hum_air_link_content)
nied_link = pn.panel(nied_link_content)
temp_soil_link = pn.panel(temp_soil_link_content)
hum_soil_link = pn.panel(hum_soil_link_content)
hemisfere_link = pn.panel(hemisfere_link_content)
streu_link = pn.panel(streu_link_content)
masseverlust_link = pn.panel(masseverlust_link_content)
menu_sidebar_link_col = pn.Column(
home_link,
temp_air_link,
hum_air_link,
nied_link,
temp_soil_link,
hum_soil_link,
hemisfere_link,
streu_link,
masseverlust_link
)
template = pn.template.FastListTemplate(
#title='sidebar_menu',
sidebar=[menu_sidebar_link_col
]
#main=[],
#accent_base_color="#00613a",
#header_background="#00613a"
)
template.servable(); |