fix desing tpl sequence course BT#9893 #TMI

1.10.x
aragonc 10 years ago
parent 9cfde9ef8e
commit 7b5318f8a9
  1. 6
      main/admin/resource_sequence.php
  2. 2
      main/inc/ajax/sequence.ajax.php

@ -61,7 +61,7 @@ $form->addSelect(
$sessionList,
['id' => 'item', 'cols-size' => [4, 7, 1]]
);
$form->addButtonNext(get_lang('UseAsReference'), 'use_as_reference',['cols-size' => [4, 7, 1]]);
$form->addButtonNext(get_lang('UseAsReference'), 'use_as_reference', ['cols-size' => [4, 7, 1]]);
$form->addHtml("</div>");
$form->addHtml("<div class='col-md-6'>");
$form->addSelect(
@ -71,12 +71,12 @@ $form->addSelect(
['id' => 'requirements', 'cols-size' => [3, 7, 2]]
);
$form->addButtonCreate(get_lang('SetAsRequirement'), 'set_requirement', false,['cols-size' => [3, 7, 2]]);
$form->addButtonCreate(get_lang('SetAsRequirement'), 'set_requirement', false, ['cols-size' => [3, 7, 2]]);
$form->addHtml("</div>");
$formSave = new FormValidator('');
$formSave->addHidden('sequence_type', 'session');
$formSave->addButton('save_resource',get_lang('SaveSettings'),'floppy-o','success',null,null,['cols-size' => [1, 10, 1]]);
$formSave->addButton('save_resource', get_lang('SaveSettings'), 'floppy-o', 'success', null, null, ['cols-size' => [1, 10, 1]]);
$tpl->assign('create_sequence', $formSequence->returnForm());

@ -67,7 +67,7 @@ switch ($action) {
$link .= '<div class="big-icon">';
$link .= $image;
$link .= '<div class="sequence-course">' . $sessionInfo['name'] . '</div>';
$link .= '<div class="sequence-id">'.$id.'</div>';
$link .= '<div class="sequence-id">' . $id . '</div>';
$link .= '<div class="sequence-deleted">' . $linkDelete . '</div>';
$link .= '</div></div>';
}

Loading…
Cancel
Save