pull/19/head
Aidaho12 2018-01-31 17:26:59 +06:00
parent 563df38f3c
commit a4f266dee1
5 changed files with 20 additions and 7 deletions

View File

@ -115,7 +115,8 @@ def head(title):
'</head>'
'<body>'
'<a name="top"></a>'
'<div class="top-menu">')
'<div class="top-menu">'
'<span class="LogoText">HAproxy-WI</span>')
if config.get('main', 'logo_enable') == "1":
print('<img src="%s" title="Logo" class="logo">' % config.get('main', 'logo_path'))
print('<div class="top-link">')

View File

@ -78,3 +78,6 @@ if login is not None and password is not None:
login_page("error")
funct.footer()

View File

@ -25,10 +25,10 @@ ssh_user_name = root
ssh_pass =
[logs]
#Logs save locally, disable by default
#Logs save locally
local_path_logs = /var/log/haproxy.log
#If exist syslog server for HAproxy logs
syslog_server_enable = enable
#If exist syslog server for HAproxy logs, disable by default
syslog_server_enable = 0
syslog_server =
[telegram]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 KiB

After

Width:  |  Height:  |  Size: 250 KiB

View File

@ -20,10 +20,19 @@ body {
left: 0;
z-index: 1000;
}
.logoText {
color: #fff;
font-size: 30px;
float: left;
margin-left: 50px;
margin-top: 3px;
font-style: italic;
font-weight: bold;
}
.top-menu img {
max-width: 125px;
float: left;
padding-left: 100px;
padding-left: 20px;
}
.top-menu a, .footer a {
padding: 10px;
@ -54,7 +63,7 @@ body {
}
.configShow, .diff {
margin-left: 16%;
max-height:: 70%;
height: 70%;
overflow: auto;
width: 70%;
border: 1px solid #DCDCDC;