mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 10:49:10 -04:00
MAJ UI Calendar
This commit is contained in:
3
public/css/custom.css
vendored
3
public/css/custom.css
vendored
@@ -68,10 +68,11 @@
|
|||||||
border-top: none;
|
border-top: none;
|
||||||
z-index: 99;
|
z-index: 99;
|
||||||
/*position the autocomplete items to be the same width as the container:*/
|
/*position the autocomplete items to be the same width as the container:*/
|
||||||
top: 50%;
|
top: 64%;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.autocomplete-items div {
|
.autocomplete-items div {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|||||||
3
resources/custom.css
vendored
3
resources/custom.css
vendored
@@ -68,10 +68,11 @@
|
|||||||
border-top: none;
|
border-top: none;
|
||||||
z-index: 99;
|
z-index: 99;
|
||||||
/*position the autocomplete items to be the same width as the container:*/
|
/*position the autocomplete items to be the same width as the container:*/
|
||||||
top: 50%;
|
top: 64%;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.autocomplete-items div {
|
.autocomplete-items div {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|||||||
@@ -112,16 +112,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="form-group">
|
<label for="name">Instructeur</label>
|
||||||
<label for="name">Instructeur</label>
|
<div class="autocomplete">
|
||||||
<select class="selectpicker d-block" data-style="btn btn-outline-primary w-100">
|
<input type="text" name="instruc_n{{$i}}_p{{$p}}" id="instruc_n{{$i}}_p{{$p}}" class="form-control AutoComplete" aria-describedby="nameHelp" autocomplete="off" required>
|
||||||
@foreach(\App\User::all() as $user)
|
</div>
|
||||||
<option value="{{$user->id}}">{{$user->fullname()}}</option>
|
<small id="nameHelp" class="text-muted">Veuillez entrer le nom de l'instructeur</small>
|
||||||
@endforeach
|
</div>
|
||||||
</select>
|
|
||||||
<small id="nameHelp" class="text-muted">Veuillez entrer le nom de l'instructeur</small>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6 my-2">
|
<div class="col-sm-6 my-2">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@@ -136,7 +132,7 @@
|
|||||||
<input type="text" name="loc_n{{$i}}_p{{$p}}" id="loc_n{{$i}}_p{{$p}}" class="form-control" placeholder="" aria-describedby="nameHelp" required @if(env('APP_DEBUG') == true)value="Lieu"@endif>
|
<input type="text" name="loc_n{{$i}}_p{{$p}}" id="loc_n{{$i}}_p{{$p}}" class="form-control" placeholder="" aria-describedby="nameHelp" required @if(env('APP_DEBUG') == true)value="Lieu"@endif>
|
||||||
<small id="nameHelp" class="text-muted">Veuillez entrer le lieux</small>
|
<small id="nameHelp" class="text-muted">Veuillez entrer le lieux</small>
|
||||||
</div>
|
</div>
|
||||||
</div>#
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
@endfor
|
@endfor
|
||||||
@@ -148,6 +144,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
@endif
|
@endif
|
||||||
|
<script src="/js/plugins/autocomplete.js"></script>
|
||||||
<script>
|
<script>
|
||||||
var begin = "<?php echo $begin_time ?>";
|
var begin = "<?php echo $begin_time ?>";
|
||||||
var end = "<?php echo $end_time ?>";
|
var end = "<?php echo $end_time ?>";
|
||||||
@@ -197,7 +194,5 @@ $('#datetimepickermsg').datetimepicker({
|
|||||||
$('.richeditor').trumbowyg({
|
$('.richeditor').trumbowyg({
|
||||||
lang: 'fr'
|
lang: 'fr'
|
||||||
});
|
});
|
||||||
$( ".basicAutoComplete" ).autocomplete({
|
initAutoComplete("AutoComplete");
|
||||||
source: '/api/user/list?api_token='+api_token
|
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
Reference in New Issue
Block a user