-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
263 additions
and
614 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
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
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,34 @@ | ||
<template> | ||
<v-app> | ||
<core-filter /> | ||
|
||
<core-toolbar /> | ||
|
||
<core-drawer /> | ||
|
||
<core-view /> | ||
</v-app> | ||
</template> | ||
|
||
<script> | ||
import coreFilter from '~/components/core/AppFilter'; | ||
import coreToolbar from '~/components/core/AppToolbar'; | ||
import coreDrawer from '~/components/core/AppDrawer'; | ||
import coreView from '~/components/core/AppView'; | ||
export default { | ||
components: { | ||
coreFilter, | ||
coreToolbar, | ||
coreDrawer, | ||
coreView | ||
} | ||
} | ||
</script> | ||
|
||
<style lang="scss"> | ||
/* Remove in 1.2 */ | ||
.v-datatable thead th.column.sortable i { | ||
vertical-align: unset; | ||
} | ||
</style> |
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 |
---|---|---|
@@ -1,34 +1,22 @@ | ||
<template> | ||
<v-app> | ||
<core-filter /> | ||
|
||
<core-toolbar /> | ||
|
||
<core-drawer /> | ||
|
||
<core-view /> | ||
<v-app v-show="!isLoading"> | ||
<v-fade-transition mode="out-in"> | ||
<nuxt /> | ||
</v-fade-transition> | ||
</v-app> | ||
</template> | ||
|
||
<script> | ||
import coreFilter from '~/components/core/AppFilter'; | ||
import coreToolbar from '~/components/core/AppToolbar'; | ||
import coreDrawer from '~/components/core/AppDrawer'; | ||
import coreView from '~/components/core/AppView'; | ||
export default { | ||
components: { | ||
coreFilter, | ||
coreToolbar, | ||
coreDrawer, | ||
coreView | ||
data() { | ||
return { | ||
isLoading: true | ||
} | ||
}, | ||
mounted() { | ||
this.$nextTick(function() { | ||
this.isLoading = false | ||
}); | ||
} | ||
} | ||
</script> | ||
|
||
<style lang="scss"> | ||
/* Remove in 1.2 */ | ||
.v-datatable thead th.column.sortable i { | ||
vertical-align: unset; | ||
} | ||
</style> |
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,3 @@ | ||
export default function ({ store, redirect }) { | ||
if (!store.state.user.username) { return redirect('/'); } | ||
} |
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
Oops, something went wrong.