Wiki source code of NewHRAFUser
Last modified by editors on 2021/12/30 19:19
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | <div id="xwikieditcontent"> | ||
2 | <h2>Users</h2> | ||
3 | <table class="xwiki-livetable" id="userstable"> | ||
4 | <tbody><tr> | ||
5 | <td class="xwiki-livetable-pagination" colspan="2"> | ||
6 | <span class="xwiki-livetable-limits" id="userstable-limits">Results <strong>1</strong> - <strong>2</strong> out of <strong>2</strong></span> | ||
7 | <span class="xwiki-livetable-loader hidden" id="userstable-ajax-loader"><img alt="Loading..." src="/resources/icons/xwiki/ajax%2Dloader%2Dlarge.gif" title="">Loading...</span> | ||
8 | <span class="pagination"> | ||
9 | <span class="xwiki-livetable-pagination-text" id="userstable-pagination-text">Page</span> | ||
10 | <span class="xwiki-livetable-pagination-content" id="userstable-pagination"><a class="pagenumber selected" href="#">1</a> </span> | ||
11 | </span> | ||
12 | </td> | ||
13 | </tr> | ||
14 | <tr> | ||
15 | <td class="xwiki-livetable-display-container"> | ||
16 | <table class="xwiki-livetable-display"> | ||
17 | <thead class="xwiki-livetable-display-header"> | ||
18 | <tr> | ||
19 | <th class="xwiki-livetable-display-header-text" scope="col">Username</th> | ||
20 | <th class="xwiki-livetable-display-header-text" scope="col">First name</th> | ||
21 | <th class="xwiki-livetable-display-header-text" scope="col">Last name</th> | ||
22 | <th class="xwiki-livetable-display-header-text" scope="col">Manage</th> | ||
23 | </tr> | ||
24 | <tr class="xwiki-livetable-display-filters" id="userstable-filters"> | ||
25 | <td class="xwiki-livetable-display-header-filter"><label class="hidden" for="name">Username filter</label><input class="filter" id="name" name="name" type="text"></td> | ||
26 | <td class="xwiki-livetable-display-header-filter"><label class="hidden" for="first_name">Username filter</label><input class="filter" id="first_name" name="first_name" type="text"></td> | ||
27 | <td class="xwiki-livetable-display-header-filter"><label class="hidden" for="last_name">Username filter</label><input class="filter" id="last_name" name="last_name" type="text"></td> | ||
28 | <td class="xwiki-livetable-display-header-filter"> | ||
29 | <select class="filter xwiki-livetable-filter-active" name="wiki"> | ||
30 | <option selected="selected" value="local">Local</option> | ||
31 | <option value="global">Global</option> | ||
32 | <option value="both">Both</option> | ||
33 | </select> | ||
34 | </td> | ||
35 | </tr> | ||
36 | </thead> | ||
37 | <tbody class="xwiki-livetable-display-body" id="userstable-display"><tr><td class="username"><a href="/XWiki/ajbicker">ajbicker</a></td><td>Alan</td><td>Bicker</td><td class="manage"><img src="/resources/js/xwiki/usersandgroups/img/edit.png" title="Edit" class="icon-manage"><img src="/resources/js/xwiki/usersandgroups/img/clear.png" class="icon-manage" title="Delete"></td></tr><tr><td class="username"><a href="/XWiki/ladmin">ladmin</a></td><td>Local</td><td>ADMIN</td><td class="manage"><img src="/resources/js/xwiki/usersandgroups/img/edit.png" title="Edit" class="icon-manage"><img src="/resources/js/xwiki/usersandgroups/img/clear.png" class="icon-manage" title="Delete"></td></tr></tbody> | ||
38 | </table> | ||
39 | </td> | ||
40 | </tr> | ||
41 | <tr><td colspan="3" id="tdAddNewUserOrGroup"> | ||
42 | <span class="buttonwrapper"><a class="addNewUserOrGroup" href="#" id="addNewUser">Add new user</a></span> | ||
43 | </td></tr> | ||
44 | </tbody></table> | ||
45 | |||
46 | <script type="text/javascript">//<![CDATA[ | ||
47 | |||
48 | // | ||
49 | (function() { | ||
50 | var startup = function() { | ||
51 | var callback = function(row, i, table) { return displayUsers(row, i, table, "CldyuMND9XNNbqFu2dTGyQ"); }; | ||
52 | var ta = new XWiki.widgets.LiveTable("/get/XWiki/XWikiPreferences?xpage=getusers", "userstable", callback); | ||
53 | Event.observe($('addNewUser'), "click", makeAddHandler("/XWiki/XWikiPreferences?xpage=registerinline", "/register/XWiki/XWikiPreferences?xpage=registerinline", "/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=Users")); | ||
54 | } | ||
55 | if ((typeof(XWiki) != 'undefined') && (typeof(XWiki.widgets) != 'undefined') && (typeof(XWiki.widgets.LiveTable) != 'undefined')) { | ||
56 | startup(); | ||
57 | } else { | ||
58 | document.observe('xwiki:livetable:loading', startup); | ||
59 | } | ||
60 | })(); | ||
61 | // | ||
62 | |||
63 | //]]></script> | ||
64 | </div> | ||
65 | <script type="text/javascript"> | ||
66 | //<![CDATA[ | ||
67 | |||
68 | // | ||
69 | (function() { | ||
70 | var startup = function() { | ||
71 | var callback = function(row, i, table) { return displayUsers(row, i, table, "CldyuMND9XNNbqFu2dTGyQ"); }; | ||
72 | var ta = new XWiki.widgets.LiveTable("/get/XWiki/XWikiPreferences?xpage=getusers", "userstable", callback); | ||
73 | Event.observe($('addNewUser'), "click", makeAddHandler("/XWiki/XWikiPreferences?xpage=registerinline", "/register/XWiki/XWikiPreferences?xpage=registerinline", "/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=Users")); | ||
74 | } | ||
75 | if ((typeof(XWiki) != 'undefined') && (typeof(XWiki.widgets) != 'undefined') && (typeof(XWiki.widgets.LiveTable) != 'undefined')) { | ||
76 | startup(); | ||
77 | } else { | ||
78 | document.observe('xwiki:livetable:loading', startup); | ||
79 | } | ||
80 | })(); | ||
81 | // | ||
82 | |||
83 | //]]></script> | ||
84 |