-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui): FolderExplorer favorites + Project select page
- Loading branch information
Guillaume Chau
committed
Mar 5, 2018
1 parent
ae0d895
commit 376e4bb
Showing
35 changed files
with
623 additions
and
162 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,58 @@ | ||
<template> | ||
<div class="project-nav"> | ||
<div class="content"> | ||
<VueGroup | ||
v-model="currentRoute" | ||
class="vertical small-indicator left-indicator primary" | ||
indicator | ||
> | ||
<VueGroupButton | ||
class="flat big icon-button" | ||
value="plugins" | ||
icon-left="widgets" | ||
v-tooltip.right="'Plugins'" | ||
/> | ||
<VueGroupButton | ||
class="flat big icon-button" | ||
value="config" | ||
icon-left="settings_applications" | ||
v-tooltip.right="'Configurations'" | ||
/> | ||
<VueGroupButton | ||
class="flat big icon-button" | ||
value="tasks" | ||
icon-left="assignment" | ||
v-tooltip.right="'Tasks'" | ||
/> | ||
</VueGroup> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
data () { | ||
return { | ||
currentRoute: 'plugins' | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<style lang="stylus" scoped> | ||
@import "~@/style/imports" | ||
.project-nav | ||
background $vue-color-dark | ||
.content | ||
v-box() | ||
>>> .vue-button | ||
button-colors(rgba($vue-color-light, .7), transparent) | ||
border-radius 0 | ||
&:hover | ||
button-colors($vue-color-light, lighten($vue-color-dark, 10%)) | ||
&.selected | ||
button-colors($vue-color-primary, lighten($vue-color-dark, 10%)) | ||
</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,19 @@ | ||
<template> | ||
<div class="project-select-list"> | ||
<ApolloQuery | ||
:query="require('@/graphql/projects.gql')" | ||
> | ||
<template slot-scope="{ result: { data } }"> | ||
<template v-if="data"> | ||
<div v-if="data.projects.length"> | ||
TODO | ||
</div> | ||
<div v-else class="vue-empty"> | ||
<VueIcon icon="attach_file" class="empty-icon"/> | ||
<div>No existing projects</div> | ||
</div> | ||
</template> | ||
</template> | ||
</ApolloQuery> | ||
</div> | ||
</template> |
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,45 @@ | ||
<template> | ||
<div class="status-bar"> | ||
<div class="section current-project"> | ||
<span>Current Project:</span> | ||
</div> | ||
|
||
<div class="section console-log" v-tooltip="'Console'"> | ||
<VueIcon icon="subtitles"/> | ||
<span>{{ consoleLog }}</span> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
data () { | ||
return { | ||
consoleLog: '' | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
|
||
<style lang="stylus" scoped> | ||
@import "~@/style/imports" | ||
.status-bar | ||
h-box() | ||
align-items center | ||
background $vue-color-light-neutral | ||
font-size 12px | ||
.section | ||
h-box() | ||
align-items center | ||
opacity .5 | ||
padding 0 8px | ||
height 100% | ||
cursor default | ||
&:hover | ||
opacity 1 | ||
background lighten(@background, 40%) | ||
</style> |
Oops, something went wrong.