master
fefa4ka 11 years ago
parent 04102d7a09
commit 198a6a8b99
  1. BIN
      zsite/locale/ru/LC_MESSAGES/django.mo
  2. 44
      zsite/locale/ru/LC_MESSAGES/django.po
  3. 3
      zsite/settings.py
  4. 82
      zsite/static/less/main.less
  5. 22
      zsite/templates/base.html

@ -0,0 +1,44 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: 0.10\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-07-06 10:23+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Alexander Kondratev <alex@nder.so>\n"
"Language-Team: Zuykov and partners\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#: zsite/templates/base.html:28
msgid "Protection of intellectual property"
msgstr "Защита интеллектуальной собственности"
#: zsite/templates/base.html:35
msgid "London"
msgstr "Лондон"
#: zsite/templates/base.html:37
msgid "Free Consultation"
msgstr "Бесплатная консультация"
#: zsite/templates/base.html:39
msgid "Callback"
msgstr "Обратный звонок"
#: zsite/templates/base.html:47
msgid "Our Services"
msgstr "Наши сервисы"
#: zsite/templates/language_chooser.html:6
msgid "Change to language:"
msgstr "Изменить язык на:"

@ -185,6 +185,9 @@ LANGUAGES = (
('en', u'English'),
)
LOCALE_PATHS = (
BASE_DIR + '/zsite/locale', )
CMS_LANGUAGES = {
## Customize this
'default': {

@ -2,17 +2,99 @@
@import 'grid.less';
@import url(http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic);
@import url(http://fonts.googleapis.com/css?family=Roboto+Slab);
@font-family-sans-serif: "PT Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
@font-family-serif: Georgia, "Times New Roman", Times, serif;
@font-family-monospace: 'Roboto Slab', Menlo, Monaco, Consolas, "Courier New", monospace;
@font-family-base: @font-family-sans-serif;
.wrapper {
.make-row();
margin-top: 10px;
margin-bottom: -10px;
}
.header-logo {
.make-lg-column(8);
.slogan {
position: absolute;
top: 58px;
left: 176px;
width: 160px;
opacity: 0.5;
line-height: 17px;
}
}
.header-contacts {
.make-lg-column(3);
.make-lg-column-offset(1);
text-align: right;
margin-top: -4px;
ul {
margin-right: -5px;
margin-bottom: 0;
}
p {
margin: 0;
}
}
.consultation {
h5 {
opacity: 0.5;
margin-bottom: 3px;
margin-top: 0;
}
h3 {
margin: 0;
}
button {
margin-bottom: 5px;
}
}
.logo {
height: 100px;
}
.background-line-pattern {
background: url('/static/imgs/pattern.svg');
opacity: 0.06;
width: 100%;
height: 28px;
position: absolute;
z-index: -1;
left: 0;
}
.menu-header {
font-family: 'Roboto Slab';
}
.menu {
font-family: 'Roboto Slab';
font-size: 16px;
li {
margin-top: 1px;
margin-right: 35px;
}
}

@ -25,15 +25,31 @@
{% endwith %}
">
</a>
<h5 class="slogan">{% trans 'Protection of intellectual property' %}</h5>
</div>
<div class="header-contacts">
{% language_chooser 'language_chooser.html' %}
<a href="{% page_url "about" %}">{% page_attribute "page_title" "about" %}</a>
<ul class="list-unstyled list-inline">
<li>{% language_chooser 'language_chooser.html' %}</li>
<li><a href="{% page_url "about" %}">{% page_attribute "page_title" "about" %}</a></li>
</ul>
<p class="city">{% trans 'London' %}</p>
<div class="consultation">
<h5>{% trans 'Free Consultation' %} </h5>
<h3>+7 800 700-16-37</h3>
<button type="button" class="btn btn-default btn-xs">{% trans 'Callback' %}</button>
<div class="email">
<a href="mailto:info@zuykov.{% if current_language == "ru" %}ru{% else %}com{% endif %}">info@zuykov.{% if current_language == "ru" %}ru{% else %}com{% endif %}</a>
</div>
</div>
</div>
</div>
<ul class="list-unstyled menu">
<h4 class="menu-header">{% trans 'Our Services' %}</h4>
<div class="background-line-pattern"></div>
<ul class="list-unstyled list-inline menu">
{% show_menu 0 1 100 100 "menu.html" %}
</ul>
{% block content %}{% endblock content %}
</div>
{% render_block "js" %}

Loading…
Cancel
Save