Skip to content

Commit

Permalink
Rework reportUserPermissions html code to use bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
jhinghaus authored and dwt committed Jun 12, 2018
1 parent 5fb45f5 commit cd6ab78
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions src/OFS/dtml/reportUserPermissions.dtml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,26 @@ in the context of the current object.
<br/>
<br/>

<table width="50%" cellspacing="0" cellpadding="4" border="1" nowrap>
<table class="table">
<thead>
<tr>
<th>Roles</th>
<th>Roles in context</th>
<th scope="col" class="w-50">Roles</th>
<th scope="col" class="w-50">Roles in context</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top">
<ul>
<ul class="list-group zmi-roles">
<dtml-in "result['roles']">
<li>&dtml-sequence-item;
<li class="list-group-item">&dtml-sequence-item;
</dtml-in>
</ul>
</td>
<td valign="top">
<ul>
<ul class="list-group zmi-rolesincontext">
<dtml-in "result['roles_in_context']">
<li>&dtml-sequence-item;
<li class="list-group-item">&dtml-sequence-item;
</dtml-in>
</ul>
</td>
Expand All @@ -45,26 +45,26 @@ in the context of the current object.

<br/>

<table width="50%" cellspacing="0" cellpadding="4" border="1" nowrap>
<table class="table">
<thead>
<tr>
<th>Allowed permissions</th>
<th>Disallowed permissions</th>
<th scope="col" class="w-50">Allowed permissions</th>
<th scope="col" class="w-50">Disallowed permissions</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top">
<ul>
<ul class="list-group zmi-allowed">
<dtml-in "result['allowed_permissions']">
<li>&dtml-sequence-item;
<li class="list-group-item">&dtml-sequence-item;
</dtml-in>
</ul>
</td>
<td valign="top">
<ul>
<ul class="list-group zmi-disallowed">
<dtml-in "result['disallowed_permissions']">
<li>&dtml-sequence-item;
<li class="list-group-item">&dtml-sequence-item;
</dtml-in>
</ul>
</td>
Expand All @@ -76,4 +76,3 @@ in the context of the current object.
</dtml-let>

<dtml-var manage_page_footer>

0 comments on commit cd6ab78

Please sign in to comment.