diff options
Diffstat (limited to 'app/acf-util/password-status-html.lsp')
-rw-r--r-- | app/acf-util/password-status-html.lsp | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/app/acf-util/password-status-html.lsp b/app/acf-util/password-status-html.lsp index f322b55..9316bda 100644 --- a/app/acf-util/password-status-html.lsp +++ b/app/acf-util/password-status-html.lsp @@ -4,35 +4,35 @@ <% htmlviewfunctions.displaycommandresults({"newuser", "edituser", "deleteuser"}, session) %> -<H1>User Accounts</H1> -<H2>Create new account</H2> -<form action="<%= page_info.script .. page_info.prefix .. page_info.controller %>/newuser" method="POST"> +<h1>User Accounts</h1> +<h2>Create new account</h2> +<form action="<%= page_info.script .. page_info.prefix .. page_info.controller %>/newuser" method="post"> <input class="hidden" type="hidden" name="redir" value="<%= html.html_escape(page_info.orig_action) %>" > -<dl><dt></dt><dd><input class="submit" type="submit" value="Create"></dd></dl> +<div class='item'><p class='left'></p><div class='right'><input class="submit" type="submit" value="Create"></div></div><!-- end .item --> </form> -<H2>Existing account</H2> -<DL> +<h2>Existing account</h2> <% for i,user in ipairs(form.value) do local name = html.html_escape(user.value.userid.value) %> - <DT><IMG SRC='<%= html.html_escape(page_info.wwwprefix..page_info.staticdir) %>/tango/16x16/apps/system-users.png' HEIGHT='16' WIDTH='16'> <%= name %></DT> - <DD><TABLE> - <TR> - <TD STYLE='border:none;'><B><%= html.html_escape(user.value.userid.label) %></B></TD> - <TD STYLE='border:none;' WIDTH='90%'><%= html.html_escape(user.value.userid.value) %></TD> - </TR><TR> - <TD STYLE='border:none;'><B><%= html.html_escape(user.value.username.label) %></B></TD> - <TD STYLE='border:none;'><%= html.html_escape(user.value.username.value) %></TD> - </TR><TR> - <TD STYLE='border:none;'><B><%= html.html_escape(user.value.roles.label) %></B></TD> - <TD STYLE='border:none;'><%= html.html_escape(table.concat(user.value.roles.value, ", ")) %></TD> - </TR><TR> - <TD STYLE='border:none;'><B>Option</B></TD> - <TD STYLE='border:none;'> - [<A HREF='edituser?userid=<%= name %>&redir=<%= html.html_escape(page_info.orig_action) %>'>Edit this account</A>] - [<A HREF='deleteuser?userid=<%= name %>&submit=true'>Delete this account</A>] - [<A HREF='<%= html.html_escape(page_info.script) %>/acf-util/roles/viewuserroles?userid=<%= name %>'>View roles for this account</A>] - </TD> - </TR> - </TABLE></DD> + <div class='item'><p class='left'><img src='<%= html.html_escape(page_info.wwwprefix..page_info.staticdir) %>/tango/16x16/apps/system-users.png' height='16' width='16'> <%= name %></p> + <div class='right'> + <table><tbody> + <tr> + <td style='border:none;'><b><%= html.html_escape(user.value.userid.label) %></b></td> + <td style='border:none;' width='90%'><%= html.html_escape(user.value.userid.value) %></td> + </tr><tr> + <td style='border:none;'><b><%= html.html_escape(user.value.username.label) %></b></td> + <td style='border:none;'><%= html.html_escape(user.value.username.value) %></td> + </tr><tr> + <td style='border:none;'><b><%= html.html_escape(user.value.roles.label) %></b></td> + <td style='border:none;'><%= html.html_escape(table.concat(user.value.roles.value, ", ")) %></td> + </tr><tr> + <td style='border:none;'><b>Option</b></td> + <td style='border:none;'> + [<a href='edituser?userid=<%= name %>&redir=<%= html.html_escape(page_info.orig_action) %>'>Edit this account</a>] + [<a href='deleteuser?userid=<%= name %>&submit=true'>Delete this account</a>] + [<a href='<%= html.html_escape(page_info.script) %>/acf-util/roles/viewuserroles?userid=<%= name %>'>View roles for this account</a>] + </td> + </tr> + </tbody></table> + </div></div><!-- end .item --> <% end %> -</DL> |