Skip to content

Commit

Permalink
[WebUI] Unecessary space between Processcount and processlist #3032
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolargo committed Dec 23, 2024
1 parent 499e46c commit f3d9e3f
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
6 changes: 6 additions & 0 deletions glances/outputs/static/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ body {

// Layout

.container-fluid {
margin-left: 0px;
margin-right: 0px;
}

.header {
height: 30px;
}
Expand Down Expand Up @@ -312,6 +317,7 @@ body {
span:nth-child(1) {
padding-left: 0px;
}
margin-bottom: 0px;
}

#amps {
Expand Down
2 changes: 1 addition & 1 deletion glances/outputs/static/js/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</div>
<glances-help v-else-if="args.help_tag"></glances-help>
<main v-else>
<div class="container-fluidheader">
<div class="container-fluid header">
<div class="row justify-content-between">
<div class="col-auto" v-if="!args.disable_system">
<glances-plugin-system :data="data"></glances-plugin-system>
Expand Down
7 changes: 5 additions & 2 deletions glances/outputs/static/js/components/plugin-amps.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<section id="amps" class="plugin">
<section id="amps" class="plugin" v-if="hasAmps">
<table class="table table-sm table-borderless">
<tbody>
<tr v-for="(process, processId) in processes" :key="processId">
Expand All @@ -23,7 +23,7 @@
</div>
</div> -->

</section>
</section>
</template>

<script>
Expand All @@ -39,6 +39,9 @@ export default {
},
processes() {
return this.stats.filter((process) => process.result !== null);
},
hasAmps() {
return this.processes.length > 0;
}
},
methods: {
Expand Down
2 changes: 1 addition & 1 deletion glances/outputs/static/public/browser.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions glances/outputs/static/public/glances.js

Large diffs are not rendered by default.

0 comments on commit f3d9e3f

Please sign in to comment.