mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-15 16:02:37 +00:00
perf: 统一dashboard页面,去掉email签名设置
This commit is contained in:
parent
45f29e3e6d
commit
23a7d9dfbe
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<IBox v-bind="$attrs">
|
<IBox v-bind="$attrs">
|
||||||
<div class="ibox-heading">
|
<div v-if="contentHeading" class="ibox-heading">
|
||||||
<slot name="content-heading">
|
<slot name="content-heading">
|
||||||
<h3 v-if="contentHeading.title"><i v-if="contentHeading.fa" :class="'fa ' + contentHeading.fa" /> {{ contentHeading.title }}</h3>
|
<h3 v-if="contentHeading.title"><i v-if="contentHeading.fa" :class="'fa ' + contentHeading.fa" /> {{ contentHeading.title }}</h3>
|
||||||
<small v-if="contentHeading.content"><i class="fa fa-tim" /> {{ contentHeading.content }}</small>
|
<small v-if="contentHeading.content"><i class="fa fa-tim" /> {{ contentHeading.content }}</small>
|
||||||
@ -18,7 +18,7 @@ export default {
|
|||||||
props: {
|
props: {
|
||||||
contentHeading: {
|
contentHeading: {
|
||||||
type: Object,
|
type: Object,
|
||||||
default: () => ({})
|
default: null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<HeadingIBox :title="title" :content-heading="contentHeading">
|
<HeadingIBox :title="title">
|
||||||
<div v-if="dates_login_record_top10_sessions.length > 0" class="feed-activity-list">
|
<div v-if="dates_login_record_top10_sessions.length > 0" class="feed-activity-list">
|
||||||
<div v-for="(item, index ) of dates_login_record_top10_sessions" :key="item.user + index" class="feed-element">
|
<div v-for="(item, index ) of dates_login_record_top10_sessions" :key="item.user + index" class="feed-element">
|
||||||
<a href="#" class="pull-left">
|
<a href="#" class="pull-left">
|
||||||
@ -26,10 +26,6 @@ export default {
|
|||||||
return {
|
return {
|
||||||
title: this.$t('dashboard.LatestSessions10'),
|
title: this.$t('dashboard.LatestSessions10'),
|
||||||
avatarUrl: require('@/assets/img/admin.png'),
|
avatarUrl: require('@/assets/img/admin.png'),
|
||||||
contentHeading: {
|
|
||||||
title: this.$t('dashboard.LatestTop10'),
|
|
||||||
content: this.$t('dashboard.LatestSessions')
|
|
||||||
},
|
|
||||||
dates_login_record_top10_sessions: []
|
dates_login_record_top10_sessions: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -31,7 +31,7 @@ export default {
|
|||||||
visible: false,
|
visible: false,
|
||||||
fields: [
|
fields: [
|
||||||
'EMAIL_CUSTOM_USER_CREATED_SUBJECT', 'EMAIL_CUSTOM_USER_CREATED_HONORIFIC',
|
'EMAIL_CUSTOM_USER_CREATED_SUBJECT', 'EMAIL_CUSTOM_USER_CREATED_HONORIFIC',
|
||||||
'EMAIL_CUSTOM_USER_CREATED_BODY', 'EMAIL_CUSTOM_USER_CREATED_SIGNATURE'
|
'EMAIL_CUSTOM_USER_CREATED_BODY'
|
||||||
],
|
],
|
||||||
successUrl: { name: 'Settings', params: { activeMenu: 'EmailContent' }},
|
successUrl: { name: 'Settings', params: { activeMenu: 'EmailContent' }},
|
||||||
fieldsMeta: {
|
fieldsMeta: {
|
||||||
|
Loading…
Reference in New Issue
Block a user