/BlogEngine/BlogEngine.NET/Templates/roles.htm
HTML | 35 lines | 35 code | 0 blank | 0 comment | 0 complexity | a89b2d36ba09ef9f69b44b61333a5fcc MD5 | raw file
1{#if $T.d.length == 0} 2<div class="info"> 3 You haven't defined any roles so far. To add a new role use the link in the top right corner of the page. 4</div> 5{#else} 6<table id="RoleService" class="beTable rounded"> 7 <thead> 8 <tr> 9 <th width="20"><input type="checkbox" name="chkAllRoles" onclick="toggleAllChecks(this)"/></th> 10 <th width="auto">Roles</th> 11 <th width="120"> </th> 12 </tr> 13 </thead> 14 <tbody> 15 {#foreach $T.d as post} 16 <tr class="{#cycle values=['','alt']}"> 17 <td><input type="checkbox" name="chk"{$T.post.RoleName} class="chk"/></td> 18 <td class="editable">{$T.post.RoleName}</td> 19 <td> 20 <ul class="rowTools"> 21 <li> 22 <a class="toolsAction" href="#"><span class="">Tools</span></a> 23 <ul class="rowToolsMenu"> 24 {#if !$T.post.IsSystemRole}<li><a href="#" class="editButton editAction">Edit</a></li>{#/if} 25 {#if !$T.post.IsSystemRole}<li><a href="#" class="deleteButton deleteAction">Delete</a></li>{#/if} 26 <li><a href="Rights.aspx?role={$T.post.RoleName}" class="rightsAction">Rights</a></li> 27 </ul> 28 </li> 29 </ul> 30 </td> 31 </tr> 32 {#/for} 33 </tbody> 34</table> 35{#/if}