Commit cbeacaab authored by Thomas Hamel's avatar Thomas Hamel
Browse files

ajout d'un espace entre le btn afficher et historiser sur l'index sessions,...

ajout d'un espace entre le btn afficher et historiser sur l'index sessions, formations, modules et confirmation avant supp et historiser
parent a399f7b0
Loading
Loading
Loading
Loading
+9 −4
Changes for module/Formation/view/formation/formation/recherche/index.phtml: 9 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ $canSupprimerFormation = $this->isAllowed(FormationPrivileges::getResourceId
        <?php echo $paginator->getTotalItemCount() . ' ' . $this->translate("formation·s trouvée·s.") ?>
    </p>

    <table class="table table-sm table-hover">
    <table class="table table-sm table-hover table-index-formations">
        <thead>
        <tr>
            <th>
@@ -148,7 +148,8 @@ $canSupprimerFormation = $this->isAllowed(FormationPrivileges::getResourceId
                        <?php /** @see \Formation\Controller\FormationController::afficherAction() */ ?>
                        <a href="<?php echo $this->url('formation/formation/afficher', ['formation' => $formation->getId()], [], true); ?>"
                           title="afficher la formation #<?php echo $formation->getId(); ?>"
                           data-bs-toggle="tooltip" data-bs-html="true">
                           data-bs-toggle="tooltip" data-bs-html="true"
                           class="afficher-formation-btn">
                            <span class="icon icon-voir"></span>
                        </a>
                    <?php endif; ?>
@@ -157,7 +158,9 @@ $canSupprimerFormation = $this->isAllowed(FormationPrivileges::getResourceId
                            <?php /** @see \Formation\Controller\FormationController::historiserAction() */ ?>
                            <a href="<?php echo $this->url('formation/formation/historiser', ['formation' => $formation->getId()], [], true); ?>"
                               title="Historiser la formation #<?php echo $formation->getId(); ?>"
                               data-bs-toggle="tooltip" data-bs-html="true">
                               data-bs-toggle="tooltip" data-bs-html="true" class="historiser-formation-btn"
                               data-toggle="confirmationx"
                               data-message="Êtes-vous sûr de vouloir historiser cette formation ?">
                                <span class="icon icon-historiser"></span>
                            </a>
                        <?php else : ?>
@@ -174,7 +177,9 @@ $canSupprimerFormation = $this->isAllowed(FormationPrivileges::getResourceId
                        <?php /** @see \Formation\Controller\FormationController::supprimerAction() */?>
                        <a href="<?php echo $this->url('formation/formation/supprimer',['formation' => $formation->getId()], [], true); ?>"
                           class="ajax-modal" data-event="modification"
                           title="Suppression de la formation #<?php echo $formation->getId(); ?>" data-bs-toggle="tooltip" data-bs-html="true">
                           title="Suppression de la formation #<?php echo $formation->getId(); ?>" data-bs-toggle="tooltip" data-bs-html="true"
                           data-toggle="confirmationx"
                           data-message="Êtes-vous sûr de vouloir supprimer cette formation ?">
                            <span class="icon icon-detruire text-danger"></span>
                        </a>
                    <?php endif; ?>
+11 −5
Changes for module/Formation/view/formation/session/recherche/index.phtml: 11 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ $canSupprimerSession = $this->isAllowed(SessionPrivileges::getResourceId(Sess
        <?php echo $paginator->getTotalItemCount() . ' ' . $this->translate("formation·s trouvée·s.") ?>
    </p>

    <table class="table table-sm">
    <table class="table table-sm table-index-sessions">
        <thead>
        <tr>
            <th>
@@ -152,7 +152,8 @@ $canSupprimerSession = $this->isAllowed(SessionPrivileges::getResourceId(Sess
                <td>
                    <?php if ($canAfficherSession) : ?>
                        <?php /** @see \Formation\Controller\SessionController::afficherAction() */ ?>
                        <a href="<?php echo $this->url('formation/session/afficher', ['session' => $session->getId()], [], true); ?>">
                        <a href="<?php echo $this->url('formation/session/afficher', ['session' => $session->getId()], [], true); ?>"
                           class="afficher-session-btn">
                        <span class="icon icon-voir"
                              title="Examiner la session"
                              data-bs-toggle="tooltip" data-bs-html="true">
@@ -164,7 +165,10 @@ $canSupprimerSession = $this->isAllowed(SessionPrivileges::getResourceId(Sess
                            <?php /** @see \Formation\Controller\SessionController::historiserAction() */ ?>
                            <a href="<?php echo $this->url('formation/session/historiser', ['session' => $session->getId()], [], true); ?>"
                               title="Historiser la session"
                               data-bs-toggle="tooltip" data-bs-html="true">
                               class="historiser-session-btn"
                               data-bs-toggle="tooltip" data-bs-html="true"
                               data-toggle="confirmationx"
                               data-message="Êtes-vous sûr de vouloir historiser cette session ?">
                                <span class="icon icon-historiser"></span>
                            </a>
                        <?php else : ?>
@@ -179,9 +183,11 @@ $canSupprimerSession = $this->isAllowed(SessionPrivileges::getResourceId(Sess
                    <?php if ($canSupprimerSession AND $session->estHistorise()) : ?>
                        <?php /** @see \Formation\Controller\SessionController::supprimerAction() */ ?>
                        <a href="<?php echo $this->url('formation/session/supprimer', ['session' => $session->getId()], [], true); ?>"
                           class="ajax-modal" data-event="modification"
                           class="ajax-modal supprimer-session-btn" data-event="modification"
                           title="Supprimer la session"
                           data-bs-toggle="tooltip" data-bs-html="true">
                           data-bs-toggle="tooltip" data-bs-html="true"
                           data-toggle="confirmationx"
                           data-message="Êtes-vous sûr de vouloir supprimer cette session ?">
                            <span class="icon icon-detruire text-danger"></span>
                        </a>
                    <?php endif; ?>
+3 −0
Changes for public/css/formation.css: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -80,4 +80,7 @@ table.formation-presence tr td.reponse {
  min-width: 3rem;
  min-height: 3rem; }

.table-index-formations td .afficher-formation-btn, .table-index-sessions td .afficher-session-btn {
  margin-right: 10px; }

/*# sourceMappingURL=formation.css.map */
+1 −1
Changes for public/css/formation.css.map: 1 added line, 1 removed line.
Original line number Diff line number Diff line
{
"version": 3,
"mappings": "AAAA,gBAAiB;EACf,WAAW,EAAE,IAAI;;AAGnB,qBAAsB;EACpB,MAAM,EAAE,mBAAmB;EAC3B,aAAa,EAAE,GAAG;EAClB,OAAO,EAAE,KAAK;EACd,WAAW,EAAE,GAAG;;AAIlB,uBAAwB;EACtB,QAAQ,EAAC,QAAQ;EACjB,IAAI,EAAC,QAAQ;EACb,GAAG,EAAC,OAAO;EACX,WAAW,EAAC,MAAM;EAClB,SAAS,EAAE,QAAQ;EACnB,WAAW,EAAE,0HAA0H;;AAGzI,uBAAwB;EACtB,KAAK,EAAE,iBAAiB;;AAG1B,wBAAyB;EACvB,0BAA0B;EAC1B,eAAe,EAAE,YAAY;;AAI/B,mBAAoB;EAClB,UAAU,EAAE,cAAc;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Q;EACnB,WAAW,EAAE,0HAA0H;;AAGzI,uBAAwB;EACtB,KAAK,EAAE,iBAAiB;;AAG1B,wBAAyB;EACvB,0BAA0B;EAC1B,eAAe,EAAE,YAAY;;AAI/B,mBAAoB;EAClB,UAAU,EAAE,cAAc;EAC1B,SAAS,EAAE,KAAK;;AAGlB,iBAAkB;EAChB,UAAU,EAAE,MAAM;EAClB,KAAK,EAAC,IAAI;;AAGZ,oBAAqB;EACnB,KAAK,EAAC,KAAK;;AAEb,iBAAkB;EAChB,gBAAgB;EAChB,SAAS,EAAE,KAAK;EAChB,SAAS,EAAE,KAAK;;AAElB,wBAAyB;EACvB,gBAAgB;EAChB,SAAS,EAAE,KAAK;EAChB,SAAS,EAAE,KAAK;;AAElB,kBAAmB;EACjB,gBAAgB;EAChB,SAAS,EAAC,KAAK;EACf,SAAS,EAAC,KAAK;;AAIjB,wBAAyB;EACvB,6BAA6B;;AAG/B,8BAA+B;EAC7B,MAAM,EAAG,eAAe;;AAG1B,yCAAyC;EACvC,MAAM,EAAG,CAAC;;AAEZ,sCAAsC;EACpC,YAAY,EAAE,WAAW;EACzB,gBAAgB,EAAE,KAAK;EACvB,WAAW,EAAC,KAAK;EACjB,cAAc,EAAC,IAAI;EACnB,UAAU,EAAE,OAAO;EACnB,KAAK,EAAC,KAAK;EACX,KAAK,EAAE,IAAI;;AAGb,sCAAsC;EACpC,YAAY,EAAC,KAAK;EAClB,aAAa,EAAC,IAAI;EAClB,UAAU,EAAE,OAAO;EACnB,KAAK,EAAC,KAAK;EACX,MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,KAAK;;AAGd,sCAAuC;EACrC,cAAc,EAAE,MAAM;EACtB,UAAU,EAAE,MAAM;EAClB,SAAS,EAAE,IAAI;EACf,UAAU,EAAE,IAAI;;AAGlB,kGAAkG;EAChG,YAAY,EAAE,IAAI",
"sources": ["formation.scss"],
"names": [],
"file": "formation.css"
+3 −0
Changes for public/css/formation.scss: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -96,3 +96,6 @@ table.formation-presence tr td.reponse {
  min-height: 3rem;
}

.table-index-formations td .afficher-formation-btn, .table-index-sessions td .afficher-session-btn{
  margin-right: 10px;
}