Commit 8f71ea335f34ad900e49cf5111fe61661d3c13a7

Authored by Amber Dev

Merge branch 'master' of http://git.viithiisys.com/viithiisys/school-management-…

…dashboard into amber-development
src/pages/Dashboard/LiveOnlineClass.vue
... ... @@ -132,7 +132,55 @@
132 132  
133 133 <v-container grid-list-xl class="pt-0">
134 134 <v-layout row wrap class="mt-1">
135   - <v-flex xs12 sm12 md9>
  135 + <v-flex xs12 sm12 md9 v-if=" $store.state.role === 'PARENT' ">
  136 + <v-layout column>
  137 + <!-- HEADING -->
  138 + <v-flex>
  139 + <div class="title side-bar-color font-weight-bold">Live Online Classes - Solution</div>
  140 + <div class="subheading grey--text lighten-1">This conference is in progress</div>
  141 + <div
  142 + class="subheading grey--text lighten-1"
  143 + >The session started at 1:00 there is 1 moderator</div>
  144 + </v-flex>
  145 +
  146 + <!-- JOIN OR END SESSION -->
  147 + <v-flex>
  148 + <div>
  149 + <v-btn round class="open-dialog-button" dark>Join Session</v-btn>
  150 + </div>
  151 + </v-flex>
  152 +
  153 + <!-- DATA TABLE -->
  154 + <v-flex>
  155 + <div>
  156 + <span class="subheading font-weight-bold">Recording</span>
  157 + </div>
  158 + <v-data-table
  159 + :headers="liveOnlineHeaders"
  160 + :items="liveOnlineHeaders"
  161 + :pagination.sync="pagination"
  162 + :search="search"
  163 + item-key="_id"
  164 + >
  165 + <template slot="items" slot-scope="props">
  166 + <tr
  167 + class="tr"
  168 + @click="props.expanded = !props.expanded;courseDiscussionId = props.item._id;getDiscussionesThread(props.item._id)"
  169 + >
  170 + <td class="text-xs-center td td-row">
  171 + <v-btn round class="open-dialog-button" dark>Join Session</v-btn>
  172 + </td>
  173 + <td class="td td-row text-xs-center">{{ }}</td>
  174 + <td class="td td-row text-xs-center">{{ }}</td>
  175 + <td class="td td-row text-xs-center">-</td>
  176 + <td class="td td-row text-xs-center">{{ }}</td>
  177 + </tr>
  178 + </template>
  179 + </v-data-table>
  180 + </v-flex>
  181 + </v-layout>
  182 + </v-flex>
  183 + <v-flex xs12 sm12 md12 v-else>
136 184 <v-layout column>
137 185 <!-- HEADING -->
138 186 <v-flex>
... ...