Full-width GE-Enforce pages; asset column no longer echoes the host
This commit is contained in:
@@ -73,8 +73,12 @@
|
||||
</router-link>
|
||||
<span v-if="report.displayrole" class="asset-chip muted"
|
||||
title="Display role">{{ report.displayrole }}</span>
|
||||
<!-- Deliberately NOT the PC's own asset number: the collector
|
||||
stores a PC's hostname AS its assetnumber, so echoing it
|
||||
here would just repeat the Host column. Blank means this PC
|
||||
drives nothing and is not a display. -->
|
||||
<span v-if="!report.machineassetid && !report.toolassetid && !report.displayrole"
|
||||
class="muted">{{ report.assetnumber || '-' }}</span>
|
||||
class="muted">-</span>
|
||||
<div v-if="report.location" class="asset-location muted">{{ report.location }}</div>
|
||||
</td>
|
||||
<td>{{ report.scopename }}</td>
|
||||
@@ -189,7 +193,11 @@ load()
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.enforcement-reports { max-width: 1100px; }
|
||||
/* No max-width. This is a fleet table - twelve columns now that a row carries
|
||||
the asset it drives, its location and its backup state - and capping the page
|
||||
at 1100px squeezed them into a box narrower than the window while empty space
|
||||
sat to the right. The route already gives this view a full-width shell. */
|
||||
.enforcement-reports { width: 100%; }
|
||||
.muted { color: var(--text-light); }
|
||||
.fail-count { color: var(--danger); font-weight: 600; }
|
||||
.empty { color: var(--text-light); text-align: center; padding: 1rem; }
|
||||
|
||||
@@ -18,7 +18,10 @@
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.geenforce-section { max-width: 1400px; }
|
||||
/* No cap on the shell. The reports tab is a wide fleet table and was being
|
||||
squeezed into 1400px with empty page beside it; views that read better
|
||||
narrow (the manifest editor) cap themselves instead. */
|
||||
.geenforce-section { width: 100%; }
|
||||
.section-header { margin-bottom: 0.5rem; }
|
||||
.section-header h1 { margin: 0; }
|
||||
.section-sub { color: var(--text-light); margin: 0.25rem 0 0; }
|
||||
|
||||
Reference in New Issue
Block a user