root/dev/mods/apiuser/templates/admin_roles.tpl @ 365

Revision 365, 1.9 KB (checked in by exi, 14 years ago)

Updated included EVEAPI to 2.71
Included a mod_xajax compatible apiuser mod
Tweaked some code of the apiuser mod (menu, xajax, templates)
Removed the post.php from the xajax mod.

Line 
1<div class="block-header2">Titles</div>
2Simply click on the part of the line you want to edit.<br>
3  <a href=index.php?a=admin_roles&action=create_title>Create</a>
4
5<table class="kb-table">
6  <tr class="kb-table-header">
7        <td>Title</td><td>Description</td><td>List of role</td><td>Delete</td>
8  </tr>
9{cycle reset=true print=false name=ccl values="kb-table-row-even,kb-table-row-odd"}
10{foreach from=$lsttitle item=title key=name}
11  <tr class="{cycle name=ccl}">
12  <td id="titleName{$title.ttl_id}" style="border:1px solid #CC9900;" valign=top><div  onclick="xajax_editTitleName({$title.ttl_id})">{$title.ttl_name}</div></td>
13  <td id="titleDescr{$title.ttl_id}" style="border:1px solid #CC9900;" valign=top><div onclick="xajax_editTitleDescription({$title.ttl_id})">{$title.ttl_descr}</div></td>
14  <td id="titleRoles{$title.ttl_id}" style="border:1px solid #CC9900;" valign=top><div  onclick="xajax_editTitleRoles({$title.ttl_id})">{$title.lstRoles}</div></td>
15  <td><a href=?a=admin_roles&action=delete&id={$title.ttl_id}>Delete</a></td>
16  </tr>
17{/foreach}
18</table>
19<br/><br/>
20<div class="block-header2">Softcoded Roles</div>
21These roles could be edited if there was a gui for them.<br/><br/>
22<table class="kb-table">
23  <tr class="kb-table-header"><td>Role</td><td>Description</td></tr>
24{cycle reset=true print=false name=ccl values="kb-table-row-even,kb-table-row-odd"}
25{foreach from=$sroles item=role key=name}
26  <tr class="{cycle name=ccl}"><td>{$name}</td><td>{$role}</td></tr>
27{/foreach}
28</table>
29<br/><br/>
30<div class="block-header2">Hardcoded Roles</div>
31You can't edit these roles because they are hardcoded into the core.<br/><br/>
32<table class="kb-table">
33  <tr class="kb-table-header"><td>Role</td><td>Description</td></tr>
34{cycle reset=true print=false name=ccl values="kb-table-row-even,kb-table-row-odd"}
35{foreach from=$hroles item=role key=name}
36  <tr class="{cycle name=ccl}"><td>{$name}</td><td>{$role}</td></tr>
37{/foreach}
38</table>
Note: See TracBrowser for help on using the browser.