Chart fixes
This commit is contained in:
parent
18ef12f537
commit
6765b22170
4
server/package-lock.json
generated
4
server/package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "ifms-pti-svr",
|
||||
"version": "3.4.0",
|
||||
"version": "3.4.1",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "ifms-pti-svr",
|
||||
"version": "3.4.0",
|
||||
"version": "3.4.1",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@prisma/client": "^4.7.1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ifms-pti-svr",
|
||||
"version": "3.4.0",
|
||||
"version": "3.4.1",
|
||||
"description": "Servidor do Portal de TI do IFMS",
|
||||
"main": "src/index.js",
|
||||
"prisma": {
|
||||
|
|
|
@ -49,7 +49,9 @@ async function generateStatsForNetwork(shortName) {
|
|||
}
|
||||
|
||||
export async function generateStatsForAllNetworks() {
|
||||
const networks = await prisma.network.findMany()
|
||||
const networks = await prisma.network.findMany({
|
||||
orderBy: { name: 'asc' }
|
||||
})
|
||||
|
||||
for (const network of networks) {
|
||||
await generateStatsForNetwork(network.shortName)
|
||||
|
|
4
web/package-lock.json
generated
4
web/package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "ifms-pti",
|
||||
"version": "3.4.0",
|
||||
"version": "3.4.1",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "ifms-pti",
|
||||
"version": "3.4.0",
|
||||
"version": "3.4.1",
|
||||
"dependencies": {
|
||||
"@mdi/font": "^6.9.96",
|
||||
"apollo-link-ws": "^1.0.20",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ifms-pti",
|
||||
"version": "3.4.0",
|
||||
"version": "3.4.1",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
|
|
|
@ -1,8 +1,16 @@
|
|||
<template>
|
||||
<v-container>
|
||||
<v-row>
|
||||
<v-col v-for="subnet in subnets" :key="subnet.shortname" cols="4">
|
||||
<v-card>
|
||||
<div>
|
||||
<!-- <v-toolbar></v-toolbar> -->
|
||||
<v-container fluid>
|
||||
<v-row dense>
|
||||
<v-col
|
||||
v-for="subnet in subnets"
|
||||
:key="subnet.shortname"
|
||||
sm="12"
|
||||
md="6"
|
||||
lg="4"
|
||||
>
|
||||
<v-card flat>
|
||||
<v-card-title class="title font-weight-light text-sm-body-1">
|
||||
{{ subnet.name }} - {{ subnet.cidr }}
|
||||
<v-spacer />
|
||||
|
@ -14,7 +22,7 @@
|
|||
:stats="subnet.stats"
|
||||
:subnet="subnet"
|
||||
:suggested-max0="500"
|
||||
:suggested-max1="500000000000"
|
||||
:suggested-max1="100000000000"
|
||||
:height="150"
|
||||
/>
|
||||
</v-card-text>
|
||||
|
@ -22,6 +30,7 @@
|
|||
</v-col>
|
||||
</v-row>
|
||||
</v-container>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
Loading…
Reference in New Issue
Block a user