From da5d40df8c2f115f613cec25499cdf795eaa6b68 Mon Sep 17 00:00:00 2001 From: fefa4ka Date: Wed, 28 Oct 2015 14:59:39 +0300 Subject: [PATCH] style and analitycs --- .../templates/djangocms_forms/form_template/default.html | 2 +- zsite/static/js/snippets.js | 9 ++++++++- zsite/static/less/header.less | 6 ++++++ zsite/static/less/people.less | 9 ++++++--- zsite/templates/form_template/consultation.html | 2 +- 5 files changed, 22 insertions(+), 6 deletions(-) diff --git a/djangocms_forms/templates/djangocms_forms/form_template/default.html b/djangocms_forms/templates/djangocms_forms/form_template/default.html index 1bb414d..f3b40b7 100644 --- a/djangocms_forms/templates/djangocms_forms/form_template/default.html +++ b/djangocms_forms/templates/djangocms_forms/form_template/default.html @@ -49,7 +49,7 @@ var form = { {% endif %}
-
+ {% for field in form.visible_fields %}
diff --git a/zsite/static/js/snippets.js b/zsite/static/js/snippets.js index 7ef8245..0e6e2ca 100644 --- a/zsite/static/js/snippets.js +++ b/zsite/static/js/snippets.js @@ -20,4 +20,11 @@ GetAdj = function(number, one, two) { number %= 10; if (number == 1) return one; return two; -}; \ No newline at end of file +}; + + +$(function() { + $( "[href^='mailto:info@zuykov.com'" ).click(function() { + yaCounter950321.reachGoal('EmailClick'); + }); +}); \ No newline at end of file diff --git a/zsite/static/less/header.less b/zsite/static/less/header.less index 29f3aff..2651900 100644 --- a/zsite/static/less/header.less +++ b/zsite/static/less/header.less @@ -62,6 +62,8 @@ display: block; } + height: 128px; + text-align: right; margin-top: -4px; @@ -76,6 +78,10 @@ p { margin: 0; } + + .city { + margin-top: 5px; + } } .consultation { diff --git a/zsite/static/less/people.less b/zsite/static/less/people.less index a2114cb..b0be491 100644 --- a/zsite/static/less/people.less +++ b/zsite/static/less/people.less @@ -74,10 +74,13 @@ .header-content { height: 128px; - .btn-consultation:extend(.btn-default, .btn-xs) {} + .btn-consultation:extend(.btn-default, .btn-xs) { + margin-left: -5px; + margin-bottom: 6px; + } .plugin-people-feature { - margin-top: -15px; + margin-top: -20px; width: 400px; @@ -94,7 +97,7 @@ } .people-description { - padding-top: 40px; + padding-top: 43px; font-size: 13px; } diff --git a/zsite/templates/form_template/consultation.html b/zsite/templates/form_template/consultation.html index 7afbd76..e598fbe 100644 --- a/zsite/templates/form_template/consultation.html +++ b/zsite/templates/form_template/consultation.html @@ -60,7 +60,7 @@
- +