diff options
| author | Mika Havela <mika.havela@gmail.com> | 2009-08-10 11:41:16 +0000 | 
|---|---|---|
| committer | Mika Havela <mika.havela@gmail.com> | 2009-08-10 11:41:16 +0000 | 
| commit | f51e44a552e309ffe942a14eef172bc03a7023dd (patch) | |
| tree | 05baaa481179e7beb78d0d1b46460c524da06a15 | |
| parent | 39c4eeaff8947eb984306d975e5acf0e2c04a4b9 (diff) | |
| download | acf-openvpn-f51e44a552e309ffe942a14eef172bc03a7023dd.tar.bz2 acf-openvpn-f51e44a552e309ffe942a14eef172bc03a7023dd.tar.xz  | |
Fixing graphical bugfixes by altering number of columns and
adding whitespace in empty columns.
| -rw-r--r-- | openvpn-listconfigs-html.lsp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/openvpn-listconfigs-html.lsp b/openvpn-listconfigs-html.lsp index fc1f1ab..1191c67 100644 --- a/openvpn-listconfigs-html.lsp +++ b/openvpn-listconfigs-html.lsp @@ -32,7 +32,7 @@ end %>  		<TD><%= html.html_escape(string.gsub(config.name, "^.*/", "")) %></TD>  		<TD <% if config.errtxt then io.write('class="error"') end %>><%= html.html_escape(config.type) %></TD>  		<TD><%= html.html_escape(config.status) %></TD> -		<TD><% if ( config.type == "server" ) then %><% if ( config.clients > 0 ) then %><%= html.link{value = page_info.script .. page_info.prefix .. page_info.controller .. "/statusinfo?name=" .. config.name, label = config.clients } %><% else %><%= html.html_escape(config.clients) %><% end %><% end %></TD> +		<TD><% if ( config.type == "server" ) then %><% if ( config.clients > 0 ) then %><%= html.link{value = page_info.script .. page_info.prefix .. page_info.controller .. "/statusinfo?name=" .. config.name, label = config.clients } %><% else %><%= html.html_escape(config.clients) %><% end %><% end %> </TD>  	</TR>		  	<% if config.errtxt then %>  		<TR class="error"><TD colspan=5><%= html.html_escape(config.errtxt) %></TD></TR> @@ -41,7 +41,7 @@ end %>  <% if (#view.value == 0) then %>  	<TR> -	<TD colspan=3>(No existing config-files)</TD> +	<TD colspan=5>(No existing config-files)</TD>  	</TR>  <% end %>  </TABLE>  | 
