Commit 96443a32 authored by Jean-Baptiste Oellers's avatar Jean-Baptiste Oellers
Browse files

Mise à jour UI

parent 63d2b7f6
Loading
Loading
Loading
Loading
+21 −14
Original line number Diff line number Diff line
@@ -48,21 +48,15 @@
  </div>

  <div style="margin-bottom: 4rem; background-color: white; border-radius: 1rem; padding: 1rem; margin-top: 1rem;">
    <h2 style="margin-bottom: 2rem;">❔ Informations à renseigner</h2>

    <?php if(count($conventionModele->informations) == 0): ?>
    <p>Aucune information à renseigner n'a été configurée pour l'instant. Vous pouvez en ajouter une via le bouton ci-dessous.</p>
    <?php else: ?>
    <?php endif; ?>

    <a href="<?= $this->url('administration/conventionModeles/configurer/informations/ajouter', ['id' => $conventionModele->id]) ?>">Ajouter une information à ce modèle de convention</a>
  </div>

  <div style="margin-bottom: 4rem; background-color: white; border-radius: 1rem; padding: 1rem; margin-top: 1rem;">
    <div style="display: flex; align-items: center; justify-content: space-between;">
      <h2 style="margin-bottom: 2rem;">📋 Étapes de saisie</h2>
      <div style="display: flex; flex-direction: column; align-items: end;">
        <a href="<?= $this->url('administration/conventionModeles/configurer/etapes/ajouter', ['id' => $conventionModele->id]) ?>"><span aria-label="signe plus" role="img"></span> Ajouter une étape de saisie à ce modèle de convention</a>
      </div>
    </div>

    <?php if(count($conventionModele->etapes) == 0): ?>
    <p>Aucune étape de saisie n'a été configurée pour l'instant. Vous pouvez en ajouter une via le bouton ci-dessous.</p>
    <p>Aucune étape de saisie n'a été configurée pour l'instant. Vous pouvez en ajouter une via le lien ci-dessus.</p>
    <?php else: ?>
    <ul>
      <?php foreach( $conventionModele->etapes as $etape ): ?>
@@ -70,8 +64,21 @@
      <?php endforeach; ?>
    </ul>
    <?php endif; ?>
  </div>



    <a href="<?= $this->url('administration/conventionModeles/configurer/etapes/ajouter', ['id' => $conventionModele->id]) ?>">Ajouter une étape de saisie à ce modèle de convention</a>
  <div style="margin-bottom: 4rem; background-color: white; border-radius: 1rem; padding: 1rem; margin-top: 1rem;">
    <div style="display: flex; align-items: center; justify-content: space-between;">
      <h2 style="margin-bottom: 2rem;">❔ Informations à renseigner</h2>
      <div style="display: flex; flex-direction: column; align-items: end;">
        <a href="<?= $this->url('administration/conventionModeles/configurer/informations/ajouter', ['id' => $conventionModele->id]) ?>"><span aria-label="signe plus" role="img"></span> Ajouter une information à ce modèle de convention</a>
      </div>
    </div>
    <?php if(count($conventionModele->informations) == 0): ?>
    <p>Aucune information à renseigner n'a été configurée pour l'instant. Vous pouvez en ajouter une via le lien ci-dessus.</p>
    <?php else: ?>
    <?php endif; ?>
  </div>

</div>