1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-06 00:37:06 +00:00
mailinabox/management/reporting/ui/reports-page-header.js
2021-04-10 09:29:29 -04:00

27 lines
806 B
JavaScript

import page_header from '../../ui-common/page-header.js';
export default Vue.component('reports-page-header', {
props: {
loading_counter: { type:Number, required:true },
},
components: {
'page-header': page_header,
},
template:
'<page-header '+
'header_text="Server Activity" :loading_counter="loading_counter">'+
'<template v-slot:links>'+
' <b-navbar type="dark" variant="transparent" class="p-0">'+
' <b-navbar-nav>'+
' <b-nav-item href="/admin">Admin Panel</b-nav-item>'+
' <b-nav-item to="/settings"><b-icon icon="gear-fill" aria-hidden="true"></b-icon></b-nav-item>'+
' </b-navbar-nav>'+
' </b-navbar>'+
'</template>'+
'</page-header>'
,
});