summaryrefslogtreecommitdiffstats
path: root/app/acf-util/roles-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'app/acf-util/roles-html.lsp')
-rw-r--r--app/acf-util/roles-html.lsp10
1 files changed, 7 insertions, 3 deletions
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 ?>
<? --]] ?>