2021-04-15 08:34:31 +00:00
{% extends "frontend/base.html" %}
{% load static %}
2021-04-20 11:37:36 +00:00
{% load i18n %}
2021-04-15 08:34:31 +00:00
{% block "styles" %}
2021-04-16 19:47:47 +00:00
< link rel = "stylesheet" href = "{% static " vendor / css / tabella . css " % } " >
2021-04-15 08:34:31 +00:00
{% endblock %}
{% block "content" %}
2021-04-15 16:10:31 +00:00
<!-- ===== INNERPAGE - WRAPPER ==== -->
< section class = "innerpage-wrapper" >
< div id = "payment-success" class = "section-padding" >
< div class = "container text-center" >
< div class = "row d-flex justify-content-center" >
< div class = "col-md-12 col-lg-8 col-lg-offset-2" >
< div class = "payment-success-text" >
< h1 > Angebote vergleichen< / h1 >
2021-04-20 06:36:59 +00:00
{% if object.offer_set.all %}
2021-04-15 16:10:31 +00:00
< div id = "offers" style = "text-align: center;" > < / div >
2021-04-20 06:36:59 +00:00
{% else %}
< div class = "alert alert-warning alert-dismissible text-center" role = "alert" >
Leider sind zu deiner Anfrage bislang noch keine Angebote eingegangen. Komm doch einfach später nochmal vorbei!
< / div >
{% endif %}
2021-04-15 16:10:31 +00:00
< / div >
< / div > <!-- end columns -->
< / div > <!-- end row -->
< / div > <!-- end container -->
< / div > <!-- end coming - soon - text -->
< / section > <!-- end innerpage - wrapper -->
2021-04-15 08:34:31 +00:00
{% endblock %}
2021-04-20 11:37:36 +00:00
{% block "modal" %}
< div id = "accept-offer" class = "modal custom-modal fade" role = "dialog" >
< div class = "modal-dialog" >
< div class = "modal-content" >
< div class = "modal-header" >
< h3 class = "modal-title" > Angebot akzeptieren?< / h3 >
< button type = "button" class = "close" data-dismiss = "modal" > × < / button >
< / div > <!-- end modal - header -->
< div class = "modal-body" >
< form method = "POST" >
{% csrf_token %}
< p > Bist du sicher, dass du das Angebot von < span id = "hotel_name" > < / span > annehmen möchtest?< / p >
< p > Deine Sicherheitsleistung von € {{ object.budget }} wird zur Bezahlung der Buchung verwendet und kann damit nicht mehr rückerstattet werden.< / p >
< p > Die von dir angegebenen Daten werden dem Reiseanbieter zur Bearbeitung deiner Buchung zur Verfügung gestellt.< / p >
< div class = "checkbox" >
< label > < input type = "checkbox" required id = "id_terms" name = "terms" > {% trans "Ich erkläre mich einverstanden mit den" %} < a href = "#" > {% trans "Allgemeinen Geschäftsbedingungen" %}< / a > {% trans "und der" %} < a href = "#" > {% trans "Datenschutzerklärung" %}< / a > .< / label >
< / div >
< input type = "hidden" required id = "id_offer" name = "offer" / >
< button class = "btn btn-orange btn-block" > Zahlungspflichtig buchen!< / button >
< / form >
< / div > <!-- end modal - bpdy -->
< / div > <!-- end modal - content -->
< / div > <!-- end modal - dialog -->
< / div > <!-- end edit - profile -->
2021-05-31 06:35:17 +00:00
{% for offer in offer.object_set.all %}
< div id = "gallery{{ offer.id }}" class = "modal custom-modal fade" role = "dialog" >
< div class = "modal-dialog" >
< div class = "modal-content" >
< div class = "modal-header" >
< h3 class = "modal-title" > Galerie< / h3 >
< button type = "button" class = "close" data-dismiss = "modal" > × < / button >
< / div > <!-- end modal - header -->
< div class = "modal-body" >
< / div > <!-- end modal - bpdy -->
< / div > <!-- end modal - content -->
< / div > <!-- end modal - dialog -->
< / div > <!-- end edit - profile -->
{% endfor %}
2021-04-20 11:37:36 +00:00
{% endblock %}
2021-04-15 08:34:31 +00:00
{% block "scripts" %}
2021-04-16 19:47:47 +00:00
< script src = "{% static " vendor / js / tabella . min . js " % } " > < / script >
2021-04-15 08:34:31 +00:00
< script src = "{% url " auction:offer_table " object . uuid % } " > < / script >
2021-04-20 11:37:36 +00:00
< script src = "{% static " auction / js / offer-selection . js " % } " > < / script >
2021-04-15 08:34:31 +00:00
{% endblock %}