aboutsummaryrefslogtreecommitdiff
path: root/app/views/vips/sheets
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/vips/sheets')
-rw-r--r--app/views/vips/sheets/add_exercise_dialog.php2
-rw-r--r--app/views/vips/sheets/content_bar_icons.php8
-rw-r--r--app/views/vips/sheets/copy_assignment_dialog.php2
-rw-r--r--app/views/vips/sheets/copy_exercise_dialog.php2
-rw-r--r--app/views/vips/sheets/edit_assignment.php8
-rw-r--r--app/views/vips/sheets/edit_exercise.php6
-rw-r--r--app/views/vips/sheets/show_assignment.php8
-rw-r--r--app/views/vips/sheets/show_exercise_link.php2
8 files changed, 19 insertions, 19 deletions
diff --git a/app/views/vips/sheets/add_exercise_dialog.php b/app/views/vips/sheets/add_exercise_dialog.php
index 2858485..fbcd953 100644
--- a/app/views/vips/sheets/add_exercise_dialog.php
+++ b/app/views/vips/sheets/add_exercise_dialog.php
@@ -16,7 +16,7 @@
<div class="exercise_types">
<? foreach ($exercise_types as $type => $entry): ?>
<button class="exercise_type" name="exercise_type" value="<?= htmlReady($type) ?>">
- <?= $type::getTypeIcon()->asSvg(40) ?>
+ <?= $type::getTypeIcon()->asImg(40) ?>
<div class="exercise_type_description">
<span class="exercise_type_name"><?= htmlReady($entry['name']) ?></span>
<span><?= htmlReady($type::getTypeDescription()) ?></span>
diff --git a/app/views/vips/sheets/content_bar_icons.php b/app/views/vips/sheets/content_bar_icons.php
index b0f98c1..5d6268a 100644
--- a/app/views/vips/sheets/content_bar_icons.php
+++ b/app/views/vips/sheets/content_bar_icons.php
@@ -1,19 +1,19 @@
<? if (isset($prev_exercise_url)): ?>
<a href="<?= htmlReady($prev_exercise_url) ?>">
- <?= Icon::create('arr_1left')->asSvg(24, ['title' => _('Vorige Aufgabe')]) ?>
+ <?= Icon::create('arr_1left')->asImg(24, ['title' => _('Vorige Aufgabe')]) ?>
</a>
<? else: ?>
<span>
- <?= Icon::create('arr_1left', Icon::ROLE_INACTIVE)->asSvg(24) ?>
+ <?= Icon::create('arr_1left', Icon::ROLE_INACTIVE)->asImg(24) ?>
</span>
<? endif ?>
<? if (isset($next_exercise_url)): ?>
<a href="<?= htmlReady($next_exercise_url) ?>">
- <?= Icon::create('arr_1right')->asSvg(24, ['title' => _('Nächste Aufgabe')]) ?>
+ <?= Icon::create('arr_1right')->asImg(24, ['title' => _('Nächste Aufgabe')]) ?>
</a>
<? else: ?>
<span>
- <?= Icon::create('arr_1right', Icon::ROLE_INACTIVE)->asSvg(24) ?>
+ <?= Icon::create('arr_1right', Icon::ROLE_INACTIVE)->asImg(24) ?>
</span>
<? endif ?>
diff --git a/app/views/vips/sheets/copy_assignment_dialog.php b/app/views/vips/sheets/copy_assignment_dialog.php
index f7c8209..49eecb9 100644
--- a/app/views/vips/sheets/copy_assignment_dialog.php
+++ b/app/views/vips/sheets/copy_assignment_dialog.php
@@ -67,7 +67,7 @@
<?= htmlReady($assignment['test_title']) ?>
<a href="<?= $controller->link_for('vips/sheets/show_assignment', ['cid' => $course_id, 'assignment_id' => $assignment['id']]) ?>" target="_blank">
- <?= Icon::create('link-intern')->asSvg(['title' => _('Vorschau anzeigen')]) ?>
+ <?= Icon::create('link-intern')->asImg(['title' => _('Vorschau anzeigen')]) ?>
</a>
</label>
</td>
diff --git a/app/views/vips/sheets/copy_exercise_dialog.php b/app/views/vips/sheets/copy_exercise_dialog.php
index d825ce1..7eeec26 100644
--- a/app/views/vips/sheets/copy_exercise_dialog.php
+++ b/app/views/vips/sheets/copy_exercise_dialog.php
@@ -90,7 +90,7 @@
<a href="<?= $controller->link_for('vips/sheets/preview_exercise', ['assignment_id' => $exercise['assignment_id'], 'exercise_id' => $exercise['id']]) ?>"
data-dialog="id=vips_preview;size=800x600" target="_blank">
- <?= Icon::create('question-circle')->asSvg(['title' => _('Vorschau anzeigen')]) ?>
+ <?= Icon::create('question-circle')->asImg(['title' => _('Vorschau anzeigen')]) ?>
</a>
</label>
</td>
diff --git a/app/views/vips/sheets/edit_assignment.php b/app/views/vips/sheets/edit_assignment.php
index 5ced547..d6e1b78 100644
--- a/app/views/vips/sheets/edit_assignment.php
+++ b/app/views/vips/sheets/edit_assignment.php
@@ -81,8 +81,8 @@
<section>
<input id="options-toggle" class="options-toggle" type="checkbox" value="on" <?= $assignment_id ? '' : 'checked' ?>>
<a class="caption" href="#" role="button" data-toggles="#options-toggle" aria-controls="options-panel" aria-expanded="<?= $assignment_id ? 'false' : 'true' ?>">
- <?= Icon::create('arr_1down')->asSvg(['class' => 'toggle-open']) ?>
- <?= Icon::create('arr_1right')->asSvg(['class' => 'toggle-closed']) ?>
+ <?= Icon::create('arr_1down')->asImg(['class' => 'toggle-open']) ?>
+ <?= Icon::create('arr_1right')->asImg(['class' => 'toggle-closed']) ?>
<?= _('Weitere Einstellungen') ?>
</a>
@@ -191,8 +191,8 @@
<div class="practice-hidden exam-hidden">
<input id="feedback-toggle" class="options-toggle" type="checkbox" value="on">
<a class="caption" href="#" role="button" data-toggles="#feedback-toggle" aria-controls="feedback-panel" aria-expanded="false">
- <?= Icon::create('arr_1down')->asSvg(['class' => 'toggle-open']) ?>
- <?= Icon::create('arr_1right')->asSvg(['class' => 'toggle-closed']) ?>
+ <?= Icon::create('arr_1down')->asImg(['class' => 'toggle-open']) ?>
+ <?= Icon::create('arr_1right')->asImg(['class' => 'toggle-closed']) ?>
<?= _('Automatisches Feedback') ?>
</a>
diff --git a/app/views/vips/sheets/edit_exercise.php b/app/views/vips/sheets/edit_exercise.php
index 41156e1..2650691 100644
--- a/app/views/vips/sheets/edit_exercise.php
+++ b/app/views/vips/sheets/edit_exercise.php
@@ -75,7 +75,7 @@
<td>
<input type="hidden" name="file_ids[]" value="<?= $file_ref->id ?>">
<a href="<?= htmlReady($file_ref->getDownloadURL()) ?>" <?= $file_ref->getContentDisposition() === 'inline' ? 'target="_blank"' : '' ?>>
- <?= Icon::create('file')->asSvg(['title' => _('Datei herunterladen')]) ?>
+ <?= Icon::create('file')->asImg(['title' => _('Datei herunterladen')]) ?>
<?= htmlReady($file_ref->name) ?>
</a>
</td>
@@ -122,8 +122,8 @@
<input id="options-toggle" class="options-toggle" type="checkbox" value="on">
<a class="caption" href="#" role="button" data-toggles="#options-toggle" aria-controls="options-panel" aria-expanded="false">
- <?= Icon::create('arr_1down')->asSvg(['class' => 'toggle-open']) ?>
- <?= Icon::create('arr_1right')->asSvg(['class' => 'toggle-closed']) ?>
+ <?= Icon::create('arr_1down')->asImg(['class' => 'toggle-open']) ?>
+ <?= Icon::create('arr_1right')->asImg(['class' => 'toggle-closed']) ?>
<?= _('Weitere Einstellungen') ?>
</a>
diff --git a/app/views/vips/sheets/show_assignment.php b/app/views/vips/sheets/show_assignment.php
index 1494b74..d598e51 100644
--- a/app/views/vips/sheets/show_assignment.php
+++ b/app/views/vips/sheets/show_assignment.php
@@ -56,8 +56,8 @@
<form class="default width-1200" style="margin-bottom: 1.5ex;">
<input id="options-toggle" class="options-toggle" type="checkbox" value="on">
<a class="caption" href="#" role="button" data-toggles="#options-toggle" aria-controls="options-panel" aria-expanded="false">
- <?= Icon::create('arr_1down')->asSvg(['class' => 'toggle-open']) ?>
- <?= Icon::create('arr_1right')->asSvg(['class' => 'toggle-closed']) ?>
+ <?= Icon::create('arr_1down')->asImg(['class' => 'toggle-open']) ?>
+ <?= Icon::create('arr_1right')->asImg(['class' => 'toggle-closed']) ?>
<?= _('Teilnahmebedingungen') ?>
</a>
@@ -148,9 +148,9 @@
</td>
<td style="text-align: center;">
<? if ($solution): ?>
- <?= Icon::create('accept', Icon::ROLE_STATUS_GREEN)->asSvg(['title' => _('ja')]) ?>
+ <?= Icon::create('accept', Icon::ROLE_STATUS_GREEN)->asImg(['title' => _('ja')]) ?>
<? else : ?>
- <?= Icon::create('decline', Icon::ROLE_STATUS_RED)->asSvg(['title' => _('nein')]) ?>
+ <?= Icon::create('decline', Icon::ROLE_STATUS_RED)->asImg(['title' => _('nein')]) ?>
<? endif ?>
</td>
<td style="text-align: center;">
diff --git a/app/views/vips/sheets/show_exercise_link.php b/app/views/vips/sheets/show_exercise_link.php
index 1abc369..6f41a6a 100644
--- a/app/views/vips/sheets/show_exercise_link.php
+++ b/app/views/vips/sheets/show_exercise_link.php
@@ -17,7 +17,7 @@
</div>
<div class="sidebar_exercise_state">
<? if ($assignment->getSolution($solver_id, $item->task_id)): ?>
- <?= Icon::create('accept', Icon::ROLE_STATUS_GREEN)->asSvg(['title' => _('Aufgabe bearbeitet')]) ?>
+ <?= Icon::create('accept', Icon::ROLE_STATUS_GREEN)->asImg(['title' => _('Aufgabe bearbeitet')]) ?>
<? endif ?>
</div>
</a>