diff --git a/requirements.txt b/requirements.txt index 3242a50..acae9ed 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,6 @@ djangocms-installer djangocms_text_ckeditor git+https://github.com/fefa4ka/aldryn-people -aldryn-newsblog easy_thumbnails django-appconf vobject diff --git a/zsite/locale/ru/LC_MESSAGES/django.mo b/zsite/locale/ru/LC_MESSAGES/django.mo index 279314d..a12fc98 100644 Binary files a/zsite/locale/ru/LC_MESSAGES/django.mo and b/zsite/locale/ru/LC_MESSAGES/django.mo differ diff --git a/zsite/locale/ru/LC_MESSAGES/django.po b/zsite/locale/ru/LC_MESSAGES/django.po index 1d051b7..9da0e17 100644 --- a/zsite/locale/ru/LC_MESSAGES/django.po +++ b/zsite/locale/ru/LC_MESSAGES/django.po @@ -44,8 +44,8 @@ msgid "Protection of intellectual property" msgstr "Защита интеллектуальной собственности" #: zsite/templates/base.html:31 -msgid "London" -msgstr "Лондон" +msgid "Moscow" +msgstr "Москва" #: zsite/templates/base.html:33 msgid "Free Consultation" diff --git a/zsite/settings.py b/zsite/settings.py index 8db0c56..754d905 100644 --- a/zsite/settings.py +++ b/zsite/settings.py @@ -180,25 +180,44 @@ INSTALLED_APPS = ( 'pipeline', 'zsite', - # Newsblog - 'aldryn_common', - 'aldryn_apphooks_config', - 'aldryn_boilerplates', - 'aldryn_categories', - 'aldryn_newsblog', + # People 'aldryn_people', - 'aldryn_reversion', 'easy_thumbnails', 'filer', 'parler', 'sortedm2m', + + # 'easy_thumbnails', + 'cmsplugin_filer_image', + # 'parler', 'taggit', + 'taggit_autosuggest', + 'django_select2', + 'meta', + 'meta_mixin', + 'admin_enhancer', + 'djangocms_blog', 'aldryn_bootstrap3', - 'debug_toolbar', + # 'debug_toolbar', ) +SOUTH_MIGRATION_MODULES = { + 'easy_thumbnails': 'easy_thumbnails.south_migrations', + 'taggit': 'taggit.south_migrations', +} + +META_SITE_PROTOCOL = 'http' +META_USE_SITES = True + +PARLER_LANGUAGES = { + 1: ( + {'code': 'en',}, + {'code': 'ru',}, + ), +} + ALDRYN_BOILERPLATE_NAME = 'bootstrap3' THUMBNAIL_PROCESSORS = ( @@ -208,6 +227,7 @@ THUMBNAIL_PROCESSORS = ( 'filer.thumbnail_processors.scale_and_crop_with_subject_location', 'easy_thumbnails.processors.filters', 'easy_thumbnails.processors.background', + ) LANGUAGES = ( @@ -269,5 +289,7 @@ MIGRATION_MODULES = { 'djangocms_file': 'djangocms_file.migrations_django', 'djangocms_picture': 'djangocms_picture.migrations_django', 'djangocms_teaser': 'djangocms_teaser.migrations_django', - 'djangocms_video': 'djangocms_video.migrations_django' + 'djangocms_video': 'djangocms_video.migrations_django', + 'cmsplugin_filer_image': 'cmsplugin_filer_image.migrations_django' + } diff --git a/zsite/static/less/about.less b/zsite/static/less/about.less new file mode 100644 index 0000000..77f913d --- /dev/null +++ b/zsite/static/less/about.less @@ -0,0 +1,25 @@ +.about-map { + position: absolute; + z-index: 0; + width: 65%; + margin-left: 35%; + margin-top: -10%; + + img { + width: 100%; + } +} + +.about-videos { + li { + width: 165px; + margin-right: 2%; + vertical-align: top; + + font-size: 12px; + + .plugin_video { + margin-bottom: 8px; + } + } +} \ No newline at end of file diff --git a/zsite/static/less/footer.less b/zsite/static/less/footer.less index d67ef33..9c506ad 100644 --- a/zsite/static/less/footer.less +++ b/zsite/static/less/footer.less @@ -25,7 +25,9 @@ footer { } .about { - .make-xs-column(2); + .make-xs-column(4); + .make-sm-column(3); + .make-md-column(2); margin-top: -10px; @@ -44,7 +46,7 @@ footer { } .menu { - .make-xs-column(4); + .make-xs-column(5); h5 { margin-top: 6px; @@ -57,10 +59,19 @@ footer { } .contacts { - .make-xs-column(2); + .make-sm-column(3); + .make-md-column(2); - margin-top: 39px; + @media (min-width: 0px) { + display: none; + } + @media (min-width: 530px) { + display: block; + } + + margin-top: 39px; + li { margin-bottom: 10px; } diff --git a/zsite/static/less/header.less b/zsite/static/less/header.less index efd3608..72c9562 100644 --- a/zsite/static/less/header.less +++ b/zsite/static/less/header.less @@ -26,8 +26,15 @@ .header-contacts { .make-lg-column(4); .make-md-column(4); - .make-sm-column(6); .make-xs-column(6); + + @media (min-width: 0px) { + display: none; + } + + @media (min-width: 530px) { + display: block; + } text-align: right; diff --git a/zsite/static/less/main.less b/zsite/static/less/main.less index 5f4619c..0060915 100644 --- a/zsite/static/less/main.less +++ b/zsite/static/less/main.less @@ -10,6 +10,8 @@ @import 'people.less'; +@import 'about.less'; + @import url(http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic|Roboto+Slab:700,400&subset=cyrillic-ext,latin); diff --git a/zsite/static/less/variables.less b/zsite/static/less/variables.less index 3a43e66..eff1ddc 100644 --- a/zsite/static/less/variables.less +++ b/zsite/static/less/variables.less @@ -9,8 +9,8 @@ // @font-size-h1: floor((@font-size-base * 2.6)); // ~36px // @font-size-h2: floor((@font-size-base * 2.15)); // ~30px -@font-size-h1: ceil((@font-size-base * 1.7));// ~24px -@font-size-h2: @font-size-h1; +@font-size-h1: ceil((@font-size-base * 1.7)); // ~24px +@font-size-h2: ceil((@font-size-base * 1.4)); // ~22px @font-size-h3: ceil((@font-size-base * 1.55)); // ~22px @font-size-h4: ceil((@font-size-base * 1.25)); // ~18px @font-size-h5: @font-size-base; diff --git a/zsite/templates/base.html b/zsite/templates/base.html index 4b474fe..7d26a9e 100644 --- a/zsite/templates/base.html +++ b/zsite/templates/base.html @@ -28,7 +28,7 @@
{% trans 'London' %}
+{% trans 'Moscow' %}