Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PUC
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LALA-Project
PUC
Commits
ec832a5f
Commit
ec832a5f
authored
Jun 23, 2020
by
Mar Pérez-Sanagustín
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
9fb54c5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
78 additions
and
0 deletions
+78
-0
notes.mustache
... Pluggin Updated/student_reports/templates/notes.mustache
+78
-0
No files found.
NMP Moodle Pluggin Updated/student_reports/templates/notes.mustache
0 → 100644
View file @
ec832a5f
<div
id=
"sr-loader"
>
<div
class=
"progress-student-reports"
>
<div
class=
"indeterminate"
></div>
</div>
</div>
<v-app
id=
"notes"
>
<v-content>
<pageheader
:pagetitle=
"strings.title_notes"
:helptitle=
"strings.helplabel"
:exitbutton=
"strings.exitbutton"
:helpcontents=
"get_help_content()"
></pageheader>
<v-row
class=
"pt-4"
>
<v-col
cols=
"12"
sm=
"8"
offset-sm=
"2"
class=
"mb-0 pa-0"
>
<v-layout
column
>
<v-text-field
:label=
"strings.title"
outlined
v-model=
"title"
id=
"titlenote"
class=
"mb-1"
></v-text-field>
<quill-editor
v-model=
"notes"
:options=
"quillOptions"
class=
"quill-editor mb-2"
></quill-editor>
<v-flex
d-flex
justify-center
align-center
>
<v-btn
v-text=
"strings.btn_note_new"
v-if=
"noteid"
@
click=
"clear_form_note()"
class=
"sr-btn-secondary ma-0 mr-2"
></v-btn>
<v-btn
v-text=
"strings.btn_notes"
:disabled=
"!isDisabledBtn"
@
click=
"action_note()"
class=
"sr-btn-primary ma-0"
></v-btn>
</v-flex>
</v-layout>
<v-layout
class=
"justify-center"
>
<v-progress-linear
v-if=
"saving_loader"
indeterminate
color=
"cyan"
class=
"mt-2"
></v-progress-linear>
</v-layout>
</v-col>
<v-row>
<v-layout
column
>
<v-divider></v-divider>
<v-flex
d-flex
justify-center
>
<v-flex
class=
"input-search pr-3 pl-3 pt-2 pb-1"
>
<v-text-field
:placeholder=
"strings.search"
prepend-icon=
"search"
v-model=
"search_notes"
class=
"ma-0 pa-0"
clearable
></v-text-field>
</v-flex>
</v-flex>
<v-divider></v-divider>
</v-layout>
<v-container
pr-12
pl-12
>
<v-row>
<v-layout
v-if=
"notes_not_found"
class=
"mt-10"
justify-center
>
<span
class=
"title"
v-text=
"strings.notes_not_found"
></span>
</v-layout>
<masonry
v-else
:cols=
"{default: 3, 1000: 2, 800: 1}"
class=
"full-width"
>
<v-layout
v-for=
"(note,index,key) in get_notes"
:key=
"key"
class=
"pa-3 full-width"
>
<v-card
flat
class=
"text-xs-center full-width"
>
<v-card-title
class=
"pa-1 pl-4"
>
<v-layout
justify-space-between
align-center
>
<v-flex
d-flex
justify-start
align-center
>
<v-chip
v-if=
"(note.new_note)"
class=
"mr-2"
small
color=
"orange"
text-color=
"white"
v-text=
"strings.string_note_new"
></v-chip>
<v-chip
v-if=
"(note.update_note)"
class=
"mr-2"
small
color=
"green"
text-color=
"white"
v-text=
"strings.string_note_update"
></v-chip>
<span
class=
"subtitle-1 font-weight-bold"
v-text=
"note.title"
></span>
</v-flex>
<v-menu
bottom
left
>
<template
v-slot:activator=
"{ on }"
>
<span
class=
"single-button"
v-on=
"on"
><v-icon>
mdi-dots-vertical
</v-icon></span>
</template>
<v-list>
<v-list-item-title
@
click=
"complete_fields_update(note)"
v-text=
"strings.btn_note_update"
></v-list-item-title>
<v-list-item-title
@
click=
"delete_note(note.id)"
v-text=
"strings.btn_note_delete"
></v-list-item-title>
</v-list>
</v-menu>
</v-layout>
</v-card-title>
<v-card-text
class=
"pa-4"
>
<v-layout
column
>
<v-flex
v-html=
'note.description'
>
</v-flex>
<v-flex
d-flex
justify-end
pr-2
pl-2
>
<span
class=
"caption text-gray"
v-text=
"txt_created(note)"
></span>
</v-flex>
</v-layout>
</v-card-text>
</v-card>
</v-layout>
</masonry>
</v-row>
</v-container>
</v-content>
</v-app>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment