parent
7386707fb0
commit
c1e4e2c9c6
32 changed files with 1299 additions and 239 deletions
@ -1 +0,0 @@ |
||||
kotzilla ,kotzilla,kotzilla-Satellite-L300,27.05.2014 19:59,file:///home/kotzilla/.config/libreoffice/3; |
||||
@ -1 +0,0 @@ |
||||
kotzilla ,kotzilla,kotzilla-Satellite-L300,27.05.2014 19:16,file:///home/kotzilla/.config/libreoffice/3; |
||||
Binary file not shown.
@ -0,0 +1,29 @@ |
||||
# -*- coding: utf-8 -*- |
||||
from django import forms |
||||
from theme.models import Theme |
||||
from country.models import Country |
||||
from django.utils.translation import ugettext as _ |
||||
|
||||
|
||||
class AddEventForm1(forms.Form): |
||||
event_type = forms.ChoiceField(choices=[]) |
||||
theme = forms.ModelMultipleChoiceField(queryset=Theme.objects.all(), label=_(u'Тематика')) |
||||
tag = forms.CharField(widget=forms.SelectMultiple(), label=_(u'Теги'), required=False) |
||||
name = forms.CharField(label=_(u'Имя'), |
||||
widget=forms.TextInput(attrs={'placeholder':_(u'Введите назввание выставки')})) |
||||
main_title = forms.CharField(label=_(u'Краткое описание'), required=False, |
||||
widget=forms.TextInput(attrs={'placeholder':_(u'Краткое описание выставки (необязательно)')})) |
||||
description = forms.CharField(label=_(u'Полное описание'), required=False, |
||||
widget=forms.Textarea(attrs={'placeholder':_(u'Полное описание выставки')})) |
||||
date_begin = forms.DateTimeField(label=_(u'c')) |
||||
date_begin = forms.DateTimeField(label=_(u'по')) |
||||
country = forms.ModelChoiceField(label=_(u'Страна'),queryset=Country.objects.all()) |
||||
city = forms.CharField(label=_(u'Город'), widget=forms.SelectMultiple()) |
||||
place = forms.CharField(label=_(u'Локация'), required=False) |
||||
audience = forms.MultipleChoiceField(label=_(u'Аудитория'), choices=[], required=False) |
||||
periodic = forms.ChoiceField(label=_(u'Периодичность'), choices=[], required=False) |
||||
quality_label = forms.MultipleChoiceField(label=_(u'Членства и знаки качества'), choices=[], required=False) |
||||
web_page = forms.URLField(label=_(u'Веб сайт'), required=False) |
||||
products = forms.CharField(label=_(u'Экспонируемые продукты'), required=False, |
||||
widget=forms.TextInput()) |
||||
logo = forms.ImageField(label=_(u'Логотип'), required=False) |
||||
@ -0,0 +1,7 @@ |
||||
from django.conf.urls import patterns, include, url |
||||
from views import AddEventView |
||||
|
||||
urlpatterns = patterns('', |
||||
url(r'add-event/$', AddEventView.as_view()), |
||||
) |
||||
|
||||
@ -0,0 +1,16 @@ |
||||
# -*- coding: utf-8 -*- |
||||
from django.http import HttpResponseRedirect, HttpResponse |
||||
#models |
||||
from functions.custom_views import ExpoListView, ExpoMixin, EventDetail |
||||
from django.views.generic import ListView, DetailView |
||||
from haystack.query import EmptySearchQuerySet |
||||
from functions.search_forms import ExpositionSearchForm |
||||
from django.views.generic import FormView, TemplateView |
||||
from event_forms import AddEventForm1 |
||||
# |
||||
import json |
||||
from django.utils.translation import ugettext as _ |
||||
|
||||
class AddEventView(FormView): |
||||
template_name = 'organiser/add_event.html' |
||||
form_class = AddEventForm1 |
||||
@ -0,0 +1,198 @@ |
||||
# -*- coding: utf-8 -*- |
||||
from django import forms |
||||
from django.utils.translation import ugettext as _ |
||||
from accounts.models import User |
||||
from models import Catalog, Tickets, Remote, Participation, Translation, Visit, CURENCIES |
||||
from exposition.models import Exposition |
||||
from conference.models import Conference |
||||
from seminar.models import Seminar |
||||
|
||||
|
||||
class AbstractOrderForm(forms.ModelForm): |
||||
person_inf = forms.CharField(widget=forms.TextInput(attrs={'placeholder': _(u'Контактное лицо')})) |
||||
country = forms.CharField(widget=forms.TextInput(attrs={'placeholder': _(u'Страна')})) |
||||
city = forms.CharField(widget=forms.TextInput(attrs={'placeholder': _(u'Город')})) |
||||
phone = forms.CharField(widget=forms.TextInput(attrs={'placeholder': _(u'Контактный номер телефона')})) |
||||
|
||||
person = forms.EmailField(widget=forms.TextInput(attrs={'placeholder': _(u'Электронная почта')})) |
||||
currency = forms.CharField(widget=forms.HiddenInput()) |
||||
|
||||
exposition = forms.CharField(widget=forms.HiddenInput(), required=False) |
||||
conference = forms.CharField(widget=forms.HiddenInput(), required=False) |
||||
seminar = forms.CharField(widget=forms.HiddenInput(), required=False) |
||||
|
||||
def clean_exposition(self): |
||||
exp_id = self.cleaned_data.get('exposition') |
||||
if not exp_id: |
||||
return None |
||||
try: |
||||
return Exposition.objects.get(id=exp_id) |
||||
|
||||
except Exposition.DoesNotExist: |
||||
return None |
||||
|
||||
def clean_seminar(self): |
||||
sem_id = self.cleaned_data.get('seminar') |
||||
if not sem_id: |
||||
return None |
||||
try: |
||||
return Seminar.objects.get(id=sem_id) |
||||
except Seminar.DoesNotExist: |
||||
return None |
||||
|
||||
def clean_conference(self): |
||||
conf_id = self.cleaned_data.get('conference') |
||||
if not conf_id: |
||||
return None |
||||
try: |
||||
return Conference.objects.get(id=conf_id) |
||||
except Conference.DoesNotExist: |
||||
return None |
||||
|
||||
def clean_person(self): |
||||
cleaned_data = super(AbstractOrderForm, self).clean() |
||||
email = cleaned_data.get('person') |
||||
|
||||
try: |
||||
user = User.objects.get(username=email) |
||||
except User.DoesNotExist: |
||||
fname = '' |
||||
lname = '' |
||||
person_inf = cleaned_data.get('person_inf') |
||||
if person_inf: |
||||
person_inf = person_inf.split(' ') |
||||
fname = person_inf[0] |
||||
lname = ' '.join(person_inf[1:]) |
||||
user = User.objects.create_user(email, fname, lname) |
||||
|
||||
|
||||
return user |
||||
|
||||
def clean_phone(self): |
||||
cleaned_data = super(AbstractOrderForm, self).clean() |
||||
phone = cleaned_data.get('phone') |
||||
if not phone: |
||||
return |
||||
|
||||
deduct = ('-','(',')','.',' ') |
||||
for elem in deduct: |
||||
phone = phone.replace(elem, '') |
||||
if phone.isdigit(): |
||||
return phone |
||||
else: |
||||
raise forms.ValidationError(_(u'Введите правильный телефон')) |
||||
|
||||
|
||||
|
||||
|
||||
class CatalogForm(AbstractOrderForm): |
||||
class Meta: |
||||
model = Catalog |
||||
|
||||
|
||||
class TicketsForm(AbstractOrderForm): |
||||
class Meta: |
||||
model = Tickets |
||||
|
||||
|
||||
ADDITIONAL_REMOTE_CHOICES = [(_(u'официальный каталог'), _(u'официальный каталог')), |
||||
(_(u'фотоотчет'), _(u'фотоотчет')), |
||||
(_(u'видеоотчет'), _(u'видеоотчет')) |
||||
] |
||||
|
||||
class RemoteForm(AbstractOrderForm): |
||||
additional = forms.MultipleChoiceField(widget=forms.CheckboxSelectMultiple(), choices=ADDITIONAL_REMOTE_CHOICES) |
||||
class Meta: |
||||
model = Remote |
||||
|
||||
def clean_additional(self): |
||||
additional = self.cleaned_data.get('additional') |
||||
if not additional: |
||||
return '' |
||||
else: |
||||
return ', '.join(additional) |
||||
|
||||
AREA_TYPE_CHOICES=[(_(u'оборудованная'), _(u'оборудованная')), |
||||
(_(u'не оборудованная'), _(u'не оборудованная')) |
||||
] |
||||
class ParticipationForm(AbstractOrderForm): |
||||
area_type = forms.ChoiceField(choices=AREA_TYPE_CHOICES, required=False) |
||||
company_inf = forms.CharField(required=False, |
||||
widget=forms.Textarea(attrs={'placeholder': _(u'Краткое описание, вид деятельности компании')})) |
||||
class Meta: |
||||
model = Participation |
||||
|
||||
LANGS = [(_(u'Русский'), _(u'Русский'))] |
||||
from theme.models import Theme |
||||
|
||||
class TranslationForm(AbstractOrderForm): |
||||
languages = forms.MultipleChoiceField(widget=forms.CheckboxSelectMultiple(), |
||||
choices=LANGS) |
||||
themes = forms.MultipleChoiceField(widget=forms.CheckboxSelectMultiple(), |
||||
choices=[(theme.id, theme.id) for theme in Theme.objects.language().filter()]) |
||||
fr = forms.DateField(widget=forms.DateInput(attrs={'class': 'date dateFrom', 'placeholder': _(u'дд.мм.гггг')})) |
||||
to = forms.DateField(widget=forms.DateInput(attrs={'class': 'date dateTo', 'placeholder': _(u'дд.мм.гггг')})) |
||||
class Meta: |
||||
model = Translation |
||||
|
||||
|
||||
|
||||
HOTEL_ADDITIONAL_CHOICES = [('', _(u'Выберите')),(_(u'Условие1'), _(u'Условие1')), |
||||
(_(u'Условие2'), _(u'Условие2')),(_(u'Условие3'), _(u'Условие3'))] |
||||
|
||||
AVIA_TYPE_CHOICES = [(_(u'Прямой'), _(u'Прямой')), (_(u'С пересадкой'), _(u'С пересадкой')), |
||||
(_(u'Бизнес-класс'), _(u'Бизнес-класс')), (_(u'Эконом-класс'), _(u'Эконом-класс'))] |
||||
|
||||
HOTEL_LOCATION_CHOICES = [('', _(u'Выберите')), (_(u'Расположение1'), _(u'Расположение1')), |
||||
(_(u'Расположение2'), _(u'Расположение2'))] |
||||
|
||||
HOTEL_BUDGET_ADD = [('', _(u'Выберите')), (_(u'В сутки'), _(u'В сутки')), (_(u'В неделю'), _(u'В неделю'))] |
||||
|
||||
|
||||
class VisitForm(AbstractOrderForm): |
||||
fr = forms.DateField(widget=forms.DateInput(attrs={'class': 'date dateFrom', 'placeholder': _(u'дд.мм.гггг')})) |
||||
to = forms.DateField(widget=forms.DateInput(attrs={'class': 'date dateTo', 'placeholder': _(u'дд.мм.гггг')})) |
||||
hotel_additional = forms.ChoiceField(choices=HOTEL_ADDITIONAL_CHOICES, required=False) |
||||
hotel_stars = forms.MultipleChoiceField(widget=forms.CheckboxSelectMultiple(), |
||||
choices=[('1','1'),('2','2'),('3','3'),('4','4'),('5','5')]) |
||||
|
||||
hotel_location = forms.ChoiceField(choices=HOTEL_LOCATION_CHOICES, required=False) |
||||
hotel_budget_add = forms.ChoiceField(choices=HOTEL_BUDGET_ADD, required=False) |
||||
languages = forms.MultipleChoiceField(widget=forms.CheckboxSelectMultiple(), |
||||
choices=LANGS) |
||||
themes = forms.MultipleChoiceField(widget=forms.CheckboxSelectMultiple(), |
||||
choices=[(theme.name, theme.name) for theme in Theme.objects.all()]) |
||||
|
||||
|
||||
avia_type = forms.MultipleChoiceField(widget=forms.CheckboxSelectMultiple(), |
||||
choices=AVIA_TYPE_CHOICES) |
||||
class Meta: |
||||
model = Visit |
||||
|
||||
def clean_hotel_stars(self): |
||||
hotel_stars = self.cleaned_data.get('hotel_stars') |
||||
if not hotel_stars: |
||||
return '' |
||||
else: |
||||
return ', '.join(hotel_stars) |
||||
|
||||
def clean_languages(self): |
||||
languages = self.cleaned_data.get('languages') |
||||
if not languages: |
||||
return '' |
||||
else: |
||||
return ', '.join(languages) |
||||
|
||||
def clean_themes(self): |
||||
themes = self.cleaned_data.get('themes') |
||||
if not themes: |
||||
return '' |
||||
else: |
||||
return ', '.join(themes) |
||||
|
||||
def clean_avia_type(self): |
||||
avia_type = self.cleaned_data.get('avia_type') |
||||
if not avia_type: |
||||
return '' |
||||
else: |
||||
return ', '.join(avia_type) |
||||
@ -0,0 +1,15 @@ |
||||
{% load i18n %} |
||||
{% load template_filters %} |
||||
{% if user.is_authenticated %} |
||||
{% if event|in_calendar:user %} |
||||
<a style="display:none;" class="button blue icon-calendar addcalendar" href="{{ event.get_calendar_url }}">{% trans 'в расписание' %}</a> |
||||
<a class="button blue icon-calendar removecalendar" href="{{ event.get_calendar_url }}">{% trans 'из расписание' %}</a> |
||||
{% else %} |
||||
<a class="button blue icon-calendar addcalendar" href="{{ event.get_calendar_url }}">{% trans 'в расписание' %}</a> |
||||
<a style="display:none;" class="button blue icon-calendar removecalendar" href="{{ event.get_calendar_url }}">{% trans 'из расписание' %}</a> |
||||
{% endif %} |
||||
{% else %} |
||||
<a class="button blue icon-calendar addcalendar" href="{{ event.get_calendar_url }}">{% trans 'в расписание' %}</a> |
||||
<a style="display:none;" class="button blue icon-calendar removecalendar" href="{{ event.get_calendar_url }}">{% trans 'из расписание' %}</a> |
||||
{% endif %} |
||||
|
||||
@ -0,0 +1,15 @@ |
||||
{% load i18n %} |
||||
{% load template_filters %} |
||||
|
||||
{% if user.is_authenticated %} |
||||
{% if user in event.users.all %} |
||||
<a style="display:none;" class="button icon-check visit" href="{{ exposition.get_visit_url }}">{% trans 'Я планирую посетить' %}</a> |
||||
<a class="button icon-check unvisit" href="{{ exposition.get_visit_url }}">{% trans 'Не планирую посещать' %}</a> |
||||
{% else %} |
||||
<a class="button icon-check visit" href="{{ exposition.get_visit_url }}">{% trans 'Я планирую посетить' %}</a> |
||||
<a style="display:none;" class="button icon-check unvisit" href="{{ exposition.get_visit_url }}">{% trans 'Не планирую посещать' %}</a> |
||||
{% endif %} |
||||
{% else %} |
||||
<a class="button icon-check visit" href="{{ exposition.get_visit_url }}">{% trans 'Я планирую посетить' %}</a> |
||||
<a style="display:none;" class="button icon-check unvisit" href="{{ exposition.get_visit_url }}">{% trans 'Не планирую посещать' %}</a> |
||||
{% endif %} |
||||
@ -0,0 +1,305 @@ |
||||
{% extends 'base_catalog.html' %} |
||||
{% load i18n %} |
||||
|
||||
{% block bread_scrumbs %} |
||||
<div class="bread-crumbs"> |
||||
<a href="/">{% trans 'Главная страница' %}</a> |
||||
<strong>{% trans 'Добавить событие' %}</strong> |
||||
</div> |
||||
{% endblock %} |
||||
|
||||
{% block page_title %} |
||||
<div class="page-title"> |
||||
<h1>{% trans 'Добавить событие' %}</h1> |
||||
</div> |
||||
{% endblock %} |
||||
|
||||
{% block page_body %} |
||||
<div class="page-body clearfix"> |
||||
<div class="set-sect p-form adm-form"> |
||||
<div class="set-sect-title clearfix"> |
||||
<h3>{% trans 'Шаг 1. Основная информация' %}</h3> |
||||
</div> |
||||
<form action="#"> |
||||
|
||||
<hr /> |
||||
|
||||
<div class="mf-line afs-type"> |
||||
<label>Тип события:</label> |
||||
<div class="mf-field"> |
||||
<label class="check"><input type="radio" name="nt" /> {% trans 'выставка' %}</label> |
||||
<label class="check"><input type="radio" name="nt" /> {% trans 'конференция' %}</label> |
||||
<label class="check"><input type="radio" name="nt" /> {% trans 'семинар' %}</label> |
||||
<label class="check"><input type="radio" name="nt" /> {% trans 'вебинар' %}</label> |
||||
</div> |
||||
</div> |
||||
|
||||
<hr /> |
||||
|
||||
<div class="adm-form-body"> |
||||
|
||||
<div class="mf-line s-subj-tag"> |
||||
<div class="mf-field"> |
||||
<label>{% trans 'Тематика' %}:</label> |
||||
<div class="c-select-box select" data-placeholder="{% trans 'Выберите тематику' %}"> |
||||
<div class="csb-selected-items"></div> |
||||
<div class="csb-menu-wrap"> |
||||
<div class="scroll-container csb-menu"> |
||||
<div class="scroll-content clearfix"> |
||||
<ul> |
||||
{% for val, choice in form.theme.field.choices %} |
||||
<li><label><input type="checkbox" name="theme" value="{{ val }}" />{{ choice }}</label></li> |
||||
{% endfor %} |
||||
</ul> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
|
||||
</div> |
||||
</div> |
||||
|
||||
<div class="mf-field"> |
||||
<label>{% trans 'Теги' %}:</label> |
||||
<div class="c-select-box select" data-placeholder="{% trans 'Выберете ключевые теги' %}"> |
||||
<div class="csb-selected-items"></div> |
||||
<div class="csb-menu-wrap"> |
||||
<div class="scroll-container csb-menu"> |
||||
<div class="scroll-content clearfix"> |
||||
<ul> |
||||
|
||||
</ul> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
|
||||
</div> |
||||
</div> |
||||
</div> |
||||
|
||||
<hr /> |
||||
|
||||
<h2>{% trans 'Описание выставки' %}</h2> |
||||
|
||||
<div class="mf-line"> |
||||
<div class="mf-field"> |
||||
{{ form.name }} |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="mf-line full-width"> |
||||
<div class="mf-field"> |
||||
{{ form.main_title }} |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="mf-line full-width"> |
||||
<div class="mf-field"> |
||||
<textarea name="description" cols="30" rows="10" placeholder="{% trans 'Полное описание выставки' %}"></textarea> |
||||
</div> |
||||
</div> |
||||
|
||||
<hr /> |
||||
|
||||
<div id="dates-range" class="mf-line"> |
||||
<label class="h2">{% trans 'Даты проведения' %}:</label> |
||||
<div class="mf-field"> |
||||
<div class="period"> |
||||
<div class="pwf-field"> |
||||
<label>{% trans 'с' %}</label> |
||||
<input type="text" class="date dateFrom" name="dateFrom" placeholder="{% trans 'дд.мм.гггг' %}" /> |
||||
</div> |
||||
<div class="pwf-field"> |
||||
<label>{% trans 'по' %}</label> |
||||
<input type="text" class="date dateTo" name="dateTo" placeholder="{% trans 'дд.мм.гггг' %}" /> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
|
||||
<hr /> |
||||
|
||||
<div class="mfs-location"> |
||||
|
||||
<h2>{% trans 'Локация' %}</h2> |
||||
|
||||
<div class="mf-line"> |
||||
<div class="mf-field"> |
||||
<input type="text" name="pntitle" placeholder="{% trans 'Место проведения' %}" /> |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="mf-line"> |
||||
<div class="mf-field"> |
||||
<input type="text" name="pntitle" placeholder="{% trans 'Страна' %}" /> |
||||
</div> |
||||
|
||||
<div class="mf-field"> |
||||
<input type="text" name="pntitle" placeholder="{% trans 'Город' %}" /> |
||||
</div> |
||||
</div> |
||||
|
||||
</div> |
||||
|
||||
<hr /> |
||||
|
||||
<div class="mfs-additional"> |
||||
<h2>{% trans 'Дополнительная информация' %}</h2> |
||||
|
||||
<div class="mf-line mf-targets"> |
||||
<label>{% trans 'Аудитория' %}:</label> |
||||
<div class="mf-field"> |
||||
|
||||
<div class="clearfix"> |
||||
<div class="mff-col"> |
||||
<label class="check"><input type="checkbox" name="c01" />{% trans 'специалисты' %}</label> |
||||
<label class="check"><input type="checkbox" name="c02" />{% trans 'специалисты и потребители' %}</label> |
||||
<label class="check"><input type="checkbox" name="c03" />{% trans 'широкая публика' %}</label> |
||||
</div> |
||||
|
||||
<div class="mff-col"> |
||||
<select name="period"> |
||||
<option value="">{% trans 'Периодичность' %}</option> |
||||
<option value="1">{% trans 'Еженедельно' %}</option> |
||||
<option value="2">{% trans '2 раза в месяц' %}</option> |
||||
<option value="3">{% trans 'Ежемесячно' %}</option> |
||||
</select> |
||||
</div> |
||||
</div> |
||||
|
||||
<hr /> |
||||
|
||||
</div> |
||||
</div> |
||||
|
||||
<div class="mf-line mf-membership"> |
||||
<label>{% trans 'Членства и знаки качества' %}:</label> |
||||
<div class="mf-field"> |
||||
|
||||
<label class="check"><input type="checkbox" name="c01" />{% trans 'Российско-Британская торговая палата' %}</label> |
||||
<label class="check"><input type="checkbox" name="c02" />{% trans 'Ассоциация Европейского Бизнеса' %}</label> |
||||
<label class="check"><input type="checkbox" name="c03" />{% trans 'Российский союз выставок и ярмарок' %}</label> |
||||
<label class="check"><input type="checkbox" name="c04" />{% trans 'Американская торговая палата' %}</label> |
||||
<label class="check"><input type="checkbox" name="c05" />{% trans 'UFI' %}</label> |
||||
|
||||
<hr /> |
||||
|
||||
</div> |
||||
</div> |
||||
|
||||
<div class="mf-line mf-prod"> |
||||
<div class="mf-field"> |
||||
|
||||
<input type="text" name="pntitle" placeholder="{% trans 'Веб-сайт (необязательно)' %}" /> |
||||
|
||||
<textarea name="pnprod" cols="30" rows="10" placeholder="{% trans 'Экспонируемые продукты' %}"></textarea> |
||||
|
||||
<hr /> |
||||
|
||||
</div> |
||||
</div> |
||||
|
||||
<div class="mf-line mf-time"> |
||||
<label>{% trans 'Время работы' %}:</label> |
||||
<div id="work-time" class="mf-field"> |
||||
<div class="w-time"> |
||||
<div class="w-time-day"> |
||||
<select name="d01"> |
||||
<option value="12.04.2014">12.04.2014</option> |
||||
</select> |
||||
</div> |
||||
|
||||
<div class="w-time-wrap"> |
||||
<label>{% trans 'c' %}</label> |
||||
<select name="tFrom01"> |
||||
<option value="">{% trans 'чч:мм' %}</option> |
||||
<option value="1">08:00</option> |
||||
<option value="2">09:00</option> |
||||
<option value="3">10:00</option> |
||||
<option value="4">11:00</option> |
||||
<option value="5">12:00</option> |
||||
<option value="6">13:00</option> |
||||
<option value="7">14:00</option> |
||||
<option value="8">15:00</option> |
||||
<option value="9">16:00</option> |
||||
<option value="10">17:00</option> |
||||
<option value="11">18:00</option> |
||||
<option value="12">19:00</option> |
||||
<option value="13">20:00</option> |
||||
</select> |
||||
</div> |
||||
|
||||
<div class="w-time-wrap"> |
||||
<label>{% trans 'до' %}</label> |
||||
<select name="tTo01"> |
||||
<option value="">{% trans 'чч:мм' %}</option> |
||||
<option value="1">09:00</option> |
||||
<option value="2">10:00</option> |
||||
<option value="3">11:00</option> |
||||
<option value="4">12:00</option> |
||||
<option value="5">13:00</option> |
||||
<option value="6">14:00</option> |
||||
<option value="7">15:00</option> |
||||
<option value="8">16:00</option> |
||||
<option value="9">17:00</option> |
||||
<option value="10">18:00</option> |
||||
<option value="11">19:00</option> |
||||
<option value="12">20:00</option> |
||||
<option value="13">21:00</option> |
||||
</select> |
||||
</div> |
||||
|
||||
<label class="check"><input type="checkbox" class="w-time-switcher" name="c05" checked />{% trans 'Один график на все дни' %}</label> |
||||
</div> |
||||
|
||||
</div> |
||||
</div> |
||||
|
||||
</div> |
||||
|
||||
<hr /> |
||||
|
||||
<div class="mf-line mf-logo"> |
||||
<label class="h2">{% trans 'Логотип' %}:</label> |
||||
<div class="mf-field"> |
||||
<div class="input-file clearfix"> |
||||
<div class="button big icon-clip">{% trans 'выберите файл' %}</div> |
||||
<div class="file-text" data-placeholder="{% trans 'Не выбрано ни одного файла' %}"></div> |
||||
<div class="if-field-wrap"><input type="file" name="avatar" /></div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
|
||||
<hr /> |
||||
|
||||
</div> |
||||
|
||||
|
||||
|
||||
<div class="a-bot-buttons-line clearfix"> |
||||
|
||||
<div class="abb-left"> |
||||
<a class="button big icon-save" href="#">{% trans 'сохранить как черновик' %}</a> |
||||
</div> |
||||
|
||||
<div class="abb-right"> |
||||
<a class="button big orange a-more" href="#">{% trans 'далее' %}</a> |
||||
</div> |
||||
|
||||
</div> |
||||
|
||||
</form> |
||||
</div> |
||||
|
||||
<div class="set-sect p-form adm-form not-active"> |
||||
<div class="set-sect-title clearfix"> |
||||
<h3>{% trans 'Шаг 2. Добавление фото' %}</h3> |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="set-sect p-form adm-form not-active"> |
||||
<div class="set-sect-title clearfix"> |
||||
<h3>{% trans 'Шаг 3. Статистика и условия участия' %}</h3> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
{% endblock %} |
||||
Loading…
Reference in new issue