Skip to content

Commit

Permalink
Merge branch '0-v-0-petite-vue'
Browse files Browse the repository at this point in the history
  • Loading branch information
krausest committed Mar 4, 2023
2 parents ad436aa + b1f7f92 commit 667448c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 30 deletions.
29 changes: 14 additions & 15 deletions frameworks/keyed/petite-vue/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,20 @@ <h1>petite-vue</h1>
</div>
</div>
<table class="table table-hover table-striped test-data">
<tbody>
<tr v-for="item in rows" :class="{danger: item == selected ? 'danger' : ''}" :key="item.id">
<td class="col-md-1">{{item.id}}</td>
<td class="col-md-4">
<a role="select" @click="select(item)">{{item.label}}</a>
</td>
<td class="col-md-1">
<a>
<span role="delete" @click="remove(item)" class="glyphicon glyphicon-remove"
aria-hidden="true"></span>
</a>
</td>
<td class="col-md-6"></td>
</tr>
</tbody>
<tr v-for="item in rows" :class="{danger: item == selected ? 'danger' : ''}" :key="item.id">
<td class="col-md-1">{{item.id}}</td>
<td class="col-md-4">
<a role="select" @click="select(item)">{{item.label}}</a>
</td>
<td class="col-md-1">
<a>
<span role="delete" @click="remove(item)" class="glyphicon glyphicon-remove"
aria-hidden="true"></span>
</a>
</td>
<td class="col-md-6"></td>
</tr>
</table>
</div>
<span class="preloadicon glyphicon glyphicon-remove" aria-hidden="true"></span>
</div>
Expand Down
29 changes: 14 additions & 15 deletions frameworks/non-keyed/petite-vue/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,20 @@ <h1>petite-vue</h1>
</div>
</div>
<table class="table table-hover table-striped test-data">
<tbody>
<tr v-for="item in rows" :class="{danger: item == selected ? 'danger' : ''}">
<td class="col-md-1">{{item.id}}</td>
<td class="col-md-4">
<a role="select" @click="select(item)">{{item.label}}</a>
</td>
<td class="col-md-1">
<a>
<span role="delete" @click="remove(item)" class="glyphicon glyphicon-remove"
aria-hidden="true"></span>
</a>
</td>
<td class="col-md-6"></td>
</tr>
</tbody>
<tr v-for="item in rows" :class="{danger: item == selected ? 'danger' : ''}">
<td class="col-md-1">{{item.id}}</td>
<td class="col-md-4">
<a role="select" @click="select(item)">{{item.label}}</a>
</td>
<td class="col-md-1">
<a>
<span role="delete" @click="remove(item)" class="glyphicon glyphicon-remove"
aria-hidden="true"></span>
</a>
</td>
<td class="col-md-6"></td>
</tr>
</table>
</div>
<span class="preloadicon glyphicon glyphicon-remove" aria-hidden="true"></span>
</div>
Expand Down

0 comments on commit 667448c

Please sign in to comment.