From bbf786ccf541087e250e2229eee06ba895611b53 Mon Sep 17 00:00:00 2001 From: fefa4ka Date: Mon, 26 Oct 2015 00:38:04 +0300 Subject: [PATCH] goals --- app/conf/nginx.conf.template | 8 +++----- zsite/static/less/footer.less | 2 +- zsite/templates/form_template/consultation.html | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/app/conf/nginx.conf.template b/app/conf/nginx.conf.template index c9f76e3..a2fcd54 100644 --- a/app/conf/nginx.conf.template +++ b/app/conf/nginx.conf.template @@ -26,9 +26,9 @@ map $request_uri $new_uri { /courts/zashchita-osparivanie-patenta/ http://zuykov.com/ru/courts/zashita-prav-na-patent/; /intellect_protection/ http://zuykov.com/ru/copyright/copyright-theory/copyright-origin/; /internet_defence/ http://zuykov.com/ru/copyright/copyright-theory/copyright-origin/; - /patents/patents-industrial_samples/ http://zuykov.com/ru/patents/patentovanie-izobretenij-i-poleznyh-modelej/; + /patents/patents-industrial_samples/ http://zuykov.com/ru/design-patents/patentovanie-dizajna-i-promyshlennyh-obrazcov/; /patents/patents-inventions/ http://zuykov.com/ru/patents/patentovanie-izobretenij-i-poleznyh-modelej/; - /patents/patents-useful_models/ http://zuykov.com/ru/design-patents/patentovanie-izobretenij-i-poleznyh-modelej/; + /patents/patents-useful_models/ http://zuykov.com/ru/patents/patentovanie-izobretenij-i-poleznyh-modelej/; /spory_v_sude/ http://zuykov.com/ru/trademarks/theory/zachem-registrirovat-tovarnyj-znak/; /trademark_defence/ http://zuykov.com/ru/trademarks/theory/zachem-registrirovat-tovarnyj-znak/; /trademarks/brand_registration/ http://zuykov.com/ru/trademarks/registraciya-tovarnogo-znaka/; @@ -140,9 +140,7 @@ server { location / { - if ($http_referer !~ "^https?://([^/]+metrika.*yandex\.(ru|ua|com|com\.tr|by|kz)|([^/]+\.)?webvisor\.com)/"){ - add_header X-Frame-Options SAMEORIGIN; - } + uwsgi_pass django_zuykov; include /home/%(SERVER_USERNAME)s/%(PROJECT_NAME)s/app/conf/uwsgi_params; diff --git a/zsite/static/less/footer.less b/zsite/static/less/footer.less index 83d81d3..1d32d11 100644 --- a/zsite/static/less/footer.less +++ b/zsite/static/less/footer.less @@ -15,7 +15,7 @@ footer { a { color: #000000; - text-decoration: underline; + text-decoration: none; } li.active { diff --git a/zsite/templates/form_template/consultation.html b/zsite/templates/form_template/consultation.html index 4141527..7afbd76 100644 --- a/zsite/templates/form_template/consultation.html +++ b/zsite/templates/form_template/consultation.html @@ -14,7 +14,7 @@ {% endif %}
-
+ {% for field in form.visible_fields %}