mirror of https://github.com/Aidaho12/haproxy-wi
parent
536a94b10a
commit
7421d16c92
|
@ -44,7 +44,7 @@
|
||||||
{% if s.0 in ('prometheus', 'grafana-server') %}
|
{% if s.0 in ('prometheus', 'grafana-server') %}
|
||||||
<a class="ui-button ui-widget ui-corner-all" onclick="openTab(10)" title="{{lang.words.install|title()}} {{service_name}}">{{lang.words.install|title()}}</a>
|
<a class="ui-button ui-widget ui-corner-all" onclick="openTab(10)" title="{{lang.words.install|title()}} {{service_name}}">{{lang.words.install|title()}}</a>
|
||||||
{% elif s.0 in ('rabbitmq-server', 'fail2ban') %}
|
{% elif s.0 in ('rabbitmq-server', 'fail2ban') %}
|
||||||
<a class="ui-button ui-widget ui-corner-all" href="https://roxy-wi/services/{{s.0.split('-')[0]}}" title="{{lang.words.install|title()}} {{services_name[s.0]['name']}}" target="_blank">{{lang.words.install|title()}}</a>
|
<a class="ui-button ui-widget ui-corner-all" href="https://roxy-wi.org/services/{{s.0.split('-')[0]}}" title="{{lang.words.install|title()}} {{services_name[s.0]['name']}}" target="_blank">{{lang.words.install|title()}}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a class="ui-button ui-widget ui-corner-all" onclick="updateService('{{s.0}}', 'install')" title="{{lang.words.install|title()}} {{service_name}}">{{lang.words.install|title()}}</a>
|
<a class="ui-button ui-widget ui-corner-all" onclick="updateService('{{s.0}}', 'install')" title="{{lang.words.install|title()}} {{service_name}}">{{lang.words.install|title()}}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
{% elif not is_needed_tool %}
|
{% elif not is_needed_tool %}
|
||||||
<div style="text-align: center;">
|
<div style="text-align: center;">
|
||||||
<h3>You have not installed Ansible</h3>.
|
<h3>You have not installed Ansible</h3>.
|
||||||
<img src="{{ url_for('static', filename='images/no_servers.png')" alt="There is no server">
|
<img src="{{ url_for('static', filename='images/no_servers.png')}}" alt="There is no server">
|
||||||
<h4>
|
<h4>
|
||||||
Read <a href="https://roxy-wi.org/installation#ansible" title="{{lang.words.installing|title()}} Ansible" target="_blank">here</a> how to install Ansible.
|
Read <a href="https://roxy-wi.org/installation#ansible" title="{{lang.words.installing|title()}} Ansible" target="_blank">here</a> how to install Ansible.
|
||||||
</h4>
|
</h4>
|
||||||
|
|
|
@ -1394,7 +1394,7 @@ function addGit(dialog_id) {
|
||||||
function updateSettings(param, val) {
|
function updateSettings(param, val) {
|
||||||
toastr.clear();
|
toastr.clear();
|
||||||
$.ajax( {
|
$.ajax( {
|
||||||
url: "/app/app/admin/setting/" + param + "/" + val,
|
url: "/app/admin/setting/" + param + "/" + val,
|
||||||
data: {
|
data: {
|
||||||
token: $('#token').val()
|
token: $('#token').val()
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue