Skip to content
Snippets Groups Projects
TutorReviewerBaseLayout.vue 1.71 KiB
Newer Older
  • Learn to ignore specific revisions
  • <template>
      <base-layout>
    
        <template slot="header">
          Grady
        </template>
    
        <template slot="sidebar-content">
          <v-list dense>
    
    robinwilliam.hundt's avatar
    robinwilliam.hundt committed
            <v-list-tile v-for="(item, i) in generalNavItems" :key="i" :to="item.route">
    
              <v-list-tile-action>
                <v-icon>{{ item.icon }}</v-icon>
              </v-list-tile-action>
              <v-list-tile-content>
    
                <v-list-tile-title :id="item.tagId">
    
                  {{ item.name }}
                </v-list-tile-title>
              </v-list-tile-content>
            </v-list-tile>
          </v-list>
          <v-divider></v-divider>
          <slot name="above-subscriptions"></slot>
          <subscription-list :sidebar="true"/>
    
          <feedback-labels-list/>
    
          <slot name="below-subscriptions"></slot>
        </template>
    
    robinwilliam.hundt's avatar
    robinwilliam.hundt committed
        <template slot="toolbar-right"><slot name="toolbar-right"></slot></template>
    
      </base-layout>
    </template>
    
    <script>
    
    import BaseLayout from '@/components/BaseLayout'
    import SubscriptionList from '@/components/subscriptions/SubscriptionList'
    
    import FeedbackLabelsList from '@/components/feedback_labels/FeedbackLabelsList.vue'
    
    export default {
      components: {
        SubscriptionList,
    
        BaseLayout },
    
      name: 'tutor-reviewer-base-layout',
      data () {
        return {
          generalNavItems: [
            {
              name: 'Overview',
              icon: 'home',
    
              route: '/home',
              tagId: 'overview'
    
              name: 'Feedback History',
    
              route: '/feedback',
              tagId: 'feedback'
    
              route: '/statistics',
              tagId: 'statistics'
    
    <style scoped>
    </style>