templates/inscription/releve-notes.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <style>
  6.         .t-l-r {
  7.             text-align: right;
  8.         }
  9.         .gabarit-pdf {
  10.             margin-left: auto;
  11.             margin-right: auto;
  12.             display: block;
  13.             width: 850px;
  14.         }
  15.         .conteneur {
  16.             width: 700px;
  17.             margin: 0 auto;
  18.             display: flow-root;
  19.         }
  20.         .conteneur-fluid {
  21.             width: 800px;
  22.             margin: 0 auto;
  23.         }
  24.         .gabarit-pdf .logo img {
  25.             !margin-top: 45px;
  26.             width: 162px;
  27.         }
  28.         .gabarit-pdf .date {
  29.             margin-top: 40px;
  30.             margin-bottom: 10px;
  31.             font-family: DM Sans;
  32.             font-style: normal;
  33.             font-weight: normal;
  34.             font-size: 15px;
  35.             line-height: 20px;
  36.             text-align: right;
  37.             /* Gris 5 */
  38.             color: #445C84;
  39.         }
  40.         .icon-diagnostic {
  41.             margin-top: 20px;
  42.             margin-right: 30px;
  43.             vertical-align: top;
  44.             width: 5%;
  45.             display: inline-block;
  46.             vertical-align: middle;
  47.             padding-bottom: 15px;
  48.         }
  49.         .icon-diagnostic img {
  50.             width: 100%;
  51.         }
  52.         .icon1 {
  53.             margin-bottom: 18px;
  54.         }
  55.         .icon2 {
  56.             margin-bottom: 10px;
  57.         }
  58.         .block-title {
  59.             margin-top: 32px;
  60.             margin-bottom: 32px;
  61.             width: 65%;
  62.             display: inline-block;
  63.             vertical-align: middle;
  64.         }
  65.         .bande-rouge {
  66.             background: #24695c;
  67.             border-radius: 7px;
  68.             margin-bottom: 40px;
  69.         }
  70.         .commande-id {
  71.             font-family: DM Sans;
  72.             font-style: normal;
  73.             font-weight: normal;
  74.             font-size: 20px;
  75.             line-height: 36px;
  76.             /* Blanc */
  77.             color: #FFFFFF;
  78.         }
  79.         .titre {
  80.             font-family: DM Sans;
  81.             font-style: normal;
  82.             font-weight: bold;
  83.             font-size: 35px;
  84.             line-height: 65px;
  85.             /* Blanc */
  86.             color: #FFFFFF;
  87.         }
  88.         .icon-diagmania-blanc {
  89.             width: 20%;
  90.             display: inline-block;
  91.             vertical-align: middle;
  92.             position: relative;
  93.             over-flow: hidden;
  94.         }
  95.         .icon-diagmania-blanc img {
  96.             width: 100%;
  97.         }
  98.         section.section1 {
  99.             margin-top: 17px;
  100.         }
  101.         .apporter .apporteur-border {
  102.             padding: 11px 68px;
  103.             text-align: center;
  104.             border: 2px solid #D4E3F1;
  105.             box-sizing: border-box;
  106.             border-radius: 20px;
  107.             max-width: 220px;
  108.             width: 100%;
  109.             font-family: DM Sans;
  110.             font-style: normal;
  111.             font-size: 17px;
  112.             line-height: 22px;
  113.             color: #445C84;
  114.         }
  115.         .apporter {
  116.             font-family: DM Sans;
  117.             font-style: normal;
  118.             font-weight: 500;
  119.             font-size: 13px;
  120.             line-height: 24px;
  121.             color: #445C84;
  122.         }
  123.         .generalite {
  124.             font-family: DM Sans;
  125.             font-style: normal;
  126.             font-weight: 500;
  127.             font-size: 20px;
  128.             line-height: 24px;
  129.             /* identical to box height, or 180% */
  130.             /* Gris 5 */
  131.             color: #445C84;
  132.         }
  133.         .generalite h1 {
  134.             font-family: DM Sans;
  135.             font-style: normal;
  136.             font-weight: bold;
  137.             font-size: 20px;
  138.             line-height: 24px;
  139.             color: #181D39;
  140.         }
  141.         .sous-titre {
  142.             font-family: DM Sans;
  143.             font-style: normal;
  144.             font-weight: bold;
  145.             font-size: 24px;
  146.             line-height: 22px;
  147.             margin-top: 20px;
  148.             margin-bottom: 15px;
  149.         }
  150.         .gabarit-pdf .prix-rouge {
  151.             font-family: DM Sans;
  152.             font-style: normal;
  153.             font-weight: 166;
  154.             font-size: 24px;
  155.             line-height: 24px;
  156.             text-align: right;
  157.             color: #24695c;
  158.         }
  159.         .gabarit-pdf .section2 {
  160.             background: #FFFFFF;
  161.             border-radius: 20px;
  162.             padding: 17px 0 33px 0px;
  163.         }
  164.         .contenue-tableau {
  165.             font-family: DM Sans;
  166.             font-style: normal;
  167.             font-weight: normal;
  168.             font-size: 12px;
  169.             line-height: 24px;
  170.             /* identical to box height, or 180% */
  171.             /* Gris 7 */
  172.             color: #181D39;
  173.         }
  174.         .contenue-italique {
  175.             color: #445C84;
  176.             font-style: italic;
  177.         }
  178.         .throught {
  179.             font-family: DM Sans;
  180.             font-style: normal;
  181.             font-weight: normal;
  182.             font-size: 12px;
  183.             line-height: 24px;
  184.             /* or 200% */
  185.             text-align: right;
  186.             text-decoration: line-through;
  187.             color: #445C84;
  188.         }
  189.         .prix {
  190.             font-family: DM Sans;
  191.             font-style: normal;
  192.             font-weight: bold;
  193.             font-size: 15px;
  194.             line-height: 24px;
  195.             color: #181D39;
  196.             text-align: right;
  197.         }
  198.         .total-commande-block {
  199.             border: 2px solid #D4E3F1;
  200.             box-sizing: border-box;
  201.             border-radius: 20px;
  202.             margin-top: 35px;
  203.         }
  204.         .total-commande {
  205.             font-family: DM Sans;
  206.             font-style: normal;
  207.             font-weight: bold;
  208.             font-size: 16px;
  209.             line-height: 24px;
  210.             padding: 30px 0px;
  211.             text-align: right;
  212.             color: #181D39;
  213.         }
  214.         .prix-final {
  215.             text-align: right;
  216.             padding-right: 33px;
  217.             margin-top: 23px;
  218.             margin-bottom: 12px;
  219.         }
  220.         .prix-rouge {
  221.             font-family: DM Sans;
  222.             font-style: normal;
  223.             font-weight: 500;
  224.             font-size: 24px;
  225.             line-height: 24px;
  226.             text-align: right;
  227.             color: #24695c;
  228.         }
  229.         .gabarit-pdf .titre-bleu {
  230.             font-family: DM Sans;
  231.             font-style: normal;
  232.             font-weight: bold;
  233.             font-size: 24px;
  234.             line-height: 26px;
  235.             margin-bottom: 30px;
  236.             text-align: right;
  237.             color: #24695c;
  238.         }
  239.         .tva {
  240.             font-family: DM Sans;
  241.             font-style: normal;
  242.             font-weight: normal;
  243.             font-size: 10px;
  244.             line-height: 24px;
  245.             /* identical to box height, or 240% */
  246.             text-align: right;
  247.             letter-spacing: 0.02em;
  248.             color: #445C84;
  249.         }
  250.         .description p {
  251.             font-family: DM Sans;
  252.             font-style: normal;
  253.             font-weight: normal;
  254.             font-size: 12px;
  255.             line-height: 14px;
  256.             /* or 144% */
  257.             letter-spacing: 0.02em;
  258.             padding-top: 18px;
  259.             color: #445C84;
  260.         }
  261.         .information-block {
  262.             font-family: DM Sans;
  263.             font-style: normal;
  264.             font-weight: normal;
  265.             font-size: 12px;
  266.             line-height: 20px;
  267.             margin-top: 15px;
  268.             /* or 167% */
  269.             /* Gris 7 */
  270.             color: #181D39;
  271.         }
  272.         .titre-information {
  273.             font-family: DM Sans;
  274.             font-style: normal;
  275.             font-weight: bold;
  276.             font-size: 18px;
  277.             line-height: 21px;
  278.             margin-bottom: 10px;
  279.             margin-top: 33px;
  280.             color: #181D39;
  281.         }
  282.         .rendez-vous {
  283.             font-family: DM Sans;
  284.             font-style: normal;
  285.             font-weight: bold;
  286.             font-size: 12px;
  287.             line-height: 20px;
  288.             color: #181D39;
  289.         }
  290.         .titre-bleu {
  291.             font-family: DM Sans;
  292.             font-style: normal;
  293.             font-weight: bold;
  294.             font-size: 24px;
  295.             line-height: 26px;
  296.             margin-bottom: 25px;
  297.             text-align: center;
  298.             color: #24695c;
  299.         }
  300.         .green{
  301.             color: #24695c;
  302.         }
  303.         .line {
  304.             margin-top: 15px;
  305.             margin-bottom: 30px;
  306.         }
  307.         .siret {
  308.             font-family: DM Sans;
  309.             font-style: normal;
  310.             font-weight: normal;
  311.             font-size: 10px;
  312.             line-height: 16px;
  313.             vertical-align: middle;
  314.             /* or 160% */
  315.             color: #7A8FB0;
  316.         }
  317.         .gabarit-pdf .total-commande {
  318.             font-family: DM Sans;
  319.             font-style: normal;
  320.             font-weight: bold;
  321.             font-size: 16px;
  322.             line-height: 24px;
  323.             padding: 30px 0px;
  324.             text-align: center;
  325.             color: #181D39;
  326.         }
  327.         .num-vert {
  328.             font-family: DM Sans;
  329.             font-style: normal;
  330.             font-weight: normal;
  331.             font-size: 16px;
  332.             line-height: 24px;
  333.             color: #24695c;
  334.         }
  335.         .gabarit-pdf .generalite .title {
  336.             font-family: DM Sans;
  337.             font-style: normal;
  338.             font-weight: bold;
  339.             font-size: 20px;
  340.             line-height: 24px;
  341.             color: #181D39;
  342.         }
  343.         .gabarit-pdf .logo-noir img {
  344.             width: 107px;
  345.             height: 20px;
  346.         }
  347.         .d-inline-block {
  348.             display: inline-block;
  349.         }
  350.         .col-5 {
  351.             width: 40%;
  352.             display: inline-block;
  353.             vertical-align: top;
  354.         }
  355.         .col-6 {
  356.             width: 48%;
  357.             display: inline-block;
  358.             vertical-align: top;
  359.         }
  360.         .col-7 {
  361.             width: 56%;
  362.             display: inline-block;
  363.             vertical-align: top;
  364.         }
  365.         .col-8 {
  366.             width: 66%;
  367.             display: inline-block;
  368.             vertical-align: top;
  369.         }
  370.         .col-4 {
  371.             width: 30%;
  372.             display: inline-block;
  373.             vertical-align: top;
  374.         }
  375.         .col-3 {
  376.             width: 24%;
  377.             display: inline-block;
  378.             vertical-align: top;
  379.         }
  380.         .col-2 {
  381.             width: 16%;
  382.             display: inline-block;
  383.             vertical-align: top;
  384.         }
  385.         .center {
  386.             text-align: center;
  387.         }
  388.         .v-align-middle {
  389.             vertical-align: middle;
  390.         }
  391.         table {
  392.             border-collapse: collapse;
  393.             width: 100%;
  394.         }
  395.         th,
  396.         td {
  397.             border: 1px solid black;
  398.             padding: 8px;
  399.             text-align: center;
  400.         }
  401.         .text-aligne-left{
  402.             text-align:left;
  403.         }
  404.     </style>
  405.     <div class="gabarit-pdf">
  406.         
  407.         <div class="conteneur">
  408.             <div class="col-12">
  409.                 <div class="row">
  410.                     <div class="col-12 generalite" style="margin-top: 130px">
  411.                         
  412.                         {{currentInscription.candidat.civilite}} {{currentInscription.candidat.nom}} {{currentInscription.candidat.prenom}}<br>
  413.                         Nationnalité : 
  414.                         {% if currentInscription.candidat.nationnalite == 1 %} Tunisiènne {% else %} étrangère {% endif %} -
  415.                         N° {% if currentInscription.candidat.nationnalite == 1 %} CIN {% else %} du passport {% endif %} : {{currentInscription.candidat.cin}} <br>
  416.                         Session : {{currentInscription.session.libele}} -
  417.                         Cycle : {{currentInscription.cycle.libele}}
  418.                         
  419.                     </div>
  420.                 </div>
  421.             </div>
  422.         </div>
  423.         <div class="conteneur">
  424.             <div class="col-12 sous-titre green center">
  425.                 <br>
  426.                 Relevé des notes
  427.             </div>
  428.         </div>
  429.         <div class="conteneur-fluid">
  430.             <div class="section2">
  431.                 <div class="conteneur">
  432.                     <div class="row">
  433.                         <table>
  434.                             <tr>
  435.                             <th>Module</th>
  436.                             <th>Formateur</th>
  437.                             <th>Note</th>
  438.                             </tr>
  439.                             {% for moduleNote in moduleNotes %}
  440.                             <tr>
  441.                                 <td class="text-aligne-left">{{moduleNote[0]}}</td>
  442.                                 <td>{{moduleNote[2]}}</td>
  443.                                 <td>{{moduleNote[1]}}</td>
  444.                             </tr>
  445.                             {% endfor %}
  446.                         </table>
  447.                     </div>
  448.                 </div>
  449.                 <div class="section3">
  450.                     <div class="conteneur">
  451.                         <div class="conteneur line">
  452.                             <hr>
  453.                         </div>
  454.                         <div class="conteneur titre-bleu center">
  455.                             Moyenne general: {% if moyenne != '--' %}{{moyenne|number_format(2, ',', '')}}{% else %}--{% endif %}<br>
  456.                             Mention: 
  457.                             {% if moyenne != '' %}
  458.                             {% if moyenne >= 16 %}
  459.                                Très bien
  460.                             {% elseif moyenne >= 14 %}
  461.                             Bien
  462.                             {% elseif moyenne >= 13 %}
  463.                             Assez Bien
  464.                             {% elseif moyenne >= 11 %}
  465.                             Passable
  466.                             {% else %}
  467.                             --
  468.                             {% endif %}
  469.                             {% endif %}
  470.                         </div>
  471.                         
  472.                     </div>
  473.                     </body>
  474. </html>