Skip to content

Commit baf1fff

Browse files
authored
Merge pull request hestiacp#1801 from jaapmarcus/fix/1791-overflow-issues-layout
hestiacp#1791 Fix over flow issues
2 parents 33c0aff + fcbedab commit baf1fff

File tree

2 files changed

+5
-30
lines changed

2 files changed

+5
-30
lines changed

web/templates/pages/list_services.html

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<?php if ((isset($_SESSION['FIREWALL_SYSTEM'])) && (!empty($_SESSION['FIREWALL_SYSTEM']))) {?>
99
<a href="/list/firewall/" class="ui-button cancel" dir="ltr"><i class="fas fa-shield-alt status-icon red"></i><?=_('Firewall');?></a>
1010
<?php }?>
11+
<a href="/list/updates/" class="ui-button cancel" dir="ltr"><i class="fas fa-sync status-icon green"></i><?=_('Updates');?></a>
1112
<a href="/list/log/?user=system&token=<?=$_SESSION['token']?>" class="ui-button cancel" dir="ltr"><i class="fas fa-history status-icon lightblue"></i><?=_('Logs');?></a>
1213
<div class="actions-panel display-inline-block" key-action="js">
1314
<a class="data-controls do_servicerestart ui-button danger cancel">
@@ -19,21 +20,13 @@
1920
</a>
2021
</div>
2122
</div>
22-
<ul class="context-menu sort-order animated fadeIn" style="display:none;">
23-
<li entity="sort-cpu" sort_as_int="1"><span class="name"><?=_('CPU');?> <i class="fas fa-sort-alpha-down"></i></span><span class="up"><i class="fas fa-sort-alpha-up"></i></span></li>
24-
<li entity="sort-memory" sort_as_int="1"><span class="name"><?=_('Memory');?> <i class="fas fa-sort-alpha-down"></i></span><span class="up"><i class="fas fa-sort-alpha-up"></i></span></li>
25-
<li entity="sort-name"><span class="name active"><?=_('Name');?> <i class="fas fa-sort-alpha-down"></i></span><span class="up"><i class="fas fa-sort-alpha-up"></i></span></li>
26-
</ul>
2723
<div class="l-sort-toolbar clearfix">
2824
<table>
2925
<tr>
30-
<td class="sort-by" title="<?=_('Sort items');?>">
31-
<?=_('sort by');?>: <span><b><?=_('Name');?> <i class="fas fa-sort-alpha-down"></i></b></span>
32-
</td>
3326
<td>
3427
<form action="/bulk/service/" method="post" id="objects">
3528
<input type="hidden" name="token" value="<?=$_SESSION['token']?>" />
36-
<div class="l-select">
29+
<div class="l-select" style="width:160px !important;">
3730
<select class="" name="action">
3831
<option value=""><?=_('apply to selected');?></option>
3932
<option value="stop"><?=_('stop');?></option>

web/templates/pages/list_updates.html

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,14 @@
77
if($autoupdate == 'Enabled') {
88
$btn_url = '/delete/cron/autoupdate/?token='.$_SESSION['token'].'';
99
$btn_icon = 'fa-toggle-on status-icon green';
10-
$btn_label = 'disable autoupdate';
10+
$btn_label = _('Disable autoupdate');
1111
} else {
1212
$btn_url = '/add/cron/autoupdate/?token='.$_SESSION['token'].'';
1313
$btn_icon = 'fa-toggle-off status-icon red';
14-
$btn_label = 'enable autoupdate';
14+
$btn_label = _('Enable autoupdate');
1515
}
1616
?>
17-
<a class="ui-button cancel" dir="ltr" href="<?=$btn_url;?>"><i class="fas <?=$btn_icon;?>"></i><?=_($btn_label);?></a>
18-
</div>
19-
<div class="l-sort-toolbar clearfix">
20-
<table>
21-
<tr>
22-
<td>
23-
<form action="/bulk/hestia/" method="post" id="objects">
24-
<input type="hidden" name="token" value="<?=$_SESSION['token']?>" />
25-
<div class="l-select">
26-
<select name="action" id="">
27-
<option value=""><?=_('apply to selected');?></option>
28-
<option value="update"><?=_('update') ?></option>
29-
</select>
30-
</div>
31-
<button type="submit" class="l-sort-toolbar__filter-apply" value="" title="<?=_('apply to selected');?>"><i class="fas fa-arrow-right"></i></button>
32-
</form>
33-
</td>
34-
</tr>
35-
</table>
17+
<a class="ui-button cancel" dir="ltr" href="<?=$btn_url;?>"><i class="fas <?=$btn_icon;?>"></i><?=$btn_label;?></a>
3618
</div>
3719
</div>
3820
</div>

0 commit comments

Comments
 (0)