1
0
mirror of https://github.com/cmur2/openvpn-status-web.git synced 2024-12-22 12:54:24 +01:00

Improve margins

This commit is contained in:
cn 2013-02-16 00:01:16 +01:00
parent decd730623
commit bdf26997a5

View File

@ -2,6 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="refresh" content="60">
<title>OpenVPN Status</title> <title>OpenVPN Status</title>
<style type="text/css"> <style type="text/css">
table { table {
@ -13,6 +14,11 @@ h1 {
h2 { h2 {
font-size: 16px; font-size: 16px;
font-weight: normal; font-weight: normal;
margin-top: 20px;
margin-bottom: 10px;
}
div {
margin-left: 15px;
} }
td { td {
margin: 0px; margin: 0px;
@ -39,6 +45,7 @@ thead {
<h1>OpenVPN Status for <%= name %></h1> <h1>OpenVPN Status for <%= name %></h1>
<h2>Client List</h2> <h2>Client List</h2>
<div>
<table> <table>
<thead> <thead>
<td class="first">Common Name</td> <td class="first">Common Name</td>
@ -59,8 +66,10 @@ thead {
<% end %> <% end %>
</tbody> </tbody>
</table> </table>
</div>
<h2>Routing Table</h2> <h2>Routing Table</h2>
<div>
<table> <table>
<thead> <thead>
<td class="first">Virtual Address</td> <td class="first">Virtual Address</td>
@ -79,8 +88,10 @@ thead {
<% end %> <% end %>
</tbody> </tbody>
</table> </table>
</div>
<h2>Global Stats</h2> <h2>Global Stats</h2>
<div>
<table> <table>
<tbody> <tbody>
<% global_stats.each do |e| %> <% global_stats.each do |e| %>
@ -91,6 +102,7 @@ thead {
<% end %> <% end %>
</tbody> </tbody>
</table> </table>
</div>
</body> </body>
</html> </html>