1
0
Fork 0

Striped table

This commit is contained in:
Joe Wroten 2017-05-08 17:11:09 -04:00
parent bb646d64c0
commit 99507b0884
3 changed files with 13 additions and 11 deletions

View file

@ -4,9 +4,9 @@
<q-toolbar-title :padding="0"> <q-toolbar-title :padding="0">
My Spells v2.0 My Spells v2.0
<q-search <q-search
v-model="search" v-model="search"
></q-search> ></q-search>
</q-toolbar-title> </q-toolbar-title>
</div> </div>

View file

@ -1,5 +1,5 @@
<template> <template>
<table class="spell-list q-table highlight compact striped-even"> <table class="spell-list q-table compact striped-odd">
<thead> <thead>
<tr> <tr>
<th class="text-left"> <th class="text-left">
@ -13,12 +13,14 @@
</th> </th>
</tr> </tr>
</thead> </thead>
<tr <tbody>
is="spell-item" <tr
v-for="spell in spells" is="spell-item"
:spell="spell" v-for="spell in spells"
> :spell="spell"
</tr> >
</tr>
</tbody>
</table> </table>
</template> </template>

View file

@ -6,7 +6,7 @@
<meta name="msapplication-tap-highlight" content="no"> <meta name="msapplication-tap-highlight" content="no">
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width"> <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
<title>Quasar App</title> <title>My Spells DnD5e</title>
<link rel="shortcut icon" type="image/x-icon" href="statics/favicon.ico"> <link rel="shortcut icon" type="image/x-icon" href="statics/favicon.ico">
</head> </head>
<body> <body>