pull/19/head
Aidaho12 2018-02-10 20:01:13 +06:00
parent 9896fb1464
commit 6932527b11
5 changed files with 17 additions and 12 deletions

View File

@ -111,7 +111,7 @@ print('<div id="tabs">'
'<div id="listner">'
'<form name="add-listner" action="add.py">'
'<table>'
'<caption>Add listner</caption>'
'<caption><h2>Add listner</h2></caption>'
'<tr>'
'<td class="addName">Select server: </td>'
'<td class="addOption">'
@ -192,7 +192,7 @@ print('</td>'
'<div id="frontend">'
'<form name="add-frontend" action="add.py">'
'<table>'
'<caption>Add frontend</caption>'
'<caption><h2>Add frontend</h2></caption>'
'<tr>'
'<td class="addName">Select server: </td>'
'<td class="addOption">'
@ -265,7 +265,7 @@ print('</td>'
'<div id="backend">'
'<form name="add-backend" action="add.py">'
'<table>'
'<caption>Add frontend</caption>'
'<caption><h2>Add frontend</h2></caption>'
'<tr>'
'<td class="addName">Select server: </td>'
'<td class="addOption">'

View File

@ -219,9 +219,10 @@ def show_config(cfg):
continue
if line.__len__() < 1:
print('</div>')
print('<span class="configLine"><span class="numRow">')
print(i)
print('</span>' + line + '</span><br />')
if line.__len__() > 1:
print('<span class="configLine"><span class="numRow">')
print(i)
print('</span>' + line + '</span><br />')
print('</div></div>')
conf.close

BIN
image/8.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 KiB

View File

@ -23,7 +23,7 @@
<a href="cgi-bin/configver.py" title="Upload old config">Upload old config</a> <br />
<a href="cgi-bin/delver.py" title="Upload old config">Delete old config</a> <br />
<div class="copyright">
HAproxy Web Interface v1.6.2
HAproxy Web Interface v1.6.3
</div>
</div>
</body>

View File

@ -11,12 +11,13 @@ body {
padding: 0;
}
h2 {
border: 1px solid #5D9CEB;
padding: 10px;
border-radius: 5px 5px 0px 0px;
background: #5D9CEB;
border: 1px solid #5D9CEB;
border-radius: 5px 5px 0px 0px;
padding: 10px;
padding-left: 3%;
color: #fff;
margin-top: 0px;
margin-bottom: 0px;
}
h3 {
@ -360,8 +361,11 @@ table {
border-collapse: collapse;
background-color: transparent;
}
td,
th {
caption {
color: #777;
text-align: left;
}
td,th {
padding: 0;
text-align: left;
}