Skip to content

Commit

Permalink
Update bases.py
Browse files Browse the repository at this point in the history
  • Loading branch information
manatlan authored Sep 20, 2024
1 parent c32cd69 commit b6afcea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions htagui/shoelace/bases.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
from ..common import ensuredict,ListOrDict,autoclosemenu

STATICS = [
Tag.link(_rel="stylesheet",_href="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.14.0/cdn/themes/dark.css" ),
Tag.link(_rel="stylesheet",_href="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.14.0/cdn/themes/light.css" ),
Tag.script(_type="module",_src="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.14.0/cdn/shoelace-autoloader.js"),
Tag.link(_rel="stylesheet",_href="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.16.0/cdn/themes/dark.css" ),
Tag.link(_rel="stylesheet",_href="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.16.0/cdn/themes/light.css" ),
Tag.script(_type="module",_src="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.16.0/cdn/shoelace-autoloader.js"),
Tag.style("""
:not(:defined) {
visibility: hidden;
Expand Down Expand Up @@ -246,4 +246,4 @@ def init(self,metatag,selected=0):
for idx,i in enumerate(metatag._tabs):
name = hasattr(i,"name") and i.name or "?(name)?"
self+=Tag.sl_tab(name, _slot="nav", _onclick = metatag.stepevent(select=idx), _active=(idx==selected))
if metatag._tabs: self+=metatag._tabs[selected]
if metatag._tabs: self+=metatag._tabs[selected]

0 comments on commit b6afcea

Please sign in to comment.