bugs
pull/56/merge
Aidaho12 2018-10-10 15:57:28 +06:00
parent a9e99f44a1
commit b6d4ebb8c8
5 changed files with 7 additions and 6 deletions

View File

@ -475,9 +475,7 @@
<select id="new-role" name="new-role">
<option disabled selected>Choose role</option>
{% for role in roles %}
{% if role.1 != "admin" %}
<option value="{{ role.1 }}">{{ role.1 }}</option>
{% endif %}
<option value="{{ role.1 }}">{{ role.1 }}</option>
{% endfor %}
</select>
</td>

View File

@ -70,7 +70,7 @@
<li><a href=/app/configver.py title="Upload old versions configs" class="upload head-submenu">Upload</a></li>
{% endif %}
{% if role <= 2 %}
<li><a href=/app/delver.py title="Delete old versions configs" class="delete head-submenu">Delete</a></li>
<li><a href=/app/delver.py title="Delete old versions configs" class="deleteVer head-submenu">Delete</a></li>
{% endif %}
</li>
{% if role <= 2 %}

View File

@ -106,7 +106,7 @@
font-family: "Font Awesome 5 Solid";
content: "\f093";
}
.delete::before {
.deleteVer::before {
display: none;
font-family: "Font Awesome 5 Solid";
content: "\f00d";

View File

@ -164,6 +164,9 @@ pre {
border: 1px solid #DCDCDC;
border-radius: 5px;
}
.config {
height: 70%;
}
.diffHead {
background-color: #F5F5F5;
padding: 10px;

View File

@ -401,7 +401,7 @@ else
fi
sed -i "s|^fullpath = .*|fullpath = /var/www/$HOME_HAPROXY_WI|g" /var/www/$HOME_HAPROXY_WI/app/haproxy-webintarface.config
sed -i "s|^fullpath = .*|fullpath = /var/www/$HOME_HAPROXY_WI|g" /var/www/$HOME_HAPROXY_WI/app/haproxy-wi.cfg
echo "################################"
echo ""
echo ""