templates/sites/reparieren/repair.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Smartphones, Handys & Tablets günstig in CLP beim Doctor reparieren lassen{% endblock %}
  3. {% block body %}
  4.     <section class="pt-6">
  5.         <div class="section container pt-6 mb-0 pb-0 pl-0">
  6.             <a class="" href="{{ path('handy') }}">Reparieren</a>
  7.             <span>></span>
  8.             <a class="" href="{{ path('handy-marke', { marke : geraet.marke.marke }) }}">{{geraet.marke.marke}}</a>
  9.             <span>></span>
  10.             <span>{{ geraet.name }}</span>
  11.         </div>
  12.     </section>
  13.     <section id="main" class="p-5 mt-3">
  14.         <div class="container">
  15.             <div class="">
  16.                 <div class="">
  17.                     <div class="columns">
  18.                         <div class="column">
  19.                             <img width="100%" src="/images/geraete/{{ geraet.bild }}">
  20.                         </div>
  21.                         <br>
  22.                         <div class="column mt-4 has-text-centered" id="positions">
  23.                             <div class="has-text-left mb-6">
  24.                                 <small>{{ geraet.marke.marke|capitalize }}</small>
  25.                                 <h1 style="margin-top: 0;">{{ geraet.name }}</h1>
  26.                                 <span class="title is-5" style="" id="gesamtPreis">0,00 € (wählen Sie eine Reparatur aus)</span>
  27.                                 <span class="help">*inkl. 19% MwSt. inkl. Versand</span>
  28.                                 <span class="help"><b>Bearbeitungszeit nach Geräteeingang: 1 - 3 Werktage</b></span>
  29.                             </div>
  30.                             <div style="display: block; text-align: left;" id="selectRepair">
  31.                                 <h5 class="title is-5 mb-2">Reparaturen</h5>
  32.                                 <hr class="mb-2 pb-0 pt-0 mt-0">
  33.                                 {% for preis in preise %}
  34.                                     {% set reparaturText = preis.reparatur.reparaturen|replace({'(': '<span class="tag is-info">', ')': '</span>'}) %}
  35.                                     <label class="checkbox" id="{{ preis.id }}" style="font-weight: 300;">
  36.                                         <input type="checkbox" value="{{ preis.id }}" id="position">
  37.                                         <span class="ml-3 tag is-success is-light"> {{ preis.preis|number_format(2, ',', '.') }} € *</span>
  38.                                         {{ reparaturText|raw }}
  39.                                     </label>
  40.                                     <br>
  41.                                 {% endfor %}
  42.                                 <br>
  43.                                 <h5 class="title is-5 mb-2">Service</h5>
  44.                                 <hr class="mb-2 pb-0 pt-0 mt-0">
  45.                                 {% for service in services %}
  46.                                     {% set nameText = service.name|replace({'(': '<span class="tag is-info">', ')': '</span>'}) %}
  47.                                     <label class="checkbox" id="S-{{ service.id }}" style="font-weight: 300;">
  48.                                         <input type="checkbox" value="S-{{ service.id }}" id="position">
  49.                                         <span class="ml-3 tag is-success is-light">+ {{ service.preis|number_format(2, ',', '.') }} € *</span> {{ nameText|raw }}
  50.                                     </label>
  51.                                     <br>
  52.                                 {% endfor %}
  53.                                 <br>
  54.                                 <h5 class="title is-5 mb-2 mt-4">Zubehör</h5>
  55.                                 <hr class="mb-2 pb-0 pt-0 mt-0">
  56.                                 {% for accessoire in accessoires %}
  57.                                     {% set typeText = accessoire.type|replace({'(': '<span class="tag is-info">', ')': '</span>'}) %}
  58.                                     <label class="checkbox" style="font-weight: 300;">
  59.                                         <input type="checkbox" value="A-{{ accessoire.id }}" id="position">
  60.                                         <span class="ml-3 tag is-success is-light">+ {{ accessoire.price|number_format(2, ',', '.') }} € *</span> {{ typeText|raw }}
  61.                                     </label>
  62.                                     <br>
  63.                                 {% endfor %}
  64.                                 <div class="modal" id="modal-js-example">
  65.                                     <div class="modal-background"></div>
  66.                                     <div class="modal-card">
  67.                                         <header class="modal-card-head">
  68.                                             <p class="modal-card-title mb-0">Weitere Informationen</p>
  69.                                             <button class="delete" aria-label="close"></button>
  70.                                         </header>
  71.                                         <section class="modal-card-body">
  72.                                             <div class="tabs selectLockType mb-0">
  73.                                                 <ul class="mb-3">
  74.                                                     <li id="pin-tab" class="is-active"><a>PIN</a></li>
  75.                                                     <li id="muster-tab"><a>Muster</a></li>
  76.                                                 </ul>
  77.                                             </div>
  78.                                             <div id="muster" style="display:none;">
  79.                                                 <svg style="width:200px" class="patternlock" id="lock" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
  80.                                                     <g class="lock-actives"></g>
  81.                                                     <g class="lock-lines"></g>
  82.                                                     <g class="lock-dots">
  83.                                                         <circle cx="20" cy="20" r="2"/>
  84.                                                         <circle cx="50" cy="20" r="2"/>
  85.                                                         <circle cx="80" cy="20" r="2"/>
  86.                                                         <circle cx="20" cy="50" r="2"/>
  87.                                                         <circle cx="50" cy="50" r="2"/>
  88.                                                         <circle cx="80" cy="50" r="2"/>
  89.                                                         <circle cx="20" cy="80" r="2"/>
  90.                                                         <circle cx="50" cy="80" r="2"/>
  91.                                                         <circle cx="80" cy="80" r="2"/>
  92.                                                     </g>
  93.                                                 </svg>
  94.                                             </div>
  95.                                             <div id="pin" style="" class="mb-4">
  96.                                                 <span>PIN</span>
  97.                                                 <input type="text" class="input" id="entsperrmuster">
  98.                                             </div>
  99.                                             
  100.                                             <div>
  101.                                                 <span>Fehlerbeschreibung</span>
  102.                                                 <textarea type="text" class="input" id="fehlerbeschreibung" style="resize: none;height: 100px;"></textarea>
  103.                                             </div>
  104.                                         </section>
  105.                                         <footer class="modal-card-foot">
  106.                                             <div class="buttons">
  107.                                                 <button class="button is-success addToBasket">In den Warenkorb</button>
  108.                                             </div>
  109.                                         </footer>
  110.                                     </div>
  111.                                 </div>
  112.                                 <div class="mt-3">
  113.                                     <div>
  114.                                         <a class="button is-success js-modal-trigger" data-target="modal-js-example">Weiter</a>
  115.                                     </div>
  116.                                 </div>
  117.                             </div>
  118.                         </div>
  119.                     </div>
  120.                 </div>
  121.             </div>
  122.         </div>
  123.     </section>
  124. {% endblock %}