diff --git a/project/customer/forms.py b/project/customer/forms.py index dcd343f..8b6849e 100644 --- a/project/customer/forms.py +++ b/project/customer/forms.py @@ -429,7 +429,7 @@ class LicenseForm(forms.Form): """Форма продления лицензии """ term = forms.ModelChoiceField(queryset=models.LicensePrice.objects.all(), - widget=forms.RadioSelect, label=u'срок оплаты', empty_label = None) + widget=forms.RadioSelect, label=u'Срок лицензии', empty_label = None) payform = forms.ChoiceField(choices=consts.PAYFORMS[1:], widget=forms.RadioSelect, - label=u'форма оплаты') + label=u'Форма оплаты') diff --git a/project/static/css/style.css b/project/static/css/style.css index 2457c7a..e4a59aa 100644 --- a/project/static/css/style.css +++ b/project/static/css/style.css @@ -593,3 +593,20 @@ tr.doc-row:hover {cursor:pointer;} #blackbox .bb-triangle {background: url(../img/triangle2.png) no-repeat center center;width:11px;height:25px;position:absolute;left:-8px;top:16px;} #blackbox p {margin:0;padding:0;} #blackbox a {color:#fff;font-weight:bold;margin: 10px 0 0 0; display:block;} + +.license_label {float:left;width:130px;font-size:14px;height:36px;line-height:36px;} +.license_field {float:left;width:380px;} +.license-form {width:535px;float:left;} +.license-form .buttons {padding:10px;} +.license-form .field {padding:10px;} +.license-form .field.orange_border {border: solid 1px #fed13e;position:relative;} +.license-form .field.grey_border {border: solid 1px #9d9d9d;border-top:none;background:#faf9f9;position:relative;} +.license-form input[type=submit]{border:none;background:url(../img/gotopay.png)center center no-repeat;width:145px;height:145px;margin:0 auto; display:block;} +.orange-bottom-triangle {width:100%;height:20px;background:url(../img/triangle-orange-bottom.png)center center no-repeat;margin-top:-1px;position:absolute;top:0;left:0;} +.grey-bottom-triangle {width:100%;height:20px;background:url(../img/triangle-grey-bottom.png)center center no-repeat;margin-top:-1px;position:relative;} +.license-ways {width:585px;} +.license-ways .title {font-family:"MyriadPro-Light";font-size:21px;color:#313942;} +.license-ways .col-title {font-size:13px;font-style:italic;padding-top:13px;padding-bottom:3px;} +.license-ways .col {width:200px;} +.license-ways .mr-5 {margin-right:5px;} +.license-ways .col-last {width:185px;} diff --git a/project/static/img/gotopay.png b/project/static/img/gotopay.png new file mode 100644 index 0000000..98953d6 Binary files /dev/null and b/project/static/img/gotopay.png differ diff --git a/project/static/img/lic-empty.png b/project/static/img/lic-empty.png new file mode 100644 index 0000000..de49427 Binary files /dev/null and b/project/static/img/lic-empty.png differ diff --git a/project/static/img/lic-es.png b/project/static/img/lic-es.png new file mode 100644 index 0000000..bc5be49 Binary files /dev/null and b/project/static/img/lic-es.png differ diff --git a/project/static/img/lic-mc.png b/project/static/img/lic-mc.png new file mode 100644 index 0000000..021ab9f Binary files /dev/null and b/project/static/img/lic-mc.png differ diff --git a/project/static/img/lic-mf.png b/project/static/img/lic-mf.png new file mode 100644 index 0000000..63ba8f8 Binary files /dev/null and b/project/static/img/lic-mf.png differ diff --git a/project/static/img/lic-mts.png b/project/static/img/lic-mts.png new file mode 100644 index 0000000..09f9bd8 Binary files /dev/null and b/project/static/img/lic-mts.png differ diff --git a/project/static/img/lic-svz.png b/project/static/img/lic-svz.png new file mode 100644 index 0000000..0a03991 Binary files /dev/null and b/project/static/img/lic-svz.png differ diff --git a/project/static/img/lic-visa.png b/project/static/img/lic-visa.png new file mode 100644 index 0000000..26b4c14 Binary files /dev/null and b/project/static/img/lic-visa.png differ diff --git a/project/static/img/lic-wm.png b/project/static/img/lic-wm.png new file mode 100644 index 0000000..5108857 Binary files /dev/null and b/project/static/img/lic-wm.png differ diff --git a/project/static/img/triangle-grey-bottom.png b/project/static/img/triangle-grey-bottom.png new file mode 100644 index 0000000..14c4d64 Binary files /dev/null and b/project/static/img/triangle-grey-bottom.png differ diff --git a/project/static/img/triangle-orange-bottom.png b/project/static/img/triangle-orange-bottom.png new file mode 100644 index 0000000..4190309 Binary files /dev/null and b/project/static/img/triangle-orange-bottom.png differ diff --git a/project/templates/customer/profile/license.html b/project/templates/customer/profile/license.html index 549e36f..65e4d65 100644 --- a/project/templates/customer/profile/license.html +++ b/project/templates/customer/profile/license.html @@ -9,6 +9,7 @@

{{ form.non_field_errors }}

{% endif %} +
{% csrf_token %} @@ -16,23 +17,91 @@ {{ hidden }} {% endfor %} - {% for field in form.visible_fields %} -
-
- {{ field.label_tag }}: -
-
- {{ field }} - {{ field.errors }} -
-
+
+
+ {{ form.term.label_tag }}
- {% endfor %} +
+
+
+
+ {{ form.term }} + {{ field.errors }} +
+
+
+
+
+
+ {{ form.payform.label_tag }} +
+
+
+
+
+ {{ field }} + {{ form.payform }} +
+
+
+
- +
+
+
+ Во всех городах России и стран СНГ вы можете оплатить лицензию Документора одним из десятков возможных способов: +
+
+
Банковской картой
+
+
+
+
Электронными деньгами
+
+
+
+
+
Наличными в магазинах
+
+
+
+
Наличными в терминалах
+
+
+
+
+
+
+
+
Через банкоматы
+
+
+
+
+
+
Со счёта телефона
+
+
+
+
Через интернет-банк
+
+
+
+
+
+
+
+
Денежным переводом
+
+
+
+
+
+
+
{% endblock %} {% block js %}