summaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
authorBrian Cully <bjc@spork.org>2025-05-12 22:29:56 -0400
committerBrian Cully <bjc@spork.org>2025-05-12 22:29:56 -0400
commit314a84382ecb31a2f1faa879855ce20b9f442036 (patch)
tree96de3a0e3e5b2685f5cd58b84383fc7d85c47aea /index.html
parentceff45422d39530b09d3d797ef88b97190c4f23c (diff)
downloadchords-314a84382ecb31a2f1faa879855ce20b9f442036.tar.gz
chords-314a84382ecb31a2f1faa879855ce20b9f442036.zip
wip: making some progress on the grid
- got radio buttons back, but open/selected still have different interfaces. should use getAttribute() everywhere
Diffstat (limited to 'index.html')
-rw-r--r--index.html16
1 files changed, 10 insertions, 6 deletions
diff --git a/index.html b/index.html
index 52c6ca8..76284f2 100644
--- a/index.html
+++ b/index.html
@@ -11,12 +11,16 @@
<x-fretboard strings='6' frets='7'>
<template class='string'>
<x-string tonic='' frets='' slot='string'>
- <li><input type='checkbox' name='muted'></li>
- <li class='fret open'><slot name='open'></slot></li>
- <template>
- <li class='fret'><slot name='fret'></slot></li>
- </template>
- <li class='selected'><slot name='selected'>selected</slot></li>
+ <form>
+ <input type='checkbox' name='muted'>
+ <li class='fret open'><slot name='open'></slot></li>
+ <template>
+ <li class='fret'>
+ <input slot='fret' type='radio' name='' value=''>
+ </li>
+ </template>
+ <p class='selected'><slot name='selected'>selected</slot></p>
+ </form>
</x-string>
</template>