Skip to content

Commit

Permalink
Make Grunt happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaboesch committed Jul 13, 2024
1 parent a853c5a commit 0170104
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/moodle-plugin-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:

- name: Grunt
if: ${{ always() }}
run: moodle-plugin-ci grunt || true
run: moodle-plugin-ci grunt

- name: PHPUnit tests
if: ${{ always() }}
Expand Down
1 change: 0 additions & 1 deletion amd/build/report.min.js.map

This file was deleted.

112 changes: 98 additions & 14 deletions templates/template_criterion_list.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,105 @@
Example context (json):
{
"instances": [
{
"name": "Anonymous verbal feedback",
"url" : "#"
},
{
"name": "Another verbal feedback",
"url" : "#"
},
{
"name": "Non-anonymous verbal feedback",
"url" : "#"
}
]
"templatelisturl": {},
"templatecategorylisturl": {},
"templatecriterialisturl": {},
"languagelisturl": {},
"newtemplatecriterionurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_edit.php",
"templatecriteria": [
{
"id": 1,
"text": "The content is relevant, technically correct and supported by arguments.",
"editurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_edit.php?id=1",
"deleteurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_delete.php?id=1",
"subratingcount": 7
},
{
"id": 2,
"text": "The content is tailored to the target audience and the occasion.",
"editurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_edit.php?id=2",
"deleteurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_delete.php?id=2",
"subratingcount": 6
},
{
"id": 3,
"text": "The content presented is evidence of a thorough, independent examination of the topic.",
"editurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_edit.php?id=3",
"deleteurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_delete.php?id=3",
"subratingcount": 4
},
{
"id": 4,
"text": "The introduction establishes contact, stimulates interest and provides orientation.",
"editurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_edit.php?id=4",
"deleteurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_delete.php?id=4",
"subratingcount": 7
},
{
"id": 5,
"text": "The main points build on each other and are in line with your purpose.",
"editurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_edit.php?id=5",
"deleteurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_delete.php?id=5",
"subratingcount": 4
},
{
"id": 6,
"text": "The final is convincing and clearly signals the end of the presentation.",
"editurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_edit.php?id=6",
"deleteurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_delete.php?id=6",
"subratingcount": 3
},
{
"id": 7,
"text": "The use of media is professional.",
"editurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_edit.php?id=7",
"deleteurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_delete.php?id=7",
"subratingcount": 8
},
{
"id": 8,
"text": "The visual aids are attractive and of good quality.",
"editurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_edit.php?id=8",
"deleteurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_delete.php?id=8",
"subratingcount": 11
},
{
"id": 9,
"text": "The language style is typical for spoken texts and suitable for the target audience.",
"editurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_edit.php?id=9",
"deleteurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_delete.php?id=9",
"subratingcount": 9
},
{
"id": 10,
"text": "The style of speaking is convincing and facilitates comprehension.",
"editurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_edit.php?id=10",
"deleteurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_delete.php?id=10",
"subratingcount": 7
},
{
"id": 11,
"text": "The performance is confident and the space is used effectively.",
"editurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_edit.php?id=11",
"deleteurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_delete.php?id=11",
"subratingcount": 8
},
{
"id": 12,
"text": "Eye contact is made with the entire audience and is maintained as much as possible.",
"editurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_edit.php?id=12",
"deleteurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_delete.php?id=12",
"subratingcount": 4
},
{
"id": 13,
"text": "Facial expressions are friendly and authentic. Gestures emphasize what is being said.",
"editurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_edit.php?id=13",
"deleteurl": "http://localhost/mdk/stable_403/mod/verbalfeedback/template_criterion_delete.php?id=13",
"subratingcount": 6
}
]
}
}}
<div class="container">
<div class="btn-group">
Expand Down

0 comments on commit 0170104

Please sign in to comment.