This commit is contained in:
Marc Beninca 2023-07-25 12:01:20 +02:00
parent e090a45c35
commit b040d53c8a

View file

@ -57,6 +57,10 @@ def main():
name="tab" id="tab/my" />
<label for="tab/my">My/</label>
<div><div class="tabs">
<input type="radio" onclick="update(id)"
name="tab/my" id="tab/my/about" />
<label for="tab/my/about">About</label>
<div>{tabs['about']}</div>
<input type="radio" onclick="update(id)"
name="tab/my" id="tab/my/bio" />
<label for="tab/my/bio">Bio</label>
@ -363,7 +367,7 @@ function main() {{
if (tab) {{
check(tab)
}} else {{
tab = 'my/bio'
tab = 'my/about'
check(tab)
push(tab)
}}
@ -387,6 +391,10 @@ function swap() {{
tabs = {
#⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅
'about': f'''\
About
''',
#⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅
'bio': f'''\
<h1>Marc Beninca</h1>