- {{ summary.operating_system }}
+
No agent selected
+
+
+ {{ summary.hostname }}
+ • {{ summary.operating_system }} • Agent v{{ summary.version }}
+
+
+
+
+
+
+
+
+
+
+ {{ makeModel }}
+
+
+
+
+
+ {{ summary.cpu_info[0].name}}
+
+
+
+
+
+ {{ summary.total_ram}} GB RAM
+
+
+
+
+
+
+
+ {{ disk.model }} {{ disk.size }}GB {{ disk.interfaceType }}
+
+
+
+
+
+ Public IP: {{ summary.public_ip}}
+
+
+
+
+
+ LAN IP: {{ localIPs }}
+
+
+
+
+
+
+
Disks
+
+ {{ disk.device }} ({{ disk.fstype }})
+
+ {{ disk.free }} free of {{ disk.total }}
+
+
+
+
diff --git a/src/components/modals/software/InstallSoftware.vue b/src/components/modals/software/InstallSoftware.vue
index d6771b7..66ad4c8 100644
--- a/src/components/modals/software/InstallSoftware.vue
+++ b/src/components/modals/software/InstallSoftware.vue
@@ -86,7 +86,7 @@ export default {
methods: {
getChocos() {
axios.get("/software/chocos/").then(r => {
- this.chocos = r.data.chocos;
+ this.chocos = r.data;
});
},
showDescription(name) {
diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue
index c36c992..ba9629c 100644
--- a/src/views/Dashboard.vue
+++ b/src/views/Dashboard.vue
@@ -148,10 +148,10 @@ export default {
name: "patchespending",
align: "left"
},
- {
+ /* {
name: "antivirus",
align: "left"
- },
+ }, */
{
name: "agentstatus",
field: "status",
@@ -177,7 +177,13 @@ export default {
methods: {
refreshEntireSite() {
this.$store.dispatch("loadTree");
- this.loadAllClients();
+
+ if (this.allClientsActive) {
+ this.loadAllClients();
+ } else {
+ this.loadFrame(this.selectedTree, false);
+ }
+
if (this.selectedAgentPk) {
const pk = this.selectedAgentPk;
this.$store.dispatch("loadSummary", pk);
@@ -186,8 +192,9 @@ export default {
this.$store.dispatch("loadInstalledSoftware", pk);
}
},
- loadFrame(activenode) {
- this.$store.commit("destroySubTable");
+ loadFrame(activenode, destroySub=true) {
+ if (destroySub) this.$store.commit("destroySubTable");
+
let client, site, url;
try {
client = this.$refs.tree.meta[activenode].parent.key.split('|')[0];