PR-63 Иконки на зказе

Поправлены и доработаны иконки на карточке Заказа
remotes/origin/HEAD
booblegum 9 years ago
parent 508f77878a
commit 77f9d55d1c
  1. BIN
      assets/img/icons/icon_edit.png
  2. BIN
      assets/img/icons/icon_restore.png
  3. 6
      projects/templates/partials/inc-projects-results.html
  4. 22
      users/static/sass/customer-profile.sass
  5. 2
      users/templates/partials/inc-objects.html
  6. 22
      users/templates/partials/inc-projects.html
  7. 5
      users/templates/partials/tabs/tab-in_work_projects.html
  8. 4
      users/templates/partials/tabs/tab-open_projects.html

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

@ -55,9 +55,9 @@
</p> </p>
<ul> <ul>
{% if project.secure_deal %} <li {% if not project.secure_deal %}hidden{% endif %}>
<li>Безопасная сделка</li> Безопасная сделка
{% endif %} </li>
<li> <li>
{{ project.specialization.name }} {{ project.specialization.name }}

@ -93,7 +93,7 @@ table.projects
height: 20px height: 20px
background-size: cover background-size: cover
position: relative position: relative
left: -5px left: -10px
.icon-rating .icon-rating
@extend %icons @extend %icons
@ -114,12 +114,28 @@ table.projects
height: 26px height: 26px
background: url('#{$static}/img/rett.png') no-repeat 0 -44px background: url('#{$static}/img/rett.png') no-repeat 0 -44px
.icon-protect .icon-restore
@extend %icons
&:before
width: 26px !important
height: 26px
left: -45px !important
background:
image: url('#{$static}/img/icons/icon_restore.png') !important
repeat: no-repeat
size: 26px 26px
position: 0 0 !important
.icon-edit_list
@extend %icons @extend %icons
&:before &:before
width: 26px width: 26px
height: 26px height: 26px
background: url('#{$static}/img/cenaList.png') no-repeat 0 0 background:
image: url('#{$static}/img/icons/icon_edit.png') !important
repeat: no-repeat
size: 26px 26px
position: 0 0 !important
.icon-trash-red .icon-trash-red
@extend %icons @extend %icons

@ -27,7 +27,7 @@
data-is-team-offer="true" data-is-team-offer="true"
data-toggle="modal" data-toggle="modal"
data-target="#realtyEditModal"> data-target="#realtyEditModal">
<span class="icon-protect">Редактировать</span> <span class="icon-edit_list">Редактировать</span>
</a> </a>
{% endif %} {% endif %}

@ -49,13 +49,14 @@
{% if request.user == proj.customer %} {% if request.user == proj.customer %}
{% if trash %} {% if trash %}
<ul> <ul>
<li> <li class="icon-restore">
<form action="{% url 'projects:customer-project-restore' pk=proj.pk %}" method="POST"> <form action="{% url 'projects:customer-project-restore' pk=proj.pk %}" method="POST">
{% csrf_token %} {% csrf_token %}
<input type="hidden" name="next" value="{{ request.path }}"> <input type="hidden" name="next" value="{{ request.path }}">
<a href='#' onclick="$(this).closest('form').submit(); return false">Восстановить из <a href='#' onclick="$(this).closest('form').submit(); return false">
корзины</a> Восстановить из корзины
</a>
</form> </form>
</li> </li>
@ -64,14 +65,18 @@
{% csrf_token %} {% csrf_token %}
<input type="hidden" name="next" value="{{ request.path }}"> <input type="hidden" name="next" value="{{ request.path }}">
<a href='#' onclick="$(this).closest('form').submit(); return false">Удалить <a href='#' onclick="$(this).closest('form').submit(); return false">
навсегда</a> Удалить навсегда
</a>
</form> </form>
</li> </li>
</ul> </ul>
{% else %} {% else %}
<ul> <ul>
<li> <li {% if not proj.secure_deal %}hidden{% endif %}>
Безопасная сделка
</li>
<li class="icon-edit_list">
<a href='{% url 'projects:customer-project-edit' pk=proj.pk %}?back={{ request.path }}'>Редактировать</a> <a href='{% url 'projects:customer-project-edit' pk=proj.pk %}?back={{ request.path }}'>Редактировать</a>
</li> </li>
@ -82,8 +87,9 @@
<input type="hidden" name="next" <input type="hidden" name="next"
value="{{ request.path }}"> value="{{ request.path }}">
<a href="#" <a href="#"
onclick="$(this).closest('form').submit(); return false">Переместить onclick="$(this).closest('form').submit(); return false">
в корзину</a> Переместитьв корзину
</a>
</form> </form>
</li> </li>
</ul> </ul>

@ -50,7 +50,10 @@
{% if request.user == proj.customer %} {% if request.user == proj.customer %}
<div class="open-projects-div1"> <div class="open-projects-div1">
<ul> <ul>
<li> <li {% if not proj.secure_deal %}hidden{% endif %}>
Безопасная сделка
</li>
<li class="icon-edit_list">
<a href='{% url 'projects:customer-project-edit' pk=proj.pk %}?back={{ request.path }}'>Редактировать</a> <a href='{% url 'projects:customer-project-edit' pk=proj.pk %}?back={{ request.path }}'>Редактировать</a>
</li> </li>

@ -16,10 +16,6 @@
</a> </a>
{% endif %} {% endif %}
</div> </div>
{# <div style="display: inline-block;">#}
{# Filter be here#}
{# </div>#}
<a href="{% url 'projects:customer-project-create' %}" <a href="{% url 'projects:customer-project-create' %}"
style="float: right; letter-spacing: 4px; padding-left: 35px; padding-right: 35px" style="float: right; letter-spacing: 4px; padding-left: 35px; padding-right: 35px"
class="btn btn-simple"> class="btn btn-simple">

Loading…
Cancel
Save