|
187 | 187 | } |
188 | 188 |
|
189 | 189 | $clone_link = Display::url( |
190 | | - Display::getMdiIcon(ActionIcon::COPY_CONTENT, 'ch-tool-icon', null, ICON_SIZE_TINY, get_lang('Copy')), |
| 190 | + Display::getMdiIcon(ActionIcon::COPY_CONTENT, 'ch-tool-icon-button', 'margin-bottom: 5px;', ICON_SIZE_TINY, get_lang('Copy')), |
191 | 191 | api_get_self().'?'.api_get_cidreq().'&clone_question='.$id.'&page='.$page, |
192 | | - ['class' => 'btn btn--plain btn-sm'] |
| 192 | + ['class' => 'btn btn--warning btn-sm'] |
193 | 193 | ); |
194 | 194 |
|
195 | 195 | $edit_link = CALCULATED_ANSWER == $objQuestionTmp->selectType() && $objQuestionTmp->isAnswered() |
196 | 196 | ? Display::span( |
197 | | - Display::getMdiIcon(ActionIcon::EDIT, 'ch-tool-icon-disabled', null, ICON_SIZE_TINY, get_lang('Question edition is not available because the question has been already answered. However, you can copy and modify it.')), |
| 197 | + Display::getMdiIcon(ActionIcon::EDIT, 'ch-tool-icon-disabled', 'margin-bottom: 5px;', ICON_SIZE_TINY, get_lang('Question edition is not available because the question has been already answered. However, you can copy and modify it.')), |
198 | 198 | ['class' => 'btn btn--plain btn-sm'] |
199 | 199 | ) |
200 | 200 | : Display::url( |
201 | | - Display::getMdiIcon(ActionIcon::EDIT, 'ch-tool-icon', null, ICON_SIZE_TINY, get_lang('Edit')), |
| 201 | + Display::getMdiIcon(ActionIcon::EDIT, 'ch-tool-icon-button', 'margin-bottom: 5px;', ICON_SIZE_TINY, get_lang('Edit')), |
202 | 202 | api_get_self().'?'.api_get_cidreq().'&' |
203 | 203 | .http_build_query([ |
204 | 204 | 'type' => $objQuestionTmp->selectType(), |
205 | 205 | 'editQuestion' => $id, |
206 | 206 | 'page' => $page, |
207 | 207 | ]), |
208 | | - ['class' => 'btn btn--plain btn-sm'] |
| 208 | + ['class' => 'btn btn--warning btn-sm'] |
209 | 209 | ); |
210 | 210 | $delete_link = null; |
211 | 211 | if (true == $objExercise->edit_exercise_in_lp) { |
212 | 212 | $delete_link = Display::url( |
213 | | - Display::getMdiIcon(ActionIcon::DELETE, 'ch-tool-icon', null, ICON_SIZE_TINY, get_lang('Remove from test')), |
| 213 | + Display::getMdiIcon(ActionIcon::DELETE, 'ch-tool-icon-button', 'margin-bottom: 5px;', ICON_SIZE_TINY, get_lang('Remove from test')), |
214 | 214 | api_get_self().'?'.api_get_cidreq().'&' |
215 | 215 | .http_build_query([ |
216 | 216 | 'id' => $exerciseId, |
|
219 | 219 | ]), |
220 | 220 | [ |
221 | 221 | 'id' => "delete_$id", |
222 | | - 'class' => 'delete-swal btn btn--plain btn-sm', |
| 222 | + 'class' => 'delete-swal btn btn--danger btn-sm', |
223 | 223 | 'data-title' => get_lang('Are you sure you want to delete'), |
224 | 224 | 'title' => get_lang('Delete'), |
225 | 225 | ] |
|
239 | 239 | $title = strip_tags($title); |
240 | 240 | $move = ' '; |
241 | 241 | if ($allowQuestionOrdering) { |
242 | | - $move = Display::getMdiIcon('cursor-move', 'moved'); |
| 242 | + $move = Display::getMdiIcon('cursor-move', 'moved', null, ICON_SIZE_MEDIUM); |
243 | 243 | } |
244 | 244 |
|
245 | 245 | // Question name |
|
0 commit comments