mirror of
https://github.com/seigler/dash-platform-console
synced 2025-07-27 01:26:11 +00:00
28 lines
687 B
Vue
28 lines
687 B
Vue
<template>
|
|
<v-app>
|
|
<v-app-bar app>
|
|
<v-toolbar-title>Dash Platform Console</v-toolbar-title>
|
|
|
|
<v-spacer />
|
|
|
|
<v-btn text :to="{ name: 'identities' }">Identities</v-btn>
|
|
<v-btn class="ml-1" text :to="{ name: 'names' }">Names</v-btn>
|
|
<v-btn class="ml-1" text :to="{ name: 'contracts' }">Contracts</v-btn>
|
|
<v-btn class="ml-1" text :to="{ name: 'documents' }">Documents</v-btn>
|
|
|
|
</v-app-bar>
|
|
|
|
<v-content>
|
|
<router-view />
|
|
</v-content>
|
|
</v-app>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
created() {
|
|
this.$vuetify.theme.dark = window.matchMedia
|
|
&& window.matchMedia('(prefers-color-scheme: dark)').matches;
|
|
},
|
|
};
|
|
</script>
|