summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xapp/acf-util/password-status-html.lsp16
-rw-r--r--app/acf-util/roles-html.lsp10
-rw-r--r--www/ice/ice.css5
3 files changed, 18 insertions, 13 deletions
diff --git a/app/acf-util/password-status-html.lsp b/app/acf-util/password-status-html.lsp
index f3ab6e1..8c542b2 100755
--- a/app/acf-util/password-status-html.lsp
+++ b/app/acf-util/password-status-html.lsp
@@ -18,17 +18,17 @@ io.write("</span>")
<DT><IMG SRC='/static/tango/16x16/apps/system-users.png' HEIGHT='16' WIDTH='16'> <?= name ?></DT>
<DD><TABLE>
<TR>
- <TD><B><?= user.value.userid.label ?></B></TD>
- <TD WIDTH='90%'><?= user.value.userid.value ?></TD>
+ <TD STYLE='border:none;'><B><?= user.value.userid.label ?></B></TD>
+ <TD STYLE='border:none;' WIDTH='90%'><?= user.value.userid.value ?></TD>
</TR><TR>
- <TD><B><?= user.value.username.label ?></B></TD>
- <TD><?= user.value.username.value ?></TD>
+ <TD STYLE='border:none;'><B><?= user.value.username.label ?></B></TD>
+ <TD STYLE='border:none;'><?= user.value.username.value ?></TD>
</TR><TR>
- <TD><B><?= user.value.roles.label ?></B></TD>
- <TD><?= table.concat(user.value.roles.value, " / ") ?></TD>
+ <TD STYLE='border:none;'><B><?= user.value.roles.label ?></B></TD>
+ <TD STYLE='border:none;'><?= table.concat(user.value.roles.value, " / ") ?></TD>
</TR><TR>
- <TD><B>Option</B></TD>
- <TD>
+ <TD STYLE='border:none;'><B>Option</B></TD>
+ <TD STYLE='border:none;'>
[<A HREF='edituser?userid=<?= name ?>'>Edit this account</A>]
[<A HREF='deleteuser?userid=<?= name ?>'>Delete this account</A>]
[<A HREF='<?= pageinfo.script ?>/acf-util/roles/viewuserroles?userid=<?= name ?>'>View roles for this account</A>]
diff --git a/app/acf-util/roles-html.lsp b/app/acf-util/roles-html.lsp
index 2f4c8b1..a5c89dc 100644
--- a/app/acf-util/roles-html.lsp
+++ b/app/acf-util/roles-html.lsp
@@ -33,8 +33,10 @@
controllers[#controllers + 1] = cont
end
table.sort(controllers)
+ io.write("<TABLE>")
+ io.write("<TR><TD CLASS='header'>Controller</TD><TD CLASS='header'>Action(s)</TD>")
for x,cont in ipairs(controllers) do
- print("<b>",cont,"</b>")
+ print("<TR><TD STYLE='font-weight:bold;'>",cont,"</TD><TD>")
-- Again, alphabetical order
local actions = {}
for act in pairs(view.value.permissions.value[cont]) do
@@ -44,7 +46,9 @@
for y,act in pairs(actions) do
print(act)
end
- print("<br>")
- end ?>
+ io.write("<TD></TR>")
+ end
+ io.write("</TABLE>")
+ ?>
<? end ?>
<? --]] ?>
diff --git a/www/ice/ice.css b/www/ice/ice.css
index 77bf770..3a4f66e 100644
--- a/www/ice/ice.css
+++ b/www/ice/ice.css
@@ -375,8 +375,9 @@ body {
border: none;
}
#content table td {
- padding-right: 10px;
- white-space: normal;
+ padding-right: 10px;
+ white-space: normal;
+ border-bottom: 1px solid #ccc;
}