Changelog: https://roxy-wi.org/changelog#7.0.0
pull/364/head
Aidaho 2023-10-06 22:42:35 +03:00
parent 3f83e316fa
commit 8648b3f344
5 changed files with 7 additions and 15 deletions

View File

@ -84,7 +84,7 @@
<br />
<h3>You have not installed OpenVPN client.</h3>
<img src="{{ url_for('static', filename='images/no_servers.png')}}" alt="There is no server">
<h4>Read <a href="https://roxy-wi.org/services/openvpn" title="OpenVPN" style="color: #5d9ceb;" target="_blank">here</a>
<h4>Read <a href="https://roxy-wi.org/tools/openvpn" title="OpenVPN" style="color: #5d9ceb;" target="_blank">here</a>
how to install OpenVPN client.</h4>
</div>
{% endif %}

View File

@ -44,7 +44,7 @@
{% if s.0 in ('prometheus', 'grafana-server') %}
<a href="/app/install#monitoring" class="ui-button ui-widget ui-corner-all" title="{{lang.words.install|title()}} {{service_name}}">{{lang.words.install|title()}}</a>
{% elif s.0 in ('rabbitmq-server', 'fail2ban') %}
<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>
<a class="ui-button ui-widget ui-corner-all" href="https://roxy-wi.org/tools/{{s.0.split('-')[0]}}" title="{{lang.words.install|title()}} {{services_name[s.0]['name']}}" target="_blank">{{lang.words.install|title()}}</a>
{% 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>
{% endif %}

View File

@ -17,7 +17,7 @@
<div style="text-align: center;">
<br />
<h3>{{lang.phrases.checker_not_installed}}
{{lang.words.read|title()}} <a href="https://roxy-wi.org/services/checker#installation" title="Checker {{lang.words.installation}}" style="color: #5d9ceb;" target="_blank">{{lang.words.here}}</a>
{{lang.words.read|title()}} <a href="https://roxy-wi.org/tools/checker#installation" title="Checker {{lang.words.installation}}" style="color: #5d9ceb;" target="_blank">{{lang.words.here}}</a>
{{lang.phrases.how_to_install_checker}}</h3>
</div>
{% else %}

View File

@ -76,7 +76,7 @@
{% endif %}
{% endif %}
<td class="padding10 first-collumn">
<a href="https://roxy-wi.org/services/{{services_name[s.0]['link']}}" title="{{lang.words.read|title()}} {{lang.words.more}} {{lang.words.about}} {{services_name[s.0]['name']}}" target="_blank" class="link" rel="noopener noreferrer">{{services_name[s.0]['name']}}</a>
<a href="https://roxy-wi.org/tools/{{services_name[s.0]['link']}}" title="{{lang.words.read|title()}} {{lang.words.more}} {{lang.words.about}} {{services_name[s.0]['name']}}" target="_blank" class="link" rel="noopener noreferrer">{{services_name[s.0]['name']}}</a>
</td>
<td>
{% if s.3 != '* is not installed' and s.3 != '' %}

View File

@ -62,17 +62,9 @@ $( function() {
type: frm.attr('method'),
success: function( data ) {
data = data.replace(/\n/g, "<br>");
if (data.indexOf(service + ': command not found') != '-1') {
try {
toastr.error('Cannot save config. There is no ' + service);
} catch (err) {
console.log(err);
}
} else {
toastr.clear();
returnNiceCheckingConfig(data);
$(window).unbind('beforeunload');
}
toastr.clear();
returnNiceCheckingConfig(data);
$(window).unbind('beforeunload');
if (data.indexOf('warning: ') != '-1') {
toastr.warning(data)
}