forked from epicmaxco/vuestic-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dashboard): make data visualization tab the first and make some c…
…hanges on Features tab
- Loading branch information
1 parent
d119ab7
commit 177d76b
Showing
7 changed files
with
142 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/components/dashboard/data-visualisation-tab/fields-definition.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
export default { | ||
tableFields: [ | ||
{ | ||
name: '__component:badge-column', | ||
title: '', | ||
dataClass: 'text-center' | ||
}, | ||
{ | ||
name: 'name', | ||
title: 'user', | ||
sortField: 'name' | ||
}, | ||
{ | ||
name: 'salary', | ||
title: 'score' | ||
} | ||
], | ||
sortFunctions: { | ||
'name': function (item1, item2) { | ||
return item1 >= item2 ? 1 : -1 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
<template> | ||
<div class="overview-tab dashboard-tab"> | ||
<div class="d-flex overview-row flex-row w-100 justify-content-sm-around justify-content-xs-start"> | ||
|
||
<div class="overview-col"> | ||
<div class="overview-item"> | ||
<div class="overview-icon-container"> | ||
<i class="i-vuestic-vue"></i> | ||
</div> | ||
Built with Vue.js framework | ||
</div> | ||
<div class="overview-item"> | ||
<div class="overview-icon-container"> | ||
<i class="i-vuestic-free"></i> | ||
</div> | ||
Absolutely free for everyone | ||
</div> | ||
<div class="overview-item"> | ||
<div class="overview-icon-container"> | ||
<i class="i-vuestic-fresh"></i> | ||
</div> | ||
Fresh and crisp design | ||
</div> | ||
</div> | ||
|
||
<div class="overview-col"> | ||
<div class="overview-item"> | ||
<div class="overview-icon-container"> | ||
<i class="i-vuestic-responsive"></i> | ||
</div> | ||
Responsive and optimized for mobile | ||
</div> | ||
<div class="overview-item"> | ||
<div class="overview-icon-container"> | ||
<i class="i-vuestic-rich"></i> | ||
</div> | ||
Tons of useful components | ||
</div> | ||
<div class="overview-item"> | ||
<div class="overview-icon-container"> | ||
<i class="i-vuestic-clean-code"></i> | ||
</div> | ||
Completely jQuery free | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'features-tab' | ||
} | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
@import "../../../sass/_variables.scss"; | ||
@import "../../../../node_modules/bootstrap/scss/variables"; | ||
@import "../../../../node_modules/bootstrap/scss/mixins/breakpoints"; | ||
.overview-item { | ||
display: flex; | ||
align-items: center; | ||
height: 55px; | ||
margin-bottom: 3rem; | ||
padding-right: 1rem; | ||
font-size: 1.25rem; | ||
font-weight: bold; | ||
.overview-icon-container { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
flex-direction: row; | ||
min-width: 85px; | ||
max-width: 85px; | ||
height: 100%; | ||
} | ||
} | ||
.overview-row { | ||
@include media-breakpoint-down(xs) { | ||
flex-wrap: wrap; | ||
} | ||
} | ||
.overview-col:first-child { | ||
margin-left: 2rem; | ||
@include media-breakpoint-down(md) { | ||
margin-left: 0; | ||
} | ||
} | ||
.explore-btn { | ||
margin-top: 6rem; | ||
margin-bottom: 1rem; | ||
} | ||
</style> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters