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"> <select id="new-role" name="new-role">
<option disabled selected>Choose role</option> <option disabled selected>Choose role</option>
{% for role in roles %} {% for role in roles %}
{% if role.1 != "admin" %} <option value="{{ role.1 }}">{{ role.1 }}</option>
<option value="{{ role.1 }}">{{ role.1 }}</option>
{% endif %}
{% endfor %} {% endfor %}
</select> </select>
</td> </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> <li><a href=/app/configver.py title="Upload old versions configs" class="upload head-submenu">Upload</a></li>
{% endif %} {% endif %}
{% if role <= 2 %} {% 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 %} {% endif %}
</li> </li>
{% if role <= 2 %} {% if role <= 2 %}

View File

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

View File

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

View File

@ -401,7 +401,7 @@ else
fi 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 "" echo ""
echo "" echo ""