Skip to content

Commit 06ac676

Browse files
fra81jaapmarcus
andauthored
added firewall button (hestiacp#2371)
* added firewall button very convenient without going into configure (slower page)> firewall * Adjust order + if statement Co-authored-by: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com>
1 parent 7b6e4b7 commit 06ac676

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

web/templates/pages/list_services.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
<a href="/edit/server/" class="ui-button cancel" dir="ltr"><i class="fas fa-cog status-icon maroon"></i><?=_('Configure');?></a>
66
<a href="/list/rrd/" class="ui-button cancel" dir="ltr"><i class="fas fa-chart-area status-icon blue"></i><?=_('Graphs');?></a>
77
<a href="/list/updates/" class="ui-button cancel" dir="ltr"><i class="fas fa-sync status-icon green"></i><?=_('Updates');?></a>
8+
<?php if (!empty($_SESSION['FIREWALL_SYSTEM']) && $_SESSION['FIREWALL_SYSTEM'] == "iptables" ) {?>
9+
<a href="/list/firewall/" class="ui-button cancel" dir="ltr"><i class="fas fa-shield-alt status-icon red"></i><?=_('Firewall');?></a>
10+
<?php }?>
811
<a href="/list/log/?user=system&token=<?=$_SESSION['token']?>" class="ui-button cancel" dir="ltr"><i class="fas fa-binoculars status-icon orange"></i><?=_('Logs');?></a>
912
<div class="actions-panel display-inline-block" key-action="js">
1013
<a class="data-controls do_servicerestart ui-button danger cancel">

0 commit comments

Comments
 (0)