33 lines
661 B
Vue
33 lines
661 B
Vue
<template>
|
|
|
|
<div id='HEADER' @click='gstore.func.toggleMenuSize'>
|
|
|
|
<!-- Header Icon+Title -->
|
|
<div id='header-icon'>
|
|
<div class='header-title'>{{ gstore.header_title }}</div>
|
|
</div>
|
|
|
|
<!-- Header Info -->
|
|
<div id='header-info' v-show='gstore.info.active' :class='gstore.info.type'>{{ gstore.info.message }}</div>
|
|
|
|
<!-- Header Notif -->
|
|
<div id='header-notif'>
|
|
<div v-for='notif in gstore.notif' :class='"hnotif " + notif.class' :data-count='notif.data.length'></div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
export default {
|
|
name: 'HEADER',
|
|
data(){ return { gstore: window.gstore.data }; },
|
|
methods: {
|
|
show_notif(){
|
|
|
|
}
|
|
}
|
|
}
|
|
</script> |