# HG changeset patch # User rougeronj # Date 1426500281 -3600 # Node ID 05ed94112e9e97cf366791390e6829b52923443e # Parent dcea08e78780389dbbf0020239c19c80e1a738e1 add icons (instead of unicode) for publish/unpublish a project diff -r dcea08e78780 -r 05ed94112e9e src/hdalab/static/hdalab/css/profile.css --- 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 diff -r dcea08e78780 -r 05ed94112e9e src/hdalab/static/hdalab/img/check.png Binary file src/hdalab/static/hdalab/img/check.png has changed diff -r dcea08e78780 -r 05ed94112e9e src/hdalab/static/hdalab/img/uncheck.png Binary file src/hdalab/static/hdalab/img/uncheck.png has changed diff -r dcea08e78780 -r 05ed94112e9e src/hdalab/templates/profile_home.html --- 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 @@
{% csrf_token %} - {% if hr.state == 1 %} - {% else %}{% endif %} + {% if hr.state == 1 %} + {% else %}{% endif %}