Upload New File

parent 6d63e542
<div id="sr-loader">
<div class="progress-student-reports">
<div class="indeterminate"></div>
</div>
</div>
<v-app id="activities_performed_teacher" class="pa-2" class="student_reports">
<v-content>
<pageheader :pagetitle="strings.title" :helptitle="strings.helplabel" :exitbutton="strings.exitbutton"
:helpcontents="get_help_content()" :groups="groups" :courseid="courseid" :userid="userid"></pageheader>
<v-container pa-8>
<v-layout column v-if="loading">
<span class="mb-1 mt-5 body-1" v-text="strings.graph_generating"></span>
<v-progress-linear indeterminate color="cyan"></v-progress-linear>
</v-layout>
<template v-else>
<pagination v-if="!show_student_list" :pages="pages" :name="strings.pagination_name" :nameseparator="strings.pagination_separator"
@changepage="update_course_modules"></pagination>
<v-layout v-if="!show_student_list">
<chart type="horizontalBar" :data="get_chart_data()" :options="chart_options"></chart>
</v-layout>
<v-layout v-else column>
<template>
<v-card class="remove-shadow make-border vuetify-datatable">
<v-card-title>
<span v-text="module_name_viewing"></span>
<v-spacer></v-spacer>
<v-text-field
v-model="search"
append-icon="search"
single-line
hide-details
class="txt_search"
></v-text-field>
</v-card-title>
<v-data-table :headers="headers" :items="student_list" :search="search" dense multi-sort :items-per-page="20"
:footer-props="footerproperties">
<template v-slot:item.id="{ item }">
<img :src="get_picture_url(item.id)" width="35px" heigth="35px" class="round-avatar"/>
</template>
<template v-slot:item.interactions_summary.average="{ item }">
<span v-text="item.interactions_summary.count_display_time_average_converted"></span>
</template>
</v-data-table>
</v-card>
</template>
<v-flex d-flex justify-center>
<v-btn v-text="'Volver al grafico'" @click="show_student_list = false" class="sr-btn-primary mt-4"></v-btn>
</v-flex>
</v-layout>
</template>
</v-container>
</v-content>
</v-app>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment