From d74af1275a4c7fff5c12f67f3c27d3ff03491a4f Mon Sep 17 00:00:00 2001 From: apache Date: Sat, 6 Jun 2015 00:44:49 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D1=81?= =?UTF-8?q?=20=D1=81=D0=B5=D1=80=D0=B2=D0=B5=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/static/css/style.css | 40 ++++++++++++------ project/static/img/icon-add.png | Bin 3218 -> 3213 bytes .../templates/customer/clients/list_item.html | 4 +- project/templates/customer/profile/edit.html | 6 +-- project/templates/myauth/delete_profile.html | 8 +++- 5 files changed, 37 insertions(+), 21 deletions(-) diff --git a/project/static/css/style.css b/project/static/css/style.css index eb55c7f..aff07ac 100644 --- a/project/static/css/style.css +++ b/project/static/css/style.css @@ -273,10 +273,16 @@ ul.messagelist li.error { background-image: url(../img/icon-error.gif); } .ui-dialog .save_btn:hover {display:inline;font-family:"Arial Narrow", Arial, sans-serif;font-size:22px;text-transform:uppercase;font-weight:bold;border:none;width:215px;height:72px;background:#ffca3e;border-radius:0;} .ui-dialog .save_btn span {width:215px;display:table-cell;vertical-align:middle;text-align:right;text-transform:uppercase;text-decoration:none;font-size:22px;color:#4e5661;} .ui-dialog .cancel_btn {display:inline;font-family:"Arial Narrow", Arial, sans-serif;font-weight:bold;border:none;width:120px;height:72px;background:none;border-radius:0;} -.ui-dialog .cancel_btn span {width:215px;display:table-cell;vertical-align:middle;text-align:center;text-decoration:underline;font-size:14px;color:#498dd0;font-weight:normal;} -.ui-dialog .cancel_btn span:hover {width:215px;display:table-cell;vertical-align:middle;text-align:center;text-decoration:none;font-size:14px;color:#498dd0;font-weight:normal;} - -.client-edit-form_dlg .save_btn span {background:url(../img/save.png) no-repeat 20px top;} +.ui-dialog .cancel_btn span {width:215px;display:table-cell;vertical-align:middle;text-align:center;text-decoration:none;color:#646669;font-weight:normal;display: inline; + font-family: "Arial Narrow", Arial, sans-serif; + font-size: 22px; + text-transform: uppercase; + padding: 25px; + border: none; + cursor: pointer; + background:#f8f8f8;} +.ui-dialog .cancel_btn span:hover {background:#dddddd;} +.client-edit-form_dlg .save_btn span {background:url(../img/save.png) no-repeat 30px;} .yellow-btn {color:#4e5661;background:#fed13e;} .btn {display:inline-block;font-family:"Arial Narrow", Arial, sans-serif;font-size:22px;text-transform:uppercase;font-weight:bold;border:none;height:72px;background:#fed13e;border-radius:0;} .btn:hover {display:inline-block;font-family:"Arial Narrow", Arial, sans-serif;font-size:22px;text-transform:uppercase;font-weight:bold;border:none;height:72px;background:#ffca3e;border-radius:0;} @@ -299,7 +305,8 @@ form label {font-style:italic;} .form-field: {width:210px;} input, select, textarea { font-family: Arial,Helvetica,sans-serif;background:#f8f8f8;} - +.buttons input {display:inline;font-family:"Arial Narrow", Arial, sans-serif;font-size:22px;text-transform:uppercase;padding:25px;border:none;cursor: pointer;} +.buttons input:hover {background:#dddddd;} fieldset { padding: 0 0 10px; border-style: none none solid; @@ -368,7 +375,9 @@ ul { clear: both; list-style: none; margin: 0; padding: 0; } #accounts .main { color: green; font-size: 11px; text-align: center; padding-left: 10px; vertical-align: top; } .add-link, .add-row {background: url(../img/icon-add.png) no-repeat right;padding: 0 25px 0 0;line-height: 22px;display: inline-block;} -.add-link {} +.add-link, .add-row:hover {background: url(../img/icon-add.png) no-repeat right;padding: 0 25px 0 0;line-height: 22px;display: inline-block;} +.add-client-link {background: url(../img/icon-add.png) no-repeat right;padding: 0 25px 0 0;line-height: 22px;display: inline-block;} +.add-client-link:hover {background: url(../img/icon-add.png) no-repeat right;padding: 0 25px 0 0;line-height: 22px;display: inline-block;} .add-row {margin-top:4px;} .edit-link a, .delete-link a { text-decoration: none; } @@ -382,7 +391,7 @@ ul { clear: both; list-style: none; margin: 0; padding: 0; } .doc-panel a.invoice-add-doc {background:url(../img/sign-add.png)left center no-repeat;} .doc-panel a.email-link {background:url(../img/sign-email.png)left center no-repeat;} .doc-panel a.edit-link {background:url(../img/sign-edit.png)left center no-repeat;} -.doc-panel a.delete-link {background:url(../img/icon-delete.png)7px center no-repeat;} +.doc-panel a.delete-link {background:url(../img/icon-delete.png)7px center no-repeat; width: 200px;} .doc-panel .doc-panel-header {background:#f7f7f7;padding:5px 18px;font-size:16px;} .doc-panel .doc-panel-header:first-child {border-bottom:1px solid #dedede;} .preview-col2 .doc-panel {box-sizing:border-box;} @@ -476,16 +485,18 @@ a.delete { vertical-align: top; } .doc-form table.doc-list.dover td.qty input[type=text] { width: 96px; } .doc-form table.doc-list.dover td.units input[type=text] { width: 96px; } -.doc-form .buttons input[name=submit] {cursor:pointer;padding:10px 40px 10px 75px;background:url(../img/save.png) no-repeat left 30px center #fed13e;color:#4e5661;font-weight:normal;font-family:"Arial Narrow", Arial, sans-serif;} -.doc-form .buttons input[name=submit]:hover {padding:10px 40px 10px 75px;background:url(../img/save.png) no-repeat left 30px center #ffca3e;color:#4e5661;font-weight:normal;font-family:"Arial Narrow", Arial, sans-serif;} -#add-new {text-decoration: none;text-transform: uppercase;font-size: 22px;padding:10px 40px 10px 75px;background:url(../img/add-new.png) no-repeat left 30px center #fed13e;color:#4e5661;font-weight:normal;font-family:"Arial Narrow", Arial, sans-serif;} -#add-new:hover {text-decoration: none;text-transform: uppercase;font-size: 22px;padding:10px 40px 10px 75px;background:url(../img/add-new.png) no-repeat left 30px center #ffca3e;color:#4e5661;font-weight:normal;font-family:"Arial Narrow", Arial, sans-serif;} +.doc-form .buttons input[name=submit] {cursor:pointer;padding:25px 15px 25px 65px;background:url(../img/save.png) no-repeat left 25px center #fed13e;color:#4e5661;font-family:"Arial Narrow", Arial, sans-serif;} +.doc-form .buttons input[name=submit]:hover {padding:25px 15px 25px 65px;background:url(../img/save.png) no-repeat left 25px center #ffca3e;color:#4e5661;font-family:"Arial Narrow", Arial, sans-serif;} +#add-new {text-decoration: none;text-transform: uppercase;font-size: 22px;padding:10px 40px 10px 75px;background:url(../img/add-new.png) no-repeat left 30px center #fed13e;color:#4e5661;font-family:"Arial Narrow", Arial, sans-serif;} +#add-new:hover {text-decoration: none;text-transform: uppercase;font-size: 22px;padding:10px 40px 10px 75px;background:url(../img/add-new.png) no-repeat left 30px center #ffca3e;color:#4e5661;font-family:"Arial Narrow", Arial, sans-serif;} .doc-email-form input#id_to { width: 100%;margin-bottom: 10px;font-family: Arial; } .doc-email-form textarea { width: 100%; margin-left: 2px;font-family: Arial; } .doc-email-form #doc_format ul li { display: inline; } .delete-row {display:inline-block;width:21px;height:21px;background:url(../img/close.png) no-repeat center center;opacity:0.5;} .delete-row:hover {display:inline-block;width:21px;height:21px;background:url(../img/close.png) no-repeat center center;opacity:1;} +.delete-link {display:inline-block;width:21px;height:21px;background:url(../img/close.png) no-repeat center center;opacity:0.5;} +.delete-link:hover {display:inline-block;width:21px;height:21px;background:url(../img/close.png) no-repeat center center;opacity:1;} .filters #id_client, .filters #id_invoice { width: 99%; } @@ -554,6 +565,7 @@ div.blockMsg { width: 100%; height: 100%; top: 0; left: 0; text-align: center; } #footer {background:url('../img/footer-bg.jpg')#38424c;height:100px;position: absolute; bottom: 0px; width:100%;z-index:10;} #footer-content {width:1200px;margin:0 auto;} #footer-content a {margin-right: 15px;text-decoration: none;color:#607c99;} +#footer-content a:hover {margin-right: 15px;text-decoration: none;color:#4d94bd;} .footer-text {position:relative;padding:25px 0 10px 0;color:#fff;} #menu {width: 100%;height:50px;position:relative;overflow:visible;} @@ -575,7 +587,7 @@ div.blockMsg { width: 100%; height: 100%; top: 0; left: 0; text-align: center; } #menu .other_docs_menu li:first-child {border-top:none;} #menu .other_docs_menu li a {line-height:50px;padding-left:10px;display:inline-block;width:100%;} -.preview-wrapper {width:1200px;background:url(../img/darker-bg.png);margin-bottom:70px;} +.preview-wrapper {width:1200px;background:#ebebeb;margin-bottom:70px;} .preview {width:785px;height:500px;overflow:scroll;float:left;margin:15px 0 15px 15px;} .list-col1 {float: left; width: 785px;padding-bottom:50px;} .list-col2 {float:left;width:382px;padding: 0; border-left:#dedede 1px solid;} @@ -610,11 +622,11 @@ tr.doc-row:hover {cursor:pointer;} .del_image {display:block;width:27px;height:20px;background:url(../img/icon-delete.png)7px center no-repeat;position:absolute;top:0;right:0;} .del_image.hidden {display:none;} .img_field {position:relative;} -.img_field img{min-height:1px;top:0;bottom:0;left:0;right:0;position:absolute;margin:auto;} +.img_field img{min-height:1px;top:0;bottom:0;left:0;right:0;position:absolute;margin:auto; width: 170px;} .rel {position:relative;} .img_field {border:1px solid #f2f2f2;} .profile_btns {margin: 10px; padding:10px;} -.profile_btns input {display:inline;font-family:"Arial Narrow", Arial, sans-serif;font-size:22px;text-transform:uppercase;font-weight:bold;padding:25px;border:none;cursor: pointer;} +.profile_btns input {display:inline;font-family:"Arial Narrow", Arial, sans-serif;font-size:22px;text-transform:uppercase;padding:25px;border:none;cursor: pointer;} .profile_btns input:hover {background:#dddddd;} .profile_btns .yellow-btn.save {background:#fed13e url(../img/save.png) no-repeat 25px center;padding:25px 15px 25px 60px;cursor: pointer;} .profile_btns .yellow-btn.save:hover {background:#ffca3e url(../img/save.png) no-repeat 25px center;padding:25px 15px 25px 60px;} diff --git a/project/static/img/icon-add.png b/project/static/img/icon-add.png index ab80a2705a6aa4e4bb86e85a5dde373b7438b7c0..7a522321f66b6e5a1dcb5c852d3a14d38a201995 100644 GIT binary patch delta 472 zcmV;}0Vn>F8I2jRzzTo3Nkl3yG+K6aj4&B-)(0!$PspfM1;;5)%lDAm-M>IaprqYD;25l`_PE1;}EmJpRVj|Lv#89s+?7Y={pM3CG@s~6F6T)`dO z^>3WQIb2s(kDv&{FfL;P&00W?jiLWUC-nRHgsWQFin40wk;Vl~CnPY4$037>tr;;F zwX#Nzp&*;-k;0~^TN!$anP|>Xfg^Z`s)yr`5VdC=73OfXz<%5aLxJ7cjNjOUbzwUY ze^uZ+-iOaT&J=&xhOgng1@~|ezk+0at-x#8fR{Li<%r#p`(Kn*g{r_e3WzzTo8Nkl@}(tIw&NH) zdOhE-XJh+xx0-CkL3CpeHs^c}vv`E3_);cSwIW?Oi#FWFb$ow_ZyOGwA181Vlgo+C zqDT*};0canv?wC>XncM0SsaY6Gd_p>tcV$@7TBT4wus6R5NXy!*Hz#bl^d> zqvo4P&H&n)=uEK@|H}Hztt)n2MgmS}g(J9!r4<6dMHSytmN15+753s8Rm=QxJ>{{ obj.contact_phone }} - Редактировать + Редактировать - [X] + diff --git a/project/templates/customer/profile/edit.html b/project/templates/customer/profile/edit.html index 9c734d2..18dc5bb 100644 --- a/project/templates/customer/profile/edit.html +++ b/project/templates/customer/profile/edit.html @@ -368,7 +368,7 @@ {% else %} {% endif %} - {{ form.boss_sign.errors }} +

Подпись руководителя

@@ -383,7 +383,7 @@ {% endif %} - {{ form.glavbuh_sign.errors }} +

Подпись бухгалтера

@@ -412,7 +412,7 @@ -
+
+
+

Неееееееееееет!!!

Пожалуйста, не делайте этого!

Документор вам ещё пригодится.

- +

Ваши документы могут храниться здесь вечно и это абсолютно бесплатно.

Вы сможете скачать их в любое время - как знать, может они понадобятся Вам снова?

+

Если Вы решите вернуться позже, то Вам не придётся повторно указывать свои реквизиты и вносить в систему контрагентов...

Останьтесь, а? ;-)

+
{% endblock %}