Skip to content
Snippets Groups Projects
Commit c6821901 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Icones et styling

parent cb3bfea2
Branches
Tags
No related merge requests found
Pipeline #17176 passed
......@@ -31,8 +31,8 @@ $canAfficherType = $this->isAllowed(ValidationTypePrivileges::getResourceId(Vali
</div>
<div class="col-md-4">
<?php if ($canAfficherType) : ?>
<a href="<?php echo $this->url('validation/type', [], [], true); ?>" class="btn btn-primary action">
<span class="icon acceder"></span>
<a href="<?php echo $this->url('validation/type', [], [], true); ?>" class="btn btn-secondary action">
<span class="icon icon-listing"></span>
Types de validation
</a>
<?php endif; ?>
......
......@@ -54,11 +54,11 @@ use UnicaenApp\Form\Element\SearchAndSelect;
</div>
<div class="col-md-4">
<button type="button" id="filter" class="btn btn-primary filter-action">
<span class="icon filtrer" aria-hidden="true"></span> Filtrer
<span class="icon icon-filtrer" aria-hidden="true"></span> Filtrer
</button>
<br/>
<button type="button" id="reset" class="btn btn-primary filter-action">
<span class="icon effacer" aria-hidden="true"></span> R.A.Z.
<span class="icon icon-gommer" aria-hidden="true"></span> R.A.Z.
</button>
</div>
</div>
......@@ -81,6 +81,13 @@ use UnicaenApp\Form\Element\SearchAndSelect;
$('input[name="validateur[id]').val("<?php echo $params['etudiant']['id']; ?>");
<?php endif; ?>
<?php if ($params['reponse'] !== null AND $params['reponse'] !== "") :?>
$('select#reponse option[value=<?php echo $params['reponse']; ?>]').prop('selected', true);
<?php endif; ?>
<?php if ($params['type'] !== null AND $params['type'] !== "") :?>
$('select#type option[value=<?php echo $params['type']; ?>]').prop('selected', true);
<?php endif; ?>
$('select.selectpicker').selectpicker();
</script>
\ No newline at end of file
......@@ -27,8 +27,8 @@ $canAfficherInstance = $this->isAllowed(ValidationInstancePrivileges::getResourc
</div>
<div class="col-md-4">
<?php if ($canAfficherInstance) : ?>
<a href="<?php echo $this->url('validation/instance', [], [], true); ?>" class="btn btn-primary action">
<span class="icon acceder"></span>
<a href="<?php echo $this->url('validation/instance', [], [], true); ?>" class="btn btn-secondary action">
<span class="icon icon-listing"></span>
Instances de validation
</a>
<?php endif; ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment