Template Settings Component Added
I’ve added a little nice TemplateSettings
component to the header of awesome-panel.org that allows you to switch between the different templates and themes.
I use the new SyncLocation
object which makes it super easy to bind widgets and parameters to url query arguments. See the example https://panel.holoviz.org/gallery/simple/sync_location.html#simple-gallery-sync-location
I use the Icon
and AwesomeButton
from the awesome-panel-extensions package. Check Out the reference Guide on Binder https://mybinder.org/v2/gh/MarcSkovMadsen/awesome-panel-extensions/master?filepath=examples%2Freference%2Fmodels%2FIcon.ipynb
If you would like to the see source code of the TemplateSettings
component check out https://github.com/MarcSkovMadsen/awesome-panel/blob/master/application/template/template_settings.py.
If you would like to know more about how I integrate the Panel templates with awesome-panel.org, then take a look at https://github.com/MarcSkovMadsen/awesome-panel/tree/master/application/template.Note:
This code will be refactored and moved to the awesome-panel-extensions package eventually
Feel free to share on Twitter if you like. https://twitter.com/MarcSkovMadsen/status/1322033787560230913?s=20