Bump version to 2.4.0

This commit is contained in:
Douglas Barone 2020-12-11 11:59:41 -04:00
parent 5605719cf6
commit 6ee96e7f16
5 changed files with 20 additions and 5 deletions

View File

@ -33,6 +33,7 @@ Portal concentrador de alguns serviços auxiliares de Tecnologia da Informação
- Integração Palo Alto (mapeamento de user-id) - Integração Palo Alto (mapeamento de user-id)
- Busca e inspeção de usuário - Busca e inspeção de usuário
- Integração com SUAP
- Informação sobre recursos (ex.: pastas de rede) - Informação sobre recursos (ex.: pastas de rede)
## Em análise ## Em análise

View File

@ -1,6 +1,6 @@
{ {
"name": "ifms-gql-server", "name": "ifms-pti-svr",
"version": "2.3.0", "version": "2.4.0",
"description": "Servidor GraphQL para concentrar as informações do IFMS", "description": "Servidor GraphQL para concentrar as informações do IFMS",
"main": "src/index.js", "main": "src/index.js",
"scripts": { "scripts": {

View File

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

View File

@ -1,5 +1,10 @@
<template> <template>
<Widget v-if="me" :title="me.displayName" widget-icon="mdi-account"> <Widget
v-if="me"
:title="me.displayName"
:avatar-src="me.thumbnailPhoto"
widget-icon="mdi-account"
>
<v-list two-line> <v-list two-line>
<v-list-item v-if="me.lastLoginPrior" two-line> <v-list-item v-if="me.lastLoginPrior" two-line>
<v-list-item-avatar> <v-list-item-avatar>
@ -67,6 +72,7 @@ export default {
pwdLastSet pwdLastSet
title title
department department
thumbnailPhoto
} }
} }
` `

View File

@ -2,9 +2,11 @@
<v-card v-bind="$attrs" outlined class="fill-height widged"> <v-card v-bind="$attrs" outlined class="fill-height widged">
<v-toolbar flat class="font-weight-light headline"> <v-toolbar flat class="font-weight-light headline">
<v-icon v-if="widgetIcon" left>{{ widgetIcon }}</v-icon> <v-icon v-if="widgetIcon" left>{{ widgetIcon }}</v-icon>
<span class="ml-2"> <span>
{{ title }} {{ title }}
</span> </span>
<v-spacer />
<avatar v-if="avatarSrc" :src="avatarSrc" size="48" left />
</v-toolbar> </v-toolbar>
<v-divider /> <v-divider />
<v-card-text> <v-card-text>
@ -14,8 +16,10 @@
</template> </template>
<script> <script>
import Avatar from '../Avatar.vue'
export default { export default {
name: 'Widget', name: 'Widget',
components: { Avatar },
props: { props: {
title: { title: {
type: String, type: String,
@ -24,6 +28,10 @@ export default {
widgetIcon: { widgetIcon: {
type: String, type: String,
default: '' default: ''
},
avatarSrc: {
type: String,
default: ''
} }
} }
} }