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