diversen opmerkingen
This commit is contained in:
@@ -4,23 +4,30 @@
|
||||
<table class="table table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>rol</th>
|
||||
<!-- ko foreach:roles -->
|
||||
<th>
|
||||
<span data-bind="text:rolename"></span>
|
||||
</th>
|
||||
<!-- /ko -->
|
||||
<th>
|
||||
pagina
|
||||
</th>
|
||||
<th v-for="(role, roleIndex) in roles" align="center">
|
||||
<span>{{ role.rolename }}</span>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<td>
|
||||
<span data-bind="text:pagename"></span>
|
||||
</td>
|
||||
<!-- ko foreach:roles -->
|
||||
<th>
|
||||
<span data-bind="text:rolename"></span>
|
||||
</th>
|
||||
<!-- /ko -->
|
||||
<tr v-for="(page, pageIndex) in pages">
|
||||
<td>
|
||||
<span v-bind:class="{'main-menu': page.typePage == 'MAIN', 'sub-page': page.typePage != 'MAIN'}" >
|
||||
{{ page.pagename }}
|
||||
</span>
|
||||
</td>
|
||||
<td v-for="(accessPage, roleIndex) in page.accessPages" align="center">
|
||||
<i v-if="accessPage.access"
|
||||
v-on:click="toggleAccess(pageIndex, roleIndex)"
|
||||
class="icon fa-check pointer"></i>
|
||||
<i v-if="! accessPage.access"
|
||||
v-on:click="toggleAccess(pageIndex, roleIndex)"
|
||||
class="icon fa-square-o pointer"></i>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user