diff --git a/static/ninjaplugin/plugin/index.html b/static/ninjaplugin/plugin/index.html deleted file mode 100644 index fdab7f86..00000000 --- a/static/ninjaplugin/plugin/index.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - Plugin - - - - - - - -
- - -
- - \ No newline at end of file diff --git a/static/ninjaplugin/plugin/init.js b/static/ninjaplugin/plugin/init.js deleted file mode 100644 index 6cf45b90..00000000 --- a/static/ninjaplugin/plugin/init.js +++ /dev/null @@ -1,16 +0,0 @@ -$(document).ready(function() { - var idCountry = $('#id_country').ninjaSelect({ - url: '/get/country/', - itemsPerPage: 10 - }); - - var plugin = idCountry.data().ninjaSelect; - plugin.options.data = { - city: '1' - }; - - $('#id_theme').ninjaSelect({ - url: '/get/theme/', - itemsPerPage: 10 - }); -}) \ No newline at end of file diff --git a/static/ninjaplugin/plugin/jquery.mousewheel.js b/static/ninjaplugin/plugin/jquery.mousewheel.js deleted file mode 100644 index a4a7d44a..00000000 --- a/static/ninjaplugin/plugin/jquery.mousewheel.js +++ /dev/null @@ -1,213 +0,0 @@ -(function (factory) { - if ( typeof define === 'function' && define.amd ) { - // AMD. Register as an anonymous module. - define(['jquery'], factory); - } else if (typeof exports === 'object') { - // Node/CommonJS style for Browserify - module.exports = factory; - } else { - // Browser globals - factory(jQuery); - } -}(function ($) { - - var toFix = ['wheel', 'mousewheel', 'DOMMouseScroll', 'MozMousePixelScroll'], - toBind = ( 'onwheel' in document || document.documentMode >= 9 ) ? - ['wheel'] : ['mousewheel', 'DomMouseScroll', 'MozMousePixelScroll'], - slice = Array.prototype.slice, - nullLowestDeltaTimeout, lowestDelta; - - if ( $.event.fixHooks ) { - for ( var i = toFix.length; i; ) { - $.event.fixHooks[ toFix[--i] ] = $.event.mouseHooks; - } - } - - var special = $.event.special.mousewheel = { - version: '3.1.12', - - setup: function() { - if ( this.addEventListener ) { - for ( var i = toBind.length; i; ) { - this.addEventListener( toBind[--i], handler, false ); - } - } else { - this.onmousewheel = handler; - } - // Store the line height and page height for this particular element - $.data(this, 'mousewheel-line-height', special.getLineHeight(this)); - $.data(this, 'mousewheel-page-height', special.getPageHeight(this)); - }, - - teardown: function() { - if ( this.removeEventListener ) { - for ( var i = toBind.length; i; ) { - this.removeEventListener( toBind[--i], handler, false ); - } - } else { - this.onmousewheel = null; - } - // Clean up the data we added to the element - $.removeData(this, 'mousewheel-line-height'); - $.removeData(this, 'mousewheel-page-height'); - }, - - getLineHeight: function(elem) { - var $elem = $(elem), - $parent = $elem['offsetParent' in $.fn ? 'offsetParent' : 'parent'](); - if (!$parent.length) { - $parent = $('body'); - } - return parseInt($parent.css('fontSize'), 10) || parseInt($elem.css('fontSize'), 10) || 16; - }, - - getPageHeight: function(elem) { - return $(elem).height(); - }, - - settings: { - adjustOldDeltas: true, // see shouldAdjustOldDeltas() below - normalizeOffset: true // calls getBoundingClientRect for each event - } - }; - - $.fn.extend({ - mousewheel: function(fn) { - return fn ? this.bind('mousewheel', fn) : this.trigger('mousewheel'); - }, - - unmousewheel: function(fn) { - return this.unbind('mousewheel', fn); - } - }); - - - function handler(event) { - var orgEvent = event || window.event, - args = slice.call(arguments, 1), - delta = 0, - deltaX = 0, - deltaY = 0, - absDelta = 0, - offsetX = 0, - offsetY = 0; - event = $.event.fix(orgEvent); - event.type = 'mousewheel'; - - // Old school scrollwheel delta - if ( 'detail' in orgEvent ) { deltaY = orgEvent.detail * -1; } - if ( 'wheelDelta' in orgEvent ) { deltaY = orgEvent.wheelDelta; } - if ( 'wheelDeltaY' in orgEvent ) { deltaY = orgEvent.wheelDeltaY; } - if ( 'wheelDeltaX' in orgEvent ) { deltaX = orgEvent.wheelDeltaX * -1; } - - // Firefox < 17 horizontal scrolling related to DOMMouseScroll event - if ( 'axis' in orgEvent && orgEvent.axis === orgEvent.HORIZONTAL_AXIS ) { - deltaX = deltaY * -1; - deltaY = 0; - } - - // Set delta to be deltaY or deltaX if deltaY is 0 for backwards compatabilitiy - delta = deltaY === 0 ? deltaX : deltaY; - - // New school wheel delta (wheel event) - if ( 'deltaY' in orgEvent ) { - deltaY = orgEvent.deltaY * -1; - delta = deltaY; - } - if ( 'deltaX' in orgEvent ) { - deltaX = orgEvent.deltaX; - if ( deltaY === 0 ) { delta = deltaX * -1; } - } - - // No change actually happened, no reason to go any further - if ( deltaY === 0 && deltaX === 0 ) { return; } - - // Need to convert lines and pages to pixels if we aren't already in pixels - // There are three delta modes: - // * deltaMode 0 is by pixels, nothing to do - // * deltaMode 1 is by lines - // * deltaMode 2 is by pages - if ( orgEvent.deltaMode === 1 ) { - var lineHeight = $.data(this, 'mousewheel-line-height'); - delta *= lineHeight; - deltaY *= lineHeight; - deltaX *= lineHeight; - } else if ( orgEvent.deltaMode === 2 ) { - var pageHeight = $.data(this, 'mousewheel-page-height'); - delta *= pageHeight; - deltaY *= pageHeight; - deltaX *= pageHeight; - } - - // Store lowest absolute delta to normalize the delta values - absDelta = Math.max( Math.abs(deltaY), Math.abs(deltaX) ); - - if ( !lowestDelta || absDelta < lowestDelta ) { - lowestDelta = absDelta; - - // Adjust older deltas if necessary - if ( shouldAdjustOldDeltas(orgEvent, absDelta) ) { - lowestDelta /= 40; - } - } - - // Adjust older deltas if necessary - if ( shouldAdjustOldDeltas(orgEvent, absDelta) ) { - // Divide all the things by 40! - delta /= 40; - deltaX /= 40; - deltaY /= 40; - } - - // Get a whole, normalized value for the deltas - delta = Math[ delta >= 1 ? 'floor' : 'ceil' ](delta / lowestDelta); - deltaX = Math[ deltaX >= 1 ? 'floor' : 'ceil' ](deltaX / lowestDelta); - deltaY = Math[ deltaY >= 1 ? 'floor' : 'ceil' ](deltaY / lowestDelta); - - // Normalise offsetX and offsetY properties - if ( special.settings.normalizeOffset && this.getBoundingClientRect ) { - var boundingRect = this.getBoundingClientRect(); - offsetX = event.clientX - boundingRect.left; - offsetY = event.clientY - boundingRect.top; - } - - // Add information to the event object - event.deltaX = deltaX; - event.deltaY = deltaY; - event.deltaFactor = lowestDelta; - event.offsetX = offsetX; - event.offsetY = offsetY; - // Go ahead and set deltaMode to 0 since we converted to pixels - // Although this is a little odd since we overwrite the deltaX/Y - // properties with normalized deltas. - event.deltaMode = 0; - - // Add event and delta to the front of the arguments - args.unshift(event, delta, deltaX, deltaY); - - // Clearout lowestDelta after sometime to better - // handle multiple device types that give different - // a different lowestDelta - // Ex: trackpad = 3 and mouse wheel = 120 - if (nullLowestDeltaTimeout) { clearTimeout(nullLowestDeltaTimeout); } - nullLowestDeltaTimeout = setTimeout(nullLowestDelta, 200); - - return ($.event.dispatch || $.event.handle).apply(this, args); - } - - function nullLowestDelta() { - lowestDelta = null; - } - - function shouldAdjustOldDeltas(orgEvent, absDelta) { - // If this is an older event and the delta is divisable by 120, - // then we are assuming that the browser is treating this as an - // older mouse wheel event and that we should divide the deltas - // by 40 to try and get a more usable deltaFactor. - // Side note, this actually impacts the reported scroll distance - // in older browsers and can cause scrolling to be slower than native. - // Turn this off by setting $.event.special.mousewheel.settings.adjustOldDeltas to false. - return special.settings.adjustOldDeltas && orgEvent.type === 'mousewheel' && absDelta % 120 === 0; - } - -})); \ No newline at end of file diff --git a/static/ninjaplugin/plugin/plugin.css b/static/ninjaplugin/plugin/plugin.css deleted file mode 100644 index 4477dd4b..00000000 --- a/static/ninjaplugin/plugin/plugin.css +++ /dev/null @@ -1,69 +0,0 @@ -[for="id_country"], [for="id_theme"] { - float: left; - margin-right: 10px; -} - -.ninjaSelect { - display: inline-block; - width: 300px; - min-height: 25px; - border: 1px solid #000; - border-radius: 4px; -} -.ninjaSelect > input { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - - min-height: 25px; - padding: 0 5px; - width: 100%; - border-radius: 4px; - border: 0; -} -.ninjaSelect_wrapper { - max-height: 185px; - overflow-y: scroll; - border-top: 1px solid #000; - background: #fff; - border-radius: 0 0 4px 4px; -} - -.ninjaSelect_selected { - border-top: 1px dotted red; - border-bottom: 1px dotted red; - padding: 0 3px; - display: none; - background: #fff; -} - -.ninjaSelect_item { - display: inline-block; - vertical-align: top; - background: orange; - border-radius: 4px; - color: #fff; - padding: 2px 8px; - margin: 2px 5px 2px 0; - cursor: pointer; -} - -.ninjaSelect_list { - margin: 0; - padding: 0; - list-style: none; - padding: 3px 3px 0 3px; -} -.ninjaSelect_list > li { - border: 1px solid #b37550; - border-radius: 3px; - margin: 0 0 3px; - padding: 0 3px 2px; - line-height: normal; - cursor: pointer; - color: #b37550; -} -.ninjaSelect_list > li:hover, .ninjaSelect_list > li.active { - color: #000; - border-color: #000; -} \ No newline at end of file diff --git a/static/ninjaplugin/plugin/plugin.js b/static/ninjaplugin/plugin/plugin.js deleted file mode 100644 index 2dfa9ac9..00000000 --- a/static/ninjaplugin/plugin/plugin.js +++ /dev/null @@ -1,147 +0,0 @@ -!function ($) { - - "use strict"; - - function ninjaSelect(element, options) { - this.$element = $(element); - this.options = $.extend({}, $.fn.ninjaSelect.defaults, options); - this.page = 1; - - this.init(); - } - - ninjaSelect.prototype = { - - constructor: ninjaSelect, - - init: function() { - var self = this, allow = true; - - self.$div = $('
', {'id': 'ninja_' + this.$element.attr('id'), 'class': 'ninjaSelect'}), - self.$input = $(''), - self.$list = $('
', {'class': 'ninjaSelect_wrapper'}).hide(); - self.$selected = $('
', {'class': 'ninjaSelect_selected'}); - self.$ul = $('
    ', {'class': 'ninjaSelect_list'}); - - self.$element.hide().after( - self.$div.append( - self.$input, self.$selected, self.$list.append( - self.$ul - ) - ) - ); - - self.$input.on('keyup', function(e) { - self.loadData($(this).val()); - }); - - self.$ul.delegate('li', 'click', function(e) { - var id = $(this).data().id, allow = true; - - self.$selected.show().find('.ninjaSelect_item').each(function() { - if ($(this).data().id == id) { - allow = false; - } - }); - - if (!self.options.multiple && $('.ninjaSelect_item').length == 1) { - allow = false; - } - - if (allow) { - $(this).addClass('active'); - - self.$selected.append( - $('
    ', {'class': 'ninjaSelect_item'}).data({'id': id, 'index': $(this).index()}).text($(this).text()).click(function() { - self.$ul.find('li').eq($(this).data().index).removeClass('active'); - $(this).next().remove().end().remove(); - - if (!self.$selected.find('.ninjaSelect_item').length) { - self.$selected.hide() - } - }), - $('', {'type': 'hidden', 'name': $(this).text() + '_' + id}).val($(this).text()) - ) - } - }); - - self.$list.mousewheel(function(e, delta) { - if (delta < 0) { - if ($(this).scrollTop() + $(this).innerHeight() >= self.$ul.innerHeight() && allow) { - allow = false; - - self.loadData(self.$input.val(), function() { - allow = true; - }) - } - } - }); - - $(document).delegate('body', 'click', function(e) { - if ($(e.target).closest('.ninjaSelect_list').length == 0) { - self.$list.hide(); - self.$ul.empty(); - } - }) - }, - - loadData: function(val, callback) { - var self = this, len = val.length; - - if (len >= self.options.minLength) { - $.get(self.options.url, {offset: self.page, count: self.options.itemsPerPage, value: val, data: self.options.data}, function(json) { - if (json.length) { - if (json.length >= self.options.itemsPerPage) { - self.page++; - } - - self.$list.show(); - - json.forEach(function(item, i, arr) { - self.$ul.append( - $('
  • ').text(item.text).data('id', item.id) - ) - }) - - - if (self.page == 1) { - self.$list.animate({scrollTop: 0}, 0); - } else { - self.$list.css({scrollTop: self.$list.scrollTop()}, 0); - } - - if (callback) { - callback(); - } - } else { - self.$list.hide(); - self.$ul.empty(); - } - }, 'json'); - } else { - self.$list.hide(); - self.$ul.empty(); - } - } - - } - - $.fn.ninjaSelect = function(options) { - return this.each(function() { - var $this = $(this), data = $this.data('ninjaSelect'); - - if (!data) { - $this.data('ninjaSelect', (data = new ninjaSelect(this, options))) - } - }) - } - - $.fn.ninjaSelect.defaults = { - url: '/ajax.php', - data: {}, - minLength: 2, - itemsPerPage: 3, - multiple: true - } - -}(jQuery); \ No newline at end of file diff --git a/templates/client/base_catalog.html b/templates/client/base_catalog.html index 6582dc3e..47796394 100644 --- a/templates/client/base_catalog.html +++ b/templates/client/base_catalog.html @@ -16,7 +16,7 @@ {% include 'client/includes/feedback.html' %}
    - {% include 'client/includes/online_consult.html' %} + {# {% include 'client/includes/online_consult.html' %} #} {% include 'client/includes/banners/aside_1.html' %} diff --git a/templates/client/company.html b/templates/client/company.html deleted file mode 100644 index 8f722b69..00000000 --- a/templates/client/company.html +++ /dev/null @@ -1,146 +0,0 @@ -{% extends 'base_catalog.html' %} -{% load static %} -{% load i18n %} - -{% block content_bread_scrumbs %} - -{% endblock %} - -{% block page_title %} -{% endblock %} - -{% block page_filter %} -{% endblock %} - -{% block page_body %} -
    -
    - - -
    -
    -
    - {{ company.name|safe }} -
    -
    -
    - {{ company.description }} -
    - -
    - -
    -
    -
    {{ company.address.address }}
    - -
    - -
    -
    -
    - {% for tag in company.tag.all %} - {{ tag }}, - {% endfor %} -
    - - -
    - - - -
    - -
    - -
    -
    Дополнительная информация
    -
    -
    Год основания:
    -
    {{ company.foundation }}
    - -
    Количество сотрудников:
    -
    {{ company.staff_number }}
    - -
    О компании:
    -
    {{ company.description }}
    - -
    -
    - -
    -
    -
    - -
    -
    -
    - - - Все фотографии -
    -
    -
    - -
    -
      - {% for member in company.members %} - - {% endfor %} -
    -
    - Все сотрудники -
    -
    -{% endblock %} \ No newline at end of file diff --git a/templates/client/company_catalog.html b/templates/client/company_catalog.html deleted file mode 100644 index 90467b7f..00000000 --- a/templates/client/company_catalog.html +++ /dev/null @@ -1,28 +0,0 @@ -{% extends 'base_catalog.html' %} -{% load static %} -{% load i18n %} -{% load template_filters %} - -{% if single_page %} - {% block title %} {{ object_list.0.name|safe }} {% endblock %} - {% block keywords %} {{ object_list.0.keywords }} {% endblock %} - {% block descriptions %} {{ object_list.0.descriptions }} {% endblock %} -{% endif %} - - -{% block content_list %} - {% if object_list %} - {% if single_page %} - {% with company=object_list.0 %} - {% include 'includes/company/company_object.html' %} - {% endwith %} - {% else %} - {% with object_list=object_list %} - {% include 'includes/company/company_list.html' %} - {% endwith %} - {% endif %} - {% else %} -

    Ничего не найдено

    - {% endif %} - -{% endblock %} \ No newline at end of file diff --git a/templates/client/conference.html b/templates/client/conference.html deleted file mode 100644 index 2ffdb36c..00000000 --- a/templates/client/conference.html +++ /dev/null @@ -1,304 +0,0 @@ -{% extends 'base_catalog.html' %} -{% load static %} -{% load i18n %} - -{% block title %} {{ conference.title }} {% endblock %} -{% block keywords %} {{ conference.keywords }} {% endblock %} -{% block descriptions %} {{ conference.descriptions }} {% endblock %} - - -{% block content_bread_scrumbs %} - -{% endblock %} - -{% block page_title %} -{% endblock %} - -{% block page_filter %} -{% endblock %} - -{% block page_body %} -
    -
    - - -
    -
    -
    - {{ conference.main_title|safe }} -
    -
    - -
    - {% trans 'с' %}{{ conference.data_begin }} {% trans 'по' %} {{ conference.data_end }} -
    - -
    -
    -
    - {{ conference.place.address.address }} -
    - -
    - - -
    -
    - -
    -
    -
    - -
    - -
    - {% for tag in conference.tag.all %} - {{ tag }}, - {% endfor %} -
    -
    -
    -
    - -
    -
      - {% for service in conference.service.all %} -
    • {{ service }}
    • - {% endfor %} -
    -
    - -
    -
    {% trans 'Посетить конференцию' %}
    - -
    - {% if conference.get_photos %} -
    - -
    - - -
    - {% endif %} - -
    -
    {{ conference.main_title|safe }}
    -
    {{ conference.description|safe }}
    -
    -
    -
    -
    {% trans 'Дополнительная информация' %}
    - -
    -
    {% trans 'Организатор' %}:
    -
    - {{ conference.organiser.0 }}
    - {{ conference.organiser.0.web_page }}
    - {{ conference.organiser.0.email }} -
    - -
    {% trans 'Веб-сайт' %}:
    -
    - {{ conference.web_page }} -
    - -
    {% trans 'Аудитория' %}:
    -
    - {{ conference.get_audience }} -
    - -
    {% trans 'Периодичность' %}:
    -
    {{ conference.get_periodic }}
    - -
    {% trans 'Экспонируемые продукты' %}:
    -
    {{ conference.products|safe }}
    - -
    - -
    - {% if conference.company.all %} -
    -
    -
    -
    -
    {% trans 'Участники' %}
    - {% trans 'Все участники' %} -
    - -
    - -
    -
    -
    {% trans 'Посетители' %}
    -
    -
      - {% for user in conference.users.all|slice:":17" %} -
    • {{ user }}
    • - {% endfor %} -
    - {% trans 'Все посетители' %} -
    -
    - {% endif %} - {% if conference.place %} -
    -
    -
    -
    {% trans 'Общая выставочная площадь' %}
    -
    - {% if conference.place.total_area %} - {{ conference.place.total_area }} {% trans 'м²' %} - {% endif %} -
    -
    - -
    -
    300 {% trans 'учасников' %}
    -
    200 000 {% trans 'посетителей' %}
    - {% if conference.foundation_year %} -
    {% trans 'Основано в' %} {{ conference.foundation_year }} {% trans 'году' %}
    - {% endif %} -
    -
    - {% endif %} - -
    - - -
    -
    -
    {% trans 'Ближайшие выставки по тематике' %} «{{ conference.theme.all.0 }}»
    -
      - {% for exp in conference.get_nearest_events %} -
    • -
      - -
      - -
      -
      -
      -
      - {% if exp.approved %} -
      - -
      - {% endif %} -
      - -
      - -
      - {{ exp.main_title }} -
      - -
      -
      {% trans 'с' %} {{ exp.data_begin }} {% trans 'по' %} {{ exp.data_end }}
      -
      - {{ exp.country }}, {{ exp.city }} - {% if exp.place %} - , {{ exp.place }} - {% endif %} -
      -
      -
      -
      -
      -
    • - {% endfor %} -
    -
    -
    - -{% endblock %} - diff --git a/templates/client/event_catalog.html b/templates/client/event_catalog.html deleted file mode 100644 index 5c688b1a..00000000 --- a/templates/client/event_catalog.html +++ /dev/null @@ -1,27 +0,0 @@ -{% extends 'base_catalog.html' %} -{% load static %} -{% load i18n %} -{% load template_filters %} - - -{% if single_page %} - -{% endif %} - - -{% block content_list %} - {% if object_list %} - {% if single_page %} - {% with exposition=object_list.0 %} - {% include 'includes/event_object.html' %} - {% endwith %} - {% else %} - {% with object_list=object_list %} - {% include 'includes/event_list.html' %} - {% endwith %} - {% endif %} - {% else %} -

    Ничего не найдено

    - {% endif %} - -{% endblock %} \ No newline at end of file diff --git a/templates/client/event_members.html b/templates/client/event_members.html deleted file mode 100644 index 90f53d63..00000000 --- a/templates/client/event_members.html +++ /dev/null @@ -1,18 +0,0 @@ -{% extends 'base_catalog.html' %} -{% load static %} -{% load i18n %} -{% load template_filters %} - - -{% block page_title %} -{% endblock %} - -{% block content_list %} - {% with object_list=object_list %} - {% include 'includes/exposition/members.html' %} - {% endwith %} - -{% endblock %} - -{% block content_text %} -{% endblock %} diff --git a/templates/client/event_visitors.html b/templates/client/event_visitors.html deleted file mode 100644 index 24e2fbee..00000000 --- a/templates/client/event_visitors.html +++ /dev/null @@ -1,21 +0,0 @@ -{% extends 'base_catalog.html' %} -{% load static %} -{% load i18n %} -{% load template_filters %} - - -{% block page_title %} - -{% endblock %} - -{% block content_list %} - {% with object_list=object_list %} - {% include 'includes/exposition/visitors.html' %} - {% endwith %} - -{% endblock %} - -{% block content_text %} -{% endblock %} - - diff --git a/templates/client/exposition.html b/templates/client/exposition.html deleted file mode 100644 index c5d45b9c..00000000 --- a/templates/client/exposition.html +++ /dev/null @@ -1,320 +0,0 @@ -{% extends 'base_catalog.html' %} -{% load static %} -{% load i18n %} - -{% block title %} {{ exposition.title }} {% endblock %} -{% block keywords %} {{ exposition.keywords }} {% endblock %} -{% block descriptions %} {{ exposition.descriptions }} {% endblock %} - -{% block content_bread_scrumbs %} - -{% endblock %} - -{% block page_title %} -{% endblock %} - -{% block page_filter %} -{% endblock %} - -{% block page_body %} -
    -
    - - -
    -
    -
    - {{ exposition.main_title|safe }} -
    -
    - -
    - {% with obj=exposition %} - {% include 'client/includes/show_date_block.html' %} - {% endwith %} -
    - -
    -
    -
    - {{ exposition.place.address.address }} -
    - -
    - - -
    -
    - -
    -
    -
    - -
    - -
    - {% for tag in exposition.tag.all %} - {{ tag }}, - {% endfor %} -
    -
    -
    -
    - -
    -
      - {% for service in exposition.service.all %} -
    • {{ service }}
    • - {% endfor %} -
    -
    - -
    -
    {% trans 'Посетить выставку' %}
    - -
    - {% if exposition.get_photos %} -
    - -
    - - -
    - {% endif %} - -
    -
    {{ exposition.main_title|safe }}
    -
    {{ exposition.description|safe }}
    -
    -
    -
    -
    {% trans 'Дополнительная информация' %}
    - -
    -
    {% trans 'Организатор' %}:
    -
    - {% for organiser in exposition.organiser.all %} - {{ organiser.name }}
    - {{ organiser.web_page }}
    - {{ organiser.email }} - {% endfor %} -
    - -
    {% trans 'Веб-сайт' %}:
    -
    - {{ exposition.web_page }} -
    - {% if exposition.get_audience %} -
    {% trans 'Аудитория' %}:
    -
    - {{ exposition.get_audience }} -
    - {% endif %} - -
    {% trans 'Периодичность' %}:
    -
    {{ exposition.get_periodic }}
    - -
    {% trans 'Экспонируемые продукты' %}:
    -
    {{ exposition.products|safe }}
    - -
    - -
    - - {% if exposition.company.all %} -
    -
    -
    -
    -
    {% trans 'Участники' %}
    - {% trans 'Все участники' %} -
    - -
    - -
    -
    -
    {% trans 'Посетители' %}
    -
    -
      - {% for user in exposition.users.all|slice:":17" %} -
    • {{ user }}
    • - {% endfor %} -
    - {% trans 'Все посетители' %} -
    -
    - {% endif %} - {% if exposition.place %} -
    -
    - {% if exposition.place %} -
    -
    {% trans 'Общая выставочная площадь' %}
    -
    - {% if exposition.place.total_area %} - {{ exposition.place.total_area }} {% trans 'м²' %} - {% endif %} -
    -
    - {% endif %} - -
    -
    300 {% trans 'учасников' %}
    -
    200 000 {% trans 'посетителей' %}
    - {% if exposition.foundation_year %} -
    {% trans 'Основано в' %} {{ exposition.foundation_year }} {% trans 'году' %}
    - {% endif %} -
    -
    - {% endif %} - -
    - - -
    -
    -
    {% trans 'Ближайшие выставки по тематике' %} «{{ exposition.theme.all.0 }}»
    - -
    -
    - -{% endblock %} \ No newline at end of file diff --git a/templates/client/includes/announces.html b/templates/client/includes/announces.html index 722b2356..1a05323b 100644 --- a/templates/client/includes/announces.html +++ b/templates/client/includes/announces.html @@ -1,15 +1,9 @@ {% load i18n %} -{% comment %} - -{% endcomment %} + diff --git a/templates/client/main_page.html b/templates/client/main_page.html deleted file mode 100644 index 52d1ed1b..00000000 --- a/templates/client/main_page.html +++ /dev/null @@ -1,263 +0,0 @@ -{% extends "blank.html" %} -{% load static %} -{% load i18n %} -{% load thumbnail %} - -{% block body_class %} class="main-page" {% endblock %} - -{% block top %} - -
    - -
    -{% endblock %} - -{% block search %} - {% include 'includes/catalog_search_main.html' with search_form=search_form %} -{% endblock %} - -{% block catalog %} -
    -
    - - - -
    -
    - -
    -
    {% trans 'Выставки' %}
    - - -
    - -
    -
    {% trans 'конференции' %}
    - - -
    - {% comment %} - -
    -
    {% trans 'семинары' %}
    - - -
    - {% endcomment %} - -
    - -
    - {% block menu_banner %} - - - - {% endblock %} -
    -
    - -
    -
    -{% endblock %} - -{% block announces %} -
    -
    - - -
    - -
    - -
    -
    -{% endblock %} - -{% block partners %} -
    -
    -
    {% trans 'Наши партнеры:' %}
    -
      -
    • -
    • -
    • -
    • -
    • -
    -
    -
    -{% endblock %} - -{% block services %} -
    -
    - - - -
    -
    - - -
    -
    -
    -
    -
    - -
    -
    -{% endblock %} diff --git a/templates/client/place.html b/templates/client/place.html deleted file mode 100644 index 62c2cd69..00000000 --- a/templates/client/place.html +++ /dev/null @@ -1,314 +0,0 @@ -{% extends 'base_catalog.html' %} -{% load template_filters %} - -{% load static %} -{% load i18n %} - -{% block title %} {{ place.title }} {% endblock %} -{% block keywords %} {{ place.keywords }} {% endblock %} -{% block descriptions %} {{ place.descriptions }} {% endblock %} - -{% block content_bread_scrumbs %} - -{% endblock %} - -{% block page_title %} -{% endblock %} - -{% block page_filter %} -{% endblock %} - -{% block page_body %} -
    -
    - - -
    -
    -
    - {{ place.main_title|safe }} -
    -
    - {{ place.description|safe }} -
    -
    -
    -
    - {{ place.address.address }} -
    - - -
    - -
    -
    -
    -
    - -
    -
    Услуги
    -
    -
      - {% if place.bank %} -
    • Банк / банкоматы / обмен валюты
    • - {% endif %} - {% if place.wifi %} -
    • Wi-Fi
    • - {% endif %} - {% if place.children_room %} -
    • Детская комната
    • - {% endif %} - {% if place.disabled_service %} -
    • Сервис для инвалидов
    • - {% endif %} -
    -
      - {% if place.conference_centre %} -
    • Конгресс-центр
    • - {% endif %} - {% if place.business_centre %} -
    • Бизнес центр
    • - {% endif %} - {% if place.online_registration %} -
    • Онлайн-регистрация
    • - {% endif %} - {% if place.cafe %} -
    • Кафе и рестораны
    • - {% endif %} -
    -
      - {% if place.terminals %} -
    • Информационные терминалы
    • - {% endif %} - {% if place.parking %} -
    • Парковка
    • - {% endif %} - {% if place.press_centre %} -
    • Пресс-центр
    • - {% endif %} - {% if place.mobile_application %} -
    • Мобильное приложение
    • - {% endif %} -
    -
    -
    -
    - {% if place.get_photos %} -
    -
    Фотогалерея
    - -
    - {% endif %} -
    - {% if place.total_area %} -
    -
    Общая выставочная площадь
    -
    {{ place.total_area|int_format }} м²
    -
    - {% endif %} - -
    - {% if place.closed_area %} -
    - {{ place.closed_area|int_format }} м² - закрытая выставочная площадь -
    - {% endif %} - {% if place.open_area %} -
    - {{ place.open_area|int_format }} м² - открытая выставочная площадь -
    - {% endif %} -
    - -
    -
    -
      - {% for hall in place.halls.all %} -
    • {{ hall.name }} №{{ hall.number }} — {{ hall.capacity }}
    • - {% endfor %} -
    -
    -
    - -
    - {{ place.total_year_action }} -
    - -
    - {% if place.foundation_year %} -
    Основано в {{ place.foundation_year }} году
    - {% endif %} -
    - - -
    - {% if place.get_scheme %} -
    -
    -
    Схема павильонов
    -
    -
    - {% endif %} -
    -
    Контактная информация
    -
    -
    -
    {{ place.address.address }}
    - -
    - -
    -
      - {% if place.phone %} -
    • {{ place.phone|phone }} (телефон)
    • - {% endif %} - {% if place.fax %} -
    • {{ place.fax|phone }} (факс)
    • - {% endif %} -
    -
    - -
    -
    -
    - -
    -
    Список событий
    - -
    - {% if place.get_nearest_places %} -
    -
    Ближайшие выставочные центры
    - -
    - {% endif %} -{% endblock %} \ No newline at end of file diff --git a/templates/client/place_catalog.html b/templates/client/place_catalog.html deleted file mode 100644 index d5a2735d..00000000 --- a/templates/client/place_catalog.html +++ /dev/null @@ -1,70 +0,0 @@ -{% extends 'base_catalog.html' %} -{% load static %} -{% load i18n %} - -{% block content_bread_scrumbs %} - -{% endblock %} - -{% block page_title %} -

    Места:

    -{% endblock %} -{% block content_list %} - -{% endblock %} diff --git a/templates/client/place_catalog_test.html b/templates/client/place_catalog_test.html deleted file mode 100644 index e7edb9c7..00000000 --- a/templates/client/place_catalog_test.html +++ /dev/null @@ -1,28 +0,0 @@ -{% extends 'base_catalog.html' %} -{% load static %} -{% load i18n %} -{% load template_filters %} - -{% if single_page %} - {% block title %} {{ object_list.0.name|safe }} {% endblock %} - {% block keywords %} {{ object_list.0.keywords }} {% endblock %} - {% block descriptions %} {{ object_list.0.descriptions }} {% endblock %} -{% endif %} - -{% block content_list %} - {% if object_list %} - {% if single_page %} - {% with place=object_list.0 %} - {% include 'includes/place/place_object.html' %} - {% endwith %} - {% else %} - {% with object_list=object_list %} - {% include 'includes/place/place_list.html' %} - {% endwith %} - {% endif %} - - {% else %} -

    Nothing found

    - {% endif %} - -{% endblock %} \ No newline at end of file diff --git a/templates/client/popups/auto_banner.html b/templates/client/popups/auto_banner.html deleted file mode 100644 index 8f8a7e69..00000000 --- a/templates/client/popups/auto_banner.html +++ /dev/null @@ -1,8 +0,0 @@ - diff --git a/templates/client/popups/auto_modal.html b/templates/client/popups/auto_modal.html deleted file mode 100644 index efc38881..00000000 --- a/templates/client/popups/auto_modal.html +++ /dev/null @@ -1,23 +0,0 @@ - - - diff --git a/templates/client/popups/cemat_banner1.html b/templates/client/popups/cemat_banner1.html deleted file mode 100644 index 5afc9aed..00000000 --- a/templates/client/popups/cemat_banner1.html +++ /dev/null @@ -1,8 +0,0 @@ - \ No newline at end of file diff --git a/templates/client/popups/cemat_banner2.html b/templates/client/popups/cemat_banner2.html deleted file mode 100644 index e80c0ce2..00000000 --- a/templates/client/popups/cemat_banner2.html +++ /dev/null @@ -1,8 +0,0 @@ - \ No newline at end of file diff --git a/templates/client/popups/cemat_modal.html b/templates/client/popups/cemat_modal.html deleted file mode 100644 index d6c437d9..00000000 --- a/templates/client/popups/cemat_modal.html +++ /dev/null @@ -1,24 +0,0 @@ - - diff --git a/templates/client/seminar.html b/templates/client/seminar.html deleted file mode 100644 index 3dcf4e83..00000000 --- a/templates/client/seminar.html +++ /dev/null @@ -1,282 +0,0 @@ -{% extends 'base_catalog.html' %} -{% load static %} -{% load i18n %} - -{% block title %} {{ seminar.title }} {% endblock %} -{% block keywords %} {{ seminar.keywords }} {% endblock %} -{% block descriptions %} {{ seminar.descriptions }} {% endblock %} - - -{% block content_bread_scrumbs %} - -{% endblock %} - -{% block page_title %} -{% endblock %} - -{% block page_filter %} -{% endblock %} - -{% block page_body %} -
    -
    - - -
    -
    -
    - {{ seminar.main_title|safe }} -
    -
    - -
    - {% trans 'с' %}{{ seminar.data_begin }} {% trans 'по' %} {{ seminar.data_end }} -
    - -
    -
    -
    - {{ seminar.address.address }} -
    - -
    - - -
    -
    - -
    -
    -
    - -
    - -
    - {% for tag in seminar.tag.all %} - {{ tag }}, - {% endfor %} -
    -
    -
    -
    - -
    -
      - {% for service in seminar.service.all %} -
    • {{ service }}
    • - {% endfor %} -
    -
    - -
    -
    {% trans 'Посетить семинар' %}
    - -
    - {% if seminar.get_photos %} -
    - -
    - - -
    - {% endif %} - -
    -
    {{ seminar.main_title|safe }}
    -
    {{ seminar.description|safe }}
    -
    -
    -
    -
    {% trans 'Дополнительная информация' %}
    - -
    -
    {% trans 'Организатор' %}:
    -
    - {{ seminar.organiser.0 }}
    - {{ seminar.organiser.0.web_page }}
    - {{ seminar.organiser.0.email }} -
    - -
    {% trans 'Веб-сайт' %}:
    -
    - {{ seminar.web_page }} -
    - -
    {% trans 'Аудитория' %}:
    -
    - {{ seminar.get_audience }} -
    - -
    {% trans 'Периодичность' %}:
    -
    {{ seminar.get_periodic }}
    - -
    {% trans 'Экспонируемые продукты' %}:
    -
    {{ seminar.products|safe }}
    - -
    - -
    - {% if seminar.company.all %} -
    -
    -
    -
    -
    {% trans 'Участники' %}
    - {% trans 'Все участники' %} -
    - -
    - -
    -
    -
    {% trans 'Посетители' %}
    -
    -
      - {% for user in seminar.users.all|slice:":17" %} -
    • {{ user }}
    • - {% endfor %} -
    - {% trans 'Все посетители' %} -
    -
    - {% endif %} - -
    - - -
    -
    -
    {% trans 'Ближайшие выставки по тематике' %} «{{ seminar.theme.all.0 }}»
    -
      - {% for exp in seminar.get_nearest_events %} -
    • -
      - -
      - -
      -
      -
      -
      - {% if exp.approved %} -
      - -
      - {% endif %} -
      - -
      - -
      - {{ exp.main_title }} -
      - -
      -
      {% trans 'с' %} {{ exp.data_begin }} {% trans 'по' %} {{ exp.data_end }}
      -
      - {{ exp.country }}, {{ exp.city }} - {% if exp.place %} - , {{ exp.place }} - {% endif %} -
      -
      -
      -
      -
      -
    • - {% endfor %} -
    -
    -
    - -{% endblock %} \ No newline at end of file diff --git a/templates/client/test_list.html b/templates/client/test_list.html deleted file mode 100644 index 08fdcb5e..00000000 --- a/templates/client/test_list.html +++ /dev/null @@ -1,3 +0,0 @@ -{% load template_filters %} -{{ filter}}
    - {{ object_list.0 }} diff --git a/templates/client/test_plugin.html b/templates/client/test_plugin.html deleted file mode 100644 index d6ab9a72..00000000 --- a/templates/client/test_plugin.html +++ /dev/null @@ -1,25 +0,0 @@ -{% extends 'base_catalog.html' %} -{% load static %} - - -{% block style %} - -{% endblock %} - -{% block scripts %} - - - - -{% endblock %} - -{% block content_list %} -
    - - -
    -
    - -
    - -{% endblock %} diff --git a/templates/client/webinar.html b/templates/client/webinar.html deleted file mode 100644 index 6e461b2a..00000000 --- a/templates/client/webinar.html +++ /dev/null @@ -1,237 +0,0 @@ -{% extends 'base_catalog.html' %} -{% load static %} -{% load i18n %} - -{% block title %} {{ webinar.title }} {% endblock %} -{% block keywords %} {{ webinar.keywords }} {% endblock %} -{% block descriptions %} {{ webinar.descriptions }} {% endblock %} - - -{% block content_bread_scrumbs %} - -{% endblock %} - -{% block page_title %} -{% endblock %} - -{% block page_filter %} -{% endblock %} - -{% block page_body %} -
    -
    - - -
    -
    -
    - {{ webinar.main_title|safe }} -
    -
    - -
    - {{ webinar.data_begin }} -
    - -
    - -
    -
    -
    - -
    - -
    - {% for tag in webinar.tag.all %} - {{ tag }}, - {% endfor %} -
    -
    -
    -
    - -
    -
      - {% for service in webinar.service.all %} -
    • {{ service }}
    • - {% endfor %} -
    -
    - -
    -
    {% trans 'Посетить вебинар' %}
    - -
    - {% if webinar.get_photos %} -
    - -
    - - -
    - {% endif %} - -
    -
    {{ webinar.main_title|safe }}
    -
    {{ webinar.description|safe }}
    -
    -
    -
    -
    {% trans 'Дополнительная информация' %}
    - -
    -
    {% trans 'Организатор' %}:
    -
    - {{ webinar.organiser.0 }}
    - {{ webinar.organiser.0.web_page }}
    - {{ webinar.organiser.0.email }} -
    - -
    {% trans 'Веб-сайт' %}:
    -
    - {{ webinar.web_page }} -
    - -
    - -
    - {% if webinar.company.all %} -
    -
    -
    -
    -
    {% trans 'Участники' %}
    - {% trans 'Все участники' %} -
    - -
    - -
    -
    -
    {% trans 'Посетители' %}
    -
    -
      - {% for user in webinar.users.all|slice:":17" %} -
    • {{ user }}
    • - {% endfor %} -
    - {% trans 'Все посетители' %} -
    -
    - {% endif %} - -
    - -
    -
    -
    {% trans 'Ближайшие вебинары по тематике' %} «{{ webinar.theme.all.0 }}»
    -
      - {% for exp in webinar.get_nearest_events %} -
    • -
      - -
      - -
      -
      -
      -
      - {% if exp.approved %} -
      - -
      - {% endif %} -
      - -
      - -
      - {{ exp.main_title }} -
      - -
      -
      {{ exp.data_begin }}
      -
      -
      -
      -
      -
    • - {% endfor %} -
    -
    -
    - -{% endblock %} \ No newline at end of file diff --git a/templates/done.html b/templates/done.html deleted file mode 100644 index 1f404dc1..00000000 --- a/templates/done.html +++ /dev/null @@ -1 +0,0 @@ -{{form_data}} \ No newline at end of file