expandable sections

mic_level
Matthew Huntington 3 years ago
parent 226b2c506e
commit d295eb45ca

@ -5,3 +5,6 @@ td,th {
th { th {
background:lightgrey; background:lightgrey;
} }
h2 {
display:inline;
}

@ -23,7 +23,8 @@
</script> </script>
<template> <template>
<h2>Show Category</h2> <details>
<summary><h2>Show Category</h2></summary>
<select @change="change"> <select @change="change">
<option v-for="category in categories" v-bind:value="category.id"> <option v-for="category in categories" v-bind:value="category.id">
{{category.instrument}} {{category.instrument}}
@ -57,6 +58,7 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</details>
</template> </template>
<style scoped> <style scoped>

@ -16,7 +16,8 @@
</script> </script>
<template> <template>
<h2>Summary</h2> <details>
<summary><h2>Summary</h2></summary>
<table> <table>
<thead> <thead>
<tr> <tr>
@ -37,6 +38,7 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</details>
</template> </template>
<style scoped> <style scoped>

Loading…
Cancel
Save