fix buttons actions BT#10275

1.10.x
aragonc 9 years ago
parent 0250935302
commit 046ad19dbf
  1. 10
      app/Resources/public/css/base.css
  2. 56
      main/session/add_courses_to_session.php

@ -377,7 +377,7 @@ ul#navigation .report a {
}
.actions a{
text-decoration: none;
margin-right: 5px;
margin-right: 10px;
}
.actions a:hover{
text-decoration: none;
@ -415,6 +415,14 @@ ul#navigation .report a {
.actions fieldset {
margin-top:0px;
}
.separate-action{
padding-top: 10px;
padding-bottom: 10px;
}
.control-course{
padding-top: 10px;
padding-bottom: 10px;
}
/*****************************************************
* AGENDA *
*****************************************************/

@ -216,7 +216,7 @@ unset($Courses);
}
?>
<div id="multiple-add-session" class="row">
<div class="col-md-5">
<div class="col-md-4">
<label><?php echo get_lang('CourseListInPlatform') ?> :</label>
<?php
if (!($add_type == 'multiple')) {
@ -240,12 +240,12 @@ unset($Courses);
unset($nosessionCourses);
?>
</div>
<div class="col-md-2">
<div class="col-md-4">
<?php if($add_type == 'multiple') { ?>
<div class="code-course">
<?php echo get_lang('FirstLetterCourse'); ?> :
<br /><br />
<select name="firstLetterCourse" onchange = "xajax_search_courses(this.value,'multiple')" class="form-control">
<select name="firstLetterCourse" onchange = "xajax_search_courses(this.value,'multiple')" class="selectpicker show-tick form-control">
<option value="%">--</option>
<?php
echo Display :: get_alphabet_options();
@ -255,46 +255,52 @@ unset($Courses);
</div>
<?php } ?>
<div class="control-course">
<br /><br />
<?php
if ($ajax_search) {
?>
<button class="btn btn-primary" type="button" onclick="remove_item(document.getElementById('destination'))">
<i class="fa fa-chevron-left"></i>
</button>
<br /><br />
<div class="separate-action">
<button class="btn btn-primary" type="button" onclick="remove_item(document.getElementById('destination'))">
<i class="fa fa-chevron-left"></i>
</button>
</div>
<?php
} else {
?>
<button class="btn btn-primary" type="button" onclick="moveItem(document.getElementById('origin'), document.getElementById('destination'))" onclick="moveItem(document.getElementById('origin'), document.getElementById('destination'))">
<i class="fa fa-chevron-right"></i>
</button>
<br /><br />
<button class="btn btn-primary" type="button" onclick="moveItem(document.getElementById('destination'), document.getElementById('origin'))" onclick="moveItem(document.getElementById('destination'), document.getElementById('origin'))">
<i class="fa fa-chevron-left"></i>
</button>
<br /><br />
<div class="separate-action">
<button class="btn btn-primary" type="button" onclick="moveItem(document.getElementById('origin'), document.getElementById('destination'))" onclick="moveItem(document.getElementById('origin'), document.getElementById('destination'))">
<i class="fa fa-chevron-right"></i>
</button>
</div>
<div class="separate-action">
<button class="btn btn-primary" type="button" onclick="moveItem(document.getElementById('destination'), document.getElementById('origin'))" onclick="moveItem(document.getElementById('destination'), document.getElementById('origin'))">
<i class="fa fa-chevron-left"></i>
</button>
</div>
<?php
}
?>
<br />
<label>
<input type="checkbox" name="copy_evaluation">
<?php echo get_lang('ImportGradebookInCourse'); ?>
</label>
<br />
<div class="separate-action">
<label>
<input type="checkbox" name="copy_evaluation">
<?php echo get_lang('ImportGradebookInCourse'); ?>
</label>
</div>
<?php
echo '<div class="separate-action">';
if (isset($_GET['add'])) {
echo '<button class="btn btn-success" type="button" value="" onclick="valide()" >'.get_lang('NextStep').'</button>';
} else {
echo '<button class="btn btn-success" type="button" value="" onclick="valide()" >'.get_lang('SubscribeCoursesToSession').'</button>';
}
echo '</div>';
?>
</div>
</div>
<div class="col-md-5">
<div class="col-md-4">
<label><?php echo get_lang('CourseListInSession') ?> :</label>
<select id='destination' name="SessionCoursesList[]" multiple="multiple" size="20" class="form-control">

Loading…
Cancel
Save