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>
<ul>
{% if project.secure_deal %}
<li>Безопасная сделка</li>
{% endif %}
<li {% if not project.secure_deal %}hidden{% endif %}>
Безопасная сделка
</li>
<li>
{{ project.specialization.name }}

@ -93,7 +93,7 @@ table.projects
height: 20px
background-size: cover
position: relative
left: -5px
left: -10px
.icon-rating
@extend %icons
@ -114,12 +114,28 @@ table.projects
height: 26px
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
&:before
width: 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
@extend %icons

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

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

@ -50,7 +50,10 @@
{% if request.user == proj.customer %}
<div class="open-projects-div1">
<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>
</li>

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

Loading…
Cancel
Save