mirror of https://github.com/Aidaho12/haproxy-wi
apache
parent
563df38f3c
commit
a4f266dee1
|
@ -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">')
|
||||
|
|
|
@ -77,4 +77,7 @@ if login is not None and password is not None:
|
|||
break
|
||||
login_page("error")
|
||||
|
||||
funct.footer()
|
||||
funct.footer()
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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]
|
||||
|
|
BIN
image/5.jpeg
BIN
image/5.jpeg
Binary file not shown.
Before Width: | Height: | Size: 232 KiB After Width: | Height: | Size: 250 KiB |
13
style.css
13
style.css
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue