--- a/src/hdalab/static/hdalab/css/profile.css Fri Mar 13 15:11:09 2015 +0100
+++ b/src/hdalab/static/hdalab/css/profile.css Mon Mar 16 11:04:41 2015 +0100
@@ -115,11 +115,18 @@
margin: 2px 10px 0px;
}
-.plublish-renkan{
- margin-left: 3px;
- font-size: 14px;
+.publish-renkan, .unpublish-renkan{
+ display: block;
+ height: 10px;
+ width: 10px;
+ margin-top:4px;
+ margin-left:1px;
}
-.unplublish-renkan{
- margin-left: 3px;
- font-size: 15px;
+.publish-renkan{
+ background: url(../img/check.png) no-repeat;
+ background-size: 10px
+}
+.unpublish-renkan{
+ background: url(../img/uncheck.png) no-repeat;
+ background-size: 10px
}
\ No newline at end of file
Binary file src/hdalab/static/hdalab/img/check.png has changed
Binary file src/hdalab/static/hdalab/img/uncheck.png has changed
--- a/src/hdalab/templates/profile_home.html Fri Mar 13 15:11:09 2015 +0100
+++ b/src/hdalab/templates/profile_home.html Mon Mar 16 11:04:41 2015 +0100
@@ -113,8 +113,8 @@
<form action="{% url 'renkan_moderate' rk_id=r.rk_id %}" method="post">
{% csrf_token %}
<input type="hidden" name="next" value="{% url 'profile_home' %}" />
- {% if hr.state == 1 %}<button name="state" value="2" title="{% trans 'publish renkan' %}" class="renkan-basic-action" onclick="return confirm('{% trans "Are you sure you want to ask to publish this renkan ?" %}');" ><span class="unplublish-renkan">✗</span></button>
- {% else %}<button name="state" title="{% trans 'unpublish renkan' %}" value="1" class="renkan-basic-action" onclick="return confirm('{% trans "Are you sure you want to unpublish this renkan ?" %}');" ><span class="plublish-renkan">✓</span></button>{% endif %}
+ {% if hr.state == 1 %}<button name="state" value="2" title="{% trans 'publish renkan' %}" class="renkan-basic-action" onclick="return confirm('{% trans "Are you sure you want to ask to publish this renkan ?" %}');" ><span class="publish-renkan"></span></button>
+ {% else %}<button name="state" title="{% trans 'unpublish renkan' %}" value="1" class="renkan-basic-action" onclick="return confirm('{% trans "Are you sure you want to unpublish this renkan ?" %}');" ><span class="unpublish-renkan"></span></button>{% endif %}
</form>
</td>
</tr>