Skip to content

Commit d698b4e

Browse files
committed
firewall: live view: restructure DOM layout to reduce wasted space. Closes #9416
1 parent 7d2d968 commit d698b4e

File tree

1 file changed

+6
-11
lines changed
  • src/opnsense/mvc/app/views/OPNsense/Diagnostics

1 file changed

+6
-11
lines changed

src/opnsense/mvc/app/views/OPNsense/Diagnostics/fw_log.volt

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1277,24 +1277,22 @@
12771277
.filters-bar {
12781278
display: flex;
12791279
justify-content: space-between;
1280-
align-items: flex-start; /* keep tops aligned */
1280+
align-items: flex-start; /* keep tops aligned */
12811281
gap: 2rem;
12821282
min-height: 130px;
12831283
margin-bottom: 10px;
12841284
}
12851285

12861286
.filters-middle {
1287-
/* margin-left: auto;
1288-
margin-right: auto; */
1287+
margin-left: auto;
12891288
display: flex;
12901289
flex-direction: row;
12911290
gap: 0.75rem;
1292-
/* min-width: 260px; */
12931291
}
12941292

12951293
/* Right column */
12961294
.filters-right {
1297-
margin-left: auto; /* push all the way right */
1295+
margin-left: auto; /* push all the way right */
12981296
display: flex;
12991297
flex-direction: column;
13001298
gap: 0.75rem;
@@ -1336,6 +1334,7 @@
13361334
<div class="filters-left">
13371335
<div class="filters-ui">
13381336
<!-- Live global search (matches ANY value in a record) -->
1337+
<div class="muted">{{ lang._('Filters')}}</div>
13391338
<div class="filters-wrap">
13401339
<input id="globalSearch" type="text" placeholder="{{ lang._('Quick search (all fields)…') }}" />
13411340
<button id="refresh" class="btn btn-default" type="button" title="{{ lang._('Refresh') }}">
@@ -1379,10 +1378,6 @@
13791378
</div>
13801379

13811380
<aside class="filters-middle">
1382-
1383-
</aside>
1384-
1385-
<aside class="filters-right">
13861381
<div>
13871382
<div class="muted">{{ lang._('Templates')}}</div>
13881383
<button id="stageTemplate" class="btn btn-default">
@@ -1400,9 +1395,9 @@
14001395
<span class="fa fa-save"></span>
14011396
</button>
14021397
</div>
1398+
</aside>
14031399

1404-
&nbsp;
1405-
1400+
<aside class="filters-right">
14061401
<div class="toggle-group">
14071402
<div class="muted">{{ lang._('Options')}}</div>
14081403
<label class="toggle">

0 commit comments

Comments
 (0)