diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-04-25 10:42:28 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-04-25 10:42:28 +0000 |
commit | 9c7c49f921f0a60fb4c50bf8d598967a481f1b25 (patch) | |
tree | 74927593289dfc9802edc2d2058fdf2352d18650 | |
parent | fb7ce759c1045daf20e416547e6111f796030b60 (diff) | |
download | acf-weblog-9c7c49f921f0a60fb4c50bf8d598967a481f1b25.tar.bz2 acf-weblog-9c7c49f921f0a60fb4c50bf8d598967a481f1b25.tar.xz |
Minor cleanup of html views
-rw-r--r-- | weblog-adhocquery-html.lsp | 2 | ||||
-rw-r--r-- | weblog-listfiles-html.lsp | 2 | ||||
-rw-r--r-- | weblog-viewweblog-html.lsp | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/weblog-adhocquery-html.lsp b/weblog-adhocquery-html.lsp index 0e381da..a433780 100644 --- a/weblog-adhocquery-html.lsp +++ b/weblog-adhocquery-html.lsp @@ -47,7 +47,7 @@ end <thead> <tr> <% for i,name in ipairs(form.value.names.value) do %> - <th class="header"><%= html.html_escape(name) %></th> + <th><%= html.html_escape(name) %></th> <% end %> </tr> </thead> diff --git a/weblog-listfiles-html.lsp b/weblog-listfiles-html.lsp index a5f28b8..8cc522c 100644 --- a/weblog-listfiles-html.lsp +++ b/weblog-listfiles-html.lsp @@ -54,7 +54,7 @@ end <tr> <td><% htmlviewfunctions.displayitem(cfe({type="link", value={filename=filename, redir=redir}, label="", option="Edit", action="editfile"}), page_info, -1) %></td> <td><%= html.html_escape(file.filename) %></td> - <td><span style="display:none"><%= convertsize(file.size) %>b</span><%= html.html_escape(file.size) %></td> + <td><span class="hide"><%= convertsize(file.size) %>b</span><%= html.html_escape(file.size) %></td> <td><%= html.html_escape(file.mtime) %></td> </tr> <% end %> diff --git a/weblog-viewweblog-html.lsp b/weblog-viewweblog-html.lsp index 0310f46..050489e 100644 --- a/weblog-viewweblog-html.lsp +++ b/weblog-viewweblog-html.lsp @@ -190,9 +190,9 @@ end %> <td <% if data.value.clientip.value == watch.clientip then %> style="font-weight:bold;" <% end %> ><%= html.html_escape(watch.clientip) %></td> <td <% if data.value.clientuserid.value == watch.clientuserid then %> style="font-weight:bold;" <% end %> ><%= html.html_escape(watch.clientuserid) %></td> <td><%= html.html_escape(watch.bytes) %></td> - <td><span style="display:none"><%= html.html_escape(watch.badyesno) %></span><% if watch.badyesno ~= "0" then %><img src='<%= html.html_escape(page_info.wwwprefix..page_info.staticdir) %>/dodgy.png' width='13' height='13'><% end %></td> - <td><span style="display:none"><%= html.html_escape(watch.deniedyesno) %></span><% if watch.deniedyesno ~= "0" then %> <img src='<%= html.html_escape(page_info.wwwprefix..page_info.staticdir) %>/denied.png' width='13' height='13'><% end %></td> - <td><span style="display:none"><%= html.html_escape(watch.bypassyesno) %></span><% if watch.bypassyesno ~= "0" then %> <img src='<%= html.html_escape(page_info.wwwprefix..page_info.staticdir) %>/bypass.png' width='13' height='13'><% end %></td> + <td><span class="hide"><%= html.html_escape(watch.badyesno) %></span><% if watch.badyesno ~= "0" then %><img src='<%= html.html_escape(page_info.wwwprefix..page_info.staticdir) %>/dodgy.png' width='13' height='13'><% end %></td> + <td><span class="hide"><%= html.html_escape(watch.deniedyesno) %></span><% if watch.deniedyesno ~= "0" then %> <img src='<%= html.html_escape(page_info.wwwprefix..page_info.staticdir) %>/denied.png' width='13' height='13'><% end %></td> + <td><span class="hide"><%= html.html_escape(watch.bypassyesno) %></span><% if watch.bypassyesno ~= "0" then %> <img src='<%= html.html_escape(page_info.wwwprefix..page_info.staticdir) %>/bypass.png' width='13' height='13'><% end %></td> <td><%= html.html_escape(watch.score) %></td> <td<% if (watch.shortreason and watch.shortreason ~= "" and watch.reason and watch.reason ~= "") then %> title="<%= html.html_escape(watch.reason) %>"<% end %>> <% if (watch.shortreason and watch.shortreason ~= "") then %> |