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.
- Loading branch information
1 parent
2021579
commit a1be638
Showing
14 changed files
with
140 additions
and
225 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,13 +3,13 @@ | |
<vuestic-navbar> | ||
<header-selector slot="selector" v-model="valueProxy"/> | ||
<span slot="logo" class="i-vuestic"></span> | ||
<div slot="center" class="header-elem-wrapper navbar-text offset-md-1 col-md-7"> | ||
<span slot="center"> | ||
{{$t('navbar.messageUs')}} <a href="mailto:[email protected]">[email protected]</a> | ||
</div> | ||
<message-dropdown slot="message"></message-dropdown> | ||
<notification-dropdown slot="notification"></notification-dropdown> | ||
<language-dropdown slot="language"></language-dropdown> | ||
<profile-dropdown slot="profile"> | ||
</span> | ||
<message-dropdown :options="this.messages"></message-dropdown> | ||
<notification-dropdown :options="this.notifications"></notification-dropdown> | ||
<language-dropdown :options="this.languages"></language-dropdown> | ||
<profile-dropdown :options="this.profiles"> | ||
<img src="http://i.imgur.com/nfa5itq.png"/> | ||
</profile-dropdown> | ||
</vuestic-navbar> | ||
|
@@ -37,19 +37,66 @@ | |
}, | ||
props: { | ||
value: { | ||
isOpen: { | ||
type: Boolean, | ||
required: true | ||
} | ||
}, | ||
data () { | ||
return { | ||
messages: [ | ||
{ | ||
name: 'new', | ||
details: { name: 'Oleg M' } | ||
}, | ||
{ | ||
name: 'new', | ||
details: { name: 'Andrei H' } | ||
}, | ||
], | ||
notifications: [ | ||
{ | ||
name: 'sentMessage', | ||
details: { name: 'Vasily S' } | ||
}, | ||
{ | ||
name: 'uploadedZip', | ||
details: { name: 'Oleg M', type: 'typography component' } | ||
}, | ||
{ | ||
name: 'startedTopic', | ||
details: { name: 'Andrei H' } | ||
} | ||
], | ||
languages: [ | ||
{ | ||
code: 'gb', | ||
name: 'english' | ||
}, | ||
{ | ||
code: 'es', | ||
name: 'spanish' | ||
} | ||
], | ||
profiles: [ | ||
{ | ||
name: 'profile' | ||
}, | ||
{ | ||
name: 'logout' | ||
} | ||
] | ||
} | ||
}, | ||
computed: { | ||
valueProxy: { | ||
get () { | ||
return this.value | ||
return this.isOpen | ||
}, | ||
set (value) { | ||
this.$emit('toggle-menu', value) | ||
set (opened) { | ||
this.$emit('toggle-menu', opened) | ||
}, | ||
} | ||
}, | ||
|
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
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.