Gitlab Community Edition Instance
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
grady
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Maximilian Michal
grady
Merge requests
!247
Resolve "Update Vuetify"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Update Vuetify"
250-update-vuetify
into
master
Overview
2
Commits
60
Pipelines
32
Changes
1
Merged
Jakob Dieterle
requested to merge
250-update-vuetify
into
master
4 years ago
Overview
2
Commits
60
Pipelines
32
Changes
1
Expand
Closes
#250 (closed)
Edited
4 years ago
by
Thilo Wischmeyer
0
0
Merge request reports
Viewing commit
92b5e676
Show latest version
1 file
+
69
−
74
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
92b5e676
Removed double border around tutor list
· 92b5e676
Thilo Wischmeyer
authored
4 years ago
frontend/src/components/tutor_list/TutorList.vue
+
69
−
74
Options
<
template
>
<v-col
lg=
"7"
xl=
"5"
>
<v-card>
<v-card-title
class=
"title"
>
Tutors
<v-spacer
/>
<v-btn
icon
@
click=
"refresh"
>
<v-icon>
refresh
</v-icon>
</v-btn>
</v-card-title>
<v-data-table
:headers=
"headers"
:items=
"tutors"
:search=
"search"
item-key=
"pk"
hide-actions
<v-card>
<v-card-title
class=
"title"
>
Tutors
<v-spacer
/>
<v-btn
icon
@
click=
"refresh"
>
<template
slot=
"items"
slot-scope=
"props"
>
<td>
{{
props
.
item
.
username
}}
</td>
<td
class=
"text-right"
>
{{
props
.
item
.
feedbackCreated
}}
</td>
<td
class=
"text-right"
>
{{
props
.
item
.
feedbackValidated
}}
</td>
<td
class=
"text-right"
>
{{
props
.
item
.
reservedSubmissions
}}
<v-tooltip
v-if=
"props.item.reservedSubmissions"
top
>
<v-icon>
refresh
</v-icon>
</v-btn>
</v-card-title>
<v-data-table
:headers=
"headers"
:items=
"tutors"
:search=
"search"
item-key=
"pk"
hide-actions
>
<template
slot=
"items"
slot-scope=
"props"
>
<td>
{{
props
.
item
.
username
}}
</td>
<td
class=
"text-right"
>
{{
props
.
item
.
feedbackCreated
}}
</td>
<td
class=
"text-right"
>
{{
props
.
item
.
feedbackValidated
}}
</td>
<td
class=
"text-right"
>
{{
props
.
item
.
reservedSubmissions
}}
<v-tooltip
v-if=
"props.item.reservedSubmissions"
top
>
<template
#activator
="
{ on }">
<v-icon
small
v-on=
"on"
@
click=
"deleteAssignmentsOfTutor(props.item)"
>
clear
</v-icon>
</
template
>
<span>
Free locked submissions
</span>
</v-tooltip>
</td>
<td
class=
"text-right"
>
<v-btn
v-if=
"canRevokeAccess(props.item.username)"
icon
@
click=
"changeActiveStatus(props.item)"
>
<v-tooltip
top
>
<
template
#activator=
"{ on }"
>
<v-icon
v-if=
"!props.item.isActive"
small
v-on=
"on"
>
lock
</v-icon>
<v-icon
v-else
small
v-on=
"on"
@
click=
"deleteAssignmentsOfTutor(props.item)"
>
clear
lock_open
</v-icon>
</
template
>
<span>
Free locked submissions
</span>
<span
v-if=
"!props.item.isActive"
>
Grant access
</span>
<span
v-else
>
Revoke access
</span>
</v-tooltip>
</td>
<td
class=
"text-right"
>
<v-btn
v-if=
"canRevokeAccess(props.item.username)"
icon
@
click=
"changeActiveStatus(props.item)"
>
<v-tooltip
top
>
<
template
#activator=
"{ on }"
>
<v-icon
v-if=
"!props.item.isActive"
small
v-on=
"on"
>
lock
</v-icon>
<v-icon
v-else
small
v-on=
"on"
>
lock_open
</v-icon>
</
template
>
<span
v-if=
"!props.item.isActive"
>
Grant access
</span>
<span
v-else
>
Revoke access
</span>
</v-tooltip>
</v-btn>
</td>
</template>
</v-data-table>
</v-card>
</v-col>
</v-btn>
</td>
</template>
</v-data-table>
</v-card>
</template>
<
script
lang=
"ts"
>
Loading