Guest User

Untitled

a guest
Feb 22nd, 2018
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.55 KB | None | 0 0
  1. <template>
  2. <v-app>
  3.  
  4. <v-navigation-drawer
  5. app
  6. clipped
  7. fixed
  8. v-model="drawer">
  9.  
  10. <v-list class="main-navigation-drawer">
  11. <template for v-for="(item, idx) of sidebarItems">
  12.  
  13. <v-layout :key="idx" row>
  14. <v-flex xs12>
  15.  
  16. <v-list-tile :to="item.route">
  17. <v-list-tile-action>
  18. <v-icon>{{ item.icon }}</v-icon>
  19. </v-list-tile-action>
  20. <v-list-tile-content>
  21. <v-list-tile-title>
  22. {{ item.text }}
  23. </v-list-tile-title>
  24. </v-list-tile-content>
  25. </v-list-tile>
  26.  
  27. </v-flex>
  28.  
  29. </v-layout>
  30.  
  31. </template>
  32. </v-list>
  33.  
  34. </v-navigation-drawer>
  35.  
  36.  
  37. <v-toolbar
  38. color="orange darken-3"
  39. dark
  40. app
  41. clipped-left
  42. fixed>
  43.  
  44. <v-toolbar-title :style="$vuetify.breakpoint.smAndUp ? 'width: 300px; min-width: 250px' : 'min-width: 72px'" class="ml-0 pl-3">
  45. <v-toolbar-side-icon @click.stop="drawer = !drawer"></v-toolbar-side-icon>
  46. <span class="hidden-xs-only">VBS ERP</span>
  47. </v-toolbar-title>
  48.  
  49. <div class="d-flex align-center" style="margin-left: auto">
  50. <v-btn icon>
  51. <v-icon>apps</v-icon>
  52. </v-btn>
  53. <v-btn icon>
  54. <v-icon>notifications</v-icon>
  55. </v-btn>
  56.  
  57.  
  58. <v-menu
  59. transition="scale-transition"
  60. origin="top right"
  61. offset-y
  62. min-width="280px">
  63. <v-btn icon large slot="activator">
  64. <v-icon>person</v-icon>
  65. </v-btn>
  66. <v-form action="/logout" method="post" class="white">
  67. <input type="hidden" name="_token" v-bind:value="csrfToken">
  68.  
  69. <v-container grid-list-md>
  70. <v-layout row justify-space-between>
  71. <v-flex><strong>{{ userDetails.name }}</strong></v-flex>
  72. </v-layout>
  73. <v-layout row justify-space-between>
  74. <v-flex>{{ userDetails.email }}</v-flex>
  75. </v-layout>
  76. </v-container>
  77.  
  78. <v-btn type="submit" block>
  79. <v-layout row justify-space-between>
  80. <span>Sair</span>
  81. <v-icon>exit_to_app</v-icon>
  82. </v-layout>
  83. </v-btn>
  84. <v-btn type="button" to="/account-settings" block>
  85. <v-layout row justify-space-between>
  86. <span>Configurações de Usuário</span>
  87. <v-icon>settings</v-icon>
  88. </v-layout>
  89. </v-btn>
  90. </v-form>
  91. </v-menu>
  92.  
  93.  
  94. </div>
  95.  
  96. </v-toolbar>
  97.  
  98.  
  99. <v-content>
  100.  
  101. <v-container>
  102.  
  103.  
  104. <router-view></router-view>
  105.  
  106. </v-container>
  107.  
  108. </v-content>
  109.  
  110.  
  111. <v-footer app class="app-footer pa-3">
  112. <div class="text-xs-center d-block developer">
  113. Desenvolvido por
  114. <img
  115. class="squares-vbsmidia"
  116. src="dist/imgs/vbsmidia-squares-small-orange.png"
  117. alt="logo vbsmídia small">
  118. VBS Mídia
  119. - &copy; {{ new Date().getFullYear() }}
  120. </div>
  121. </v-footer>
  122.  
  123. <!--
  124. Shows/hides according to instructions sent through the bus from other components.
  125. -->
  126. <v-dialog v-model="sysmsg.display" max-width="500px">
  127. <v-card>
  128. <v-card-title>
  129. <span v-html="sysmsg.message"></span>
  130. </v-card-title>
  131. <v-card-actions>
  132. <v-btn color="primary" flat @click.stop="sysmsg.display = false">Fechar</v-btn>
  133. </v-card-actions>
  134. </v-card>
  135. </v-dialog>
  136.  
  137. </v-app>
  138.  
  139. </template>
Add Comment
Please, Sign In to add comment