Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
Vips
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Uni Osnabrück
Plugins
Vips
Merge requests
!7
Vips modification feedback, re
#203
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Vips modification feedback, re
#203
vips-modification-feedback
into
master
Overview
1
Commits
12
Changes
2
Merged
Elmar Ludwig
requested to merge
vips-modification-feedback
into
master
1 year ago
Overview
1
Commits
12
Changes
2
Expand
0
0
Merge request reports
Viewing commit
b6dc6df2
Prev
Next
Show latest version
2 files
+
0
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
b6dc6df2
remove debugging
· b6dc6df2
Michaela Brückner
authored
1 year ago
views/sheets/edit_assignment.php
+
68
−
0
Options
@@ -170,6 +170,74 @@
</div>
<?
endif
?>
</div>
<div
class=
"practice-hidden exam-hidden"
>
<input
id=
"feedback-toggle"
class=
"options-toggle"
type=
"checkbox"
value=
"on"
>
<label
class=
"caption"
for=
"feedback-toggle"
>
<?=
Icon
::
create
(
'arr_1down'
,
'clickable'
,
[
'class'
=>
'toggle-open'
])
?>
<?=
Icon
::
create
(
'arr_1right'
,
'clickable'
,
[
'class'
=>
'toggle-closed'
])
?>
<?=
_vips
(
'Automatisches Feedback'
)
?>
</label>
<div
class=
"toggle-box"
>
<table
class=
"default description"
>
<thead>
<tr>
<th
style=
"width: 20%;"
>
<?=
_vips
(
'Erforderliche Punkte'
)
?>
</th>
<th
style=
"width: 75%;"
>
<?=
_vips
(
'Kommentar zur Bewertung'
)
?>
</th>
<th
class=
"actions"
>
<?=
_vips
(
'Löschen'
)
?>
</th>
</tr>
</thead>
<tbody
class=
"dynamic_list"
style=
"vertical-align: top;"
>
<?
if
(
isset
(
$assignment
->
options
[
'feedback'
]))
:
?>
<?
foreach
(
$assignment
->
options
[
'feedback'
]
as
$threshold
=>
$feedback
)
:
?>
<tr
class=
"dynamic_row"
>
<td>
<input
type=
"number"
name=
"threshold[]"
min=
"0"
max=
"100"
value=
"
<?=
htmlReady
(
$threshold
)
?>
"
data-secure
>
%
</td>
<td>
<textarea
name=
"feedback[]"
class=
"character_input size-l wysiwyg"
data-secure
>
<?=
wysiwygReady
(
$feedback
)
?>
</textarea>
</td>
<td
class=
"actions"
>
<a
href=
"#"
class=
"delete_dynamic_row"
>
<?=
Icon
::
create
(
'trash'
,
'clickable'
,
[
'title'
=>
_vips
(
'Eintrag Löschen'
)])
?>
</a>
</td>
</tr>
<?
endforeach
?>
<?
endif
?>
<tr
class=
"dynamic_row template"
>
<td>
<input
type=
"number"
name=
"threshold[]"
min=
"0"
max=
"100"
data-secure
>
%
</td>
<td>
<textarea
name=
"feedback[]"
class=
"character_input size-l wysiwyg"
data-secure
></textarea>
</td>
<td
class=
"actions"
>
<a
href=
"#"
class=
"delete_dynamic_row"
>
<?=
Icon
::
create
(
'trash'
,
'clickable'
,
[
'title'
=>
_vips
(
'Eintrag Löschen'
)])
?>
</a>
</td>
</tr>
<tr>
<th
colspan=
"3"
>
<?=
Studip\Button
::
create
(
_vips
(
'Eintrag hinzufügen'
),
'add_feedback'
,
[
'class'
=>
'add_dynamic_row'
])
?>
</th>
</tr>
</tbody>
</table>
</div>
</div>
</fieldset>
<table
class=
"default"
id=
"exercises"
>
Loading