diff options
-rw-r--r-- | openssh-connectedpeers-html.lsp | 7 | ||||
-rw-r--r-- | openssh-listauth-html.lsp | 3 |
2 files changed, 5 insertions, 5 deletions
diff --git a/openssh-connectedpeers-html.lsp b/openssh-connectedpeers-html.lsp index baa8077..ba3bb98 100644 --- a/openssh-connectedpeers-html.lsp +++ b/openssh-connectedpeers-html.lsp @@ -8,7 +8,6 @@ io.write("</span>") %> <H1>Connected peers</H1> -<DL> <% if #data == 0 then io.write("No peers found\n") @@ -18,7 +17,7 @@ for k,v in pairs(data) do io.write("<H3>" .. html.html_escape(v.host)) if v.name and v.name ~= v.host then io.write(" - "..html.html_escape(v.name)) end io.write("</H3>\n") - io.write("<TABLE>") + io.write("<DL><TABLE>") for i=1, v.cnt do io.write("<TR>") if (v.tty[i]) then @@ -48,7 +47,7 @@ for k,v in pairs(data) do end io.write("</TR>") end - io.write("</TABLE>") + io.write("</TABLE></DL>") end %> -</DL> + diff --git a/openssh-listauth-html.lsp b/openssh-listauth-html.lsp index 618e177..6df3f0a 100644 --- a/openssh-listauth-html.lsp +++ b/openssh-listauth-html.lsp @@ -24,7 +24,8 @@ <TD style="white-space:nowrap;"><% if #auth.key>32 then io.write(html.html_escape(string.sub(auth.key,0,16)) .. " ... " .. html.html_escape(string.sub(auth.key, -16))) else io.write(html.html_escape(auth.key)) end %></TD> </TR> <% end %> -</TABLE></DL> +</TABLE> <p>In order to preserve keys with lbu, you must add /<% if view.value.user.value ~= "root" then io.write("home/") end %><%= view.value.user.value %>/.ssh/authorized_keys to lbu include +</DL> <% viewlibrary.dispatch_component("addauth", {user=view.value.user.value}) %> |