Minor layout fixes

This commit is contained in:
Douglas Barone 2021-11-30 13:51:14 -04:00
parent eebca1ba9a
commit ccead16333
7 changed files with 44 additions and 19 deletions

View File

@ -1,12 +1,12 @@
{
"name": "ifms-pti-svr",
"version": "2.8.1",
"version": "2.8.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "ifms-pti-svr",
"version": "2.8.1",
"version": "2.8.2",
"license": "ISC",
"dependencies": {
"@prisma/client": "^3.5.0",

View File

@ -1,6 +1,6 @@
{
"name": "ifms-pti-svr",
"version": "2.8.1",
"version": "2.8.2",
"description": "Servidor do Portal de TI do IFMS",
"main": "src/index.js",
"scripts": {

4
web/package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "ifms-pti",
"version": "2.8.1",
"version": "2.8.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "ifms-pti",
"version": "2.8.1",
"version": "2.8.2",
"dependencies": {
"@mdi/font": "^5.9.55",
"apollo-link-ws": "^1.0.20",

View File

@ -1,6 +1,6 @@
{
"name": "ifms-pti",
"version": "2.8.1",
"version": "2.8.2",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",

View File

@ -9,7 +9,12 @@
Você ainda não conectou um dispositivo à rede Wi-Fi. Assim que conectar,
ele aparecerá aqui.
</v-alert>
<v-expansion-panels v-if="me" mandatory accordion flat>
<v-expansion-panels
v-if="me && me.wifiDevices.length"
accordion
flat
:value="0"
>
<WifiDevice
v-for="device in me.wifiDevices"
:key="device.id"

View File

@ -1,19 +1,19 @@
<template>
<v-container class="home" fluid>
<v-row>
<v-col>
<v-col cols="12" md="6" xl="4">
<UserInfoWidget />
</v-col>
<v-col>
<v-col cols="12" md="6" xl="4">
<DevicesWidget />
</v-col>
<v-col v-if="me && me.isSuperAdmin">
<v-col v-if="me && me.isSuperAdmin" cols="12" md="6" xl="4">
<StatsWidget />
</v-col>
<v-col v-if="me && me.isTokenCreator">
<v-col v-if="me && me.isTokenCreator" cols="12" md="6" xl="4">
<TokenStatsWidget />
</v-col>
</v-row>

View File

@ -22,7 +22,7 @@
indeterminate
/>
</v-text-field>
<v-spacer />
<v-dialog v-model="helpDialog" width="500px">
<template #activator="{ on, attrs }">
<v-btn class="ml-1" color="info" dark v-bind="attrs" icon v-on="on">
@ -31,11 +31,31 @@
</template>
<v-card>
<v-card-title class="headline grey lighten-3"> Ajuda </v-card-title>
<v-card-title class="headline primary white--text">
Como pesquisar
</v-card-title>
<v-card-text>
Você pode pesquisar pelo nome, SIAPE, CPF, nome do Access Point,
função do servidor, endereço IP dentre outros.
Você pode pesquisar usuários pelo nome, SIAPE, CPF, setor do SUAP,
nome do Access Point, função do servidor, endereço IP dentre
outros.<br />
Exemplos:
<ul>
<li>
<code>jose</code>
</li>
<li>
<code>pp</code>
</li>
<li>
<code>sala 102</code>
</li>
<li>
<code>10.7</code>
</li>
<li>
<code>PP-CEREL</code>
</li>
</ul>
</v-card-text>
<v-divider></v-divider>
@ -84,9 +104,9 @@
v-for="userPresence in pagedUserPresences"
:key="userPresence.id"
cols="12"
sm="6"
md="4"
lg="3"
md="6"
lg="4"
xl="3"
>
<v-card
outlined