Skip to content

Commit

Permalink
Change connection message by connection status bar
Browse files Browse the repository at this point in the history
  • Loading branch information
emiliorizzo committed Sep 9, 2019
1 parent 15f8a13 commit fa23775
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
7 changes: 5 additions & 2 deletions src/components/DataPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
item-navigator(v-if='!isTable' :next='next' :prev='prev' :total='total' :regKey='dataKey()(dataType)')

.tabs
.tabs-titles
.tabs-titles(v-if='page.data')
template(v-for='tab in mainContentTabs')
button.btn.tab-title.link(v-if='tab.name' @click='setActiveContentTab(tab.name,$event)'
:class='tabTitleCss(isActiveContentTab(tab))')
Expand All @@ -29,7 +29,8 @@
data-section(v-if='!tabs && !activeContentTab' :module='module' :dataType='dataType'
:reqKey='reqKey' :component='component' :action='action')
.tabs(v-if='tabs && data && !hideTabs')
.tabs-titles
//- Tabs titles
.tabs-titles(v-if='page.data')
template(v-for='tab in tabs')
template(v-if='renderTab(tab)')
template(v-if='isRequesting()(tab.name)')
Expand Down Expand Up @@ -296,6 +297,8 @@ export default {
}
</script>
<style lang="stylus">
.data-page
align-self flex-start
.page-header
width 100%
Expand Down
2 changes: 1 addition & 1 deletion src/components/Home.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template lang="pug">
.home
.home(v-if='lastBlocks.length')
.hero
.col-a(ref='last-blocks-box')
.box.row.last-blocks
Expand Down
2 changes: 1 addition & 1 deletion src/components/LastBlocks.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template lang="pug">
.blocks-wrapper
.blocks-wrapper(v-show='blocks.length')
h2.title
router-link(:to='entity.listLink')
icon(:name='entity.icon')
Expand Down
3 changes: 2 additions & 1 deletion src/lib/styl/layout.styl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ body, .wrapper

.main
margin 0 1rem

align-items flex-start
flex-flow column nowrap
.hero
display flex
flex 1 1 100%
Expand Down

0 comments on commit fa23775

Please sign in to comment.