Commit eeef511a authored by samba's avatar samba

adding ipv6 warning and new style

parent e871a6eb
Pipeline #1199 passed with stage
in 22 seconds
......@@ -163,18 +163,18 @@ def main():
cn = args[0]
result = acct.get_aggregate_counts(cn)
for key in sorted(result):
print '%s %d' % (key, result[key])
print('%s %d'%(key, result[key]))
elif cmd == 'list':
if len(args) != 1:
parser.error('Syntax: list <CN>')
cn = args[0]
for conn in acct.get_connections(cn):
print '%s %s %-6d %-20s %-20s' % (
print('%s %s %-6d %-20s %-20s' % (
time.strftime('%Y/%m/%d %H:%M:%S', time.gmtime(conn['start_time'])),
time.strftime('%Y/%m/%d %H:%M:%S', time.gmtime(conn['end_time'])),
conn['conn_time'],
'%d/%d' % (conn['bytes_recv'], conn['bytes_sent']),
conn['remote_ip'])
conn['remote_ip']))
else:
parser.error('Unknown command "%s"' % cmd)
......
autovpn/static/background.jpg

56.9 KB | W: | H:

autovpn/static/background.jpg

1.27 MB | W: | H:

autovpn/static/background.jpg
autovpn/static/background.jpg
autovpn/static/background.jpg
autovpn/static/background.jpg
  • 2-up
  • Swipe
  • Onion skin
body {
background-color: white;
background-color: black;
font-family: helvetica, arial, sans-serif;
margin-left: 0px;
margin-right: auto;
......@@ -8,8 +8,8 @@ body {
#container {
width: 100%;
margin-right: 0;
margin-left: 0;
margin-right: 20%;
margin-left: 20%;
padding: 0;
}
......@@ -37,6 +37,14 @@ h1 span {
font-size: 1.2em;
}
#warning{
background-color: orange;
font-family: Courier, Helvetica;
color: black;
width: 50%;
font-size: 1.2em;
}
a {
text-decoration: underline;
color: white;
......@@ -44,6 +52,7 @@ a {
a:hover {
text-decoration: underline;
color: #f81313
}
.footer {
......
......@@ -10,6 +10,13 @@
below to download a ZIP file containing the certificate and
a private key.
</p>
<p id="warning">
<b>WARNING: You need to disable IPv6 !</b>
in order to use safely this service you need check if you are using
<a href=""> IPv6 </a> and if so you should check how to
<a href=""> disable it</a>
</p>
<form action="{{ url_for('vpn_admin.new_cert') }}" method="post">
<div style="display:none;">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment