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