parent
371d3a8594
commit
b99a14d516
11 changed files with 213 additions and 20 deletions
@ -0,0 +1,65 @@ |
|||||||
|
{% load i18n %} |
||||||
|
{% load static %} |
||||||
|
{% load widget_tweaks %} |
||||||
|
<!doctype html> |
||||||
|
<html lang="ru"> |
||||||
|
<head> |
||||||
|
<meta charset="UTF-8"> |
||||||
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> |
||||||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge"> |
||||||
|
<title>{% trans 'Перешлите письмо другу' %}</title> |
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.4/jquery.fancybox.min.css"> |
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/malihu-custom-scrollbar-plugin/3.1.5/jquery.mCustomScrollbar.min.css"> |
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css"> |
||||||
|
<link rel="stylesheet" href="{% static 'mailing_settings/css/main.css' %}"> |
||||||
|
{# <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">#} |
||||||
|
{# <script scr="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>#} |
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js" defer></script> |
||||||
|
</head> |
||||||
|
|
||||||
|
<body> |
||||||
|
<header class="page_header"> |
||||||
|
<div class="container"> |
||||||
|
<div class="logo_block"> |
||||||
|
<a href="/"><img src="{% static 'mailing_settings/images/logo.png' %}" alt="Expomap"></a> |
||||||
|
<a href="/" class="back_to_site">expomap.ru <span>›</span></a> |
||||||
|
</div> |
||||||
|
<h1>{% trans 'Перешлите письмо другу' %}</h1> |
||||||
|
<p>{% trans 'от' %} <span>{{ contact.email }}</span></p> |
||||||
|
</div> |
||||||
|
</header> |
||||||
|
|
||||||
|
|
||||||
|
{% block content %} |
||||||
|
<form method="post" action="." style="padding: 0 50px"> |
||||||
|
{% csrf_token %} |
||||||
|
{{ formset.management_form }} |
||||||
|
{% for form in formset %} |
||||||
|
<br> |
||||||
|
{{ form.as_p }} |
||||||
|
<br> |
||||||
|
<hr> |
||||||
|
{# {% for field in form %}#} |
||||||
|
{# <div class="form-group">#} |
||||||
|
{# <label for="{{ field.id_for_label }}" class="col-sm-2 control-label">{{ field.label }}</label>#} |
||||||
|
{# <div class="col-sm-10">#} |
||||||
|
{# {{ field|add_class:"form-control" }}#} |
||||||
|
{# <span class="help-inline">{{ field.errors }}</span>#} |
||||||
|
{# </div>#} |
||||||
|
{# </div>#} |
||||||
|
{# {% endfor %}#} |
||||||
|
{% endfor %} |
||||||
|
<div class="button_block"> |
||||||
|
<div class="container"> |
||||||
|
<button type="submit">{% trans "Отправить" %}</button> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</form> |
||||||
|
{% endblock %} |
||||||
|
|
||||||
|
|
||||||
|
<footer class="page_footer">© Expomap {% now "Y" %}</footer> |
||||||
|
</body> |
||||||
|
</html> |
||||||
|
|
||||||
|
|
||||||
@ -0,0 +1,19 @@ |
|||||||
|
{% extends 'client/newsletters/sendmail_to_friend.html' %} |
||||||
|
|
||||||
|
{% load i18n %} |
||||||
|
{% load static %} |
||||||
|
{% load widget_tweaks %} |
||||||
|
|
||||||
|
{% block content %} |
||||||
|
<div style="padding: 10px 50px;text-align: center;vertical-align: middle;min-height: 200px"> |
||||||
|
{% if messages %} |
||||||
|
{# <ul class="messages">#} |
||||||
|
{% for message in messages %} |
||||||
|
<span{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</span> |
||||||
|
{% endfor %} |
||||||
|
{# </ul>#} |
||||||
|
{% endif %} |
||||||
|
</div> |
||||||
|
{% endblock %} |
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in new issue