Skip to content

Commit

Permalink
made new other item page look nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhuang committed Jun 1, 2013
1 parent 7fe00a6 commit c205a2c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deme_django/cms/templates/item/newother.html
Expand Up @@ -2,11 +2,11 @@
{% load item_tags %}
{% block content %}

<div class="list-group">
{% for x in all_item_types_can_create %}
<div>
<a href="{{ x.url }}" class="img_link"><img src="{{x.item_type|icon_url:16}}" />New {% item_type_verbose_name x.item_type %}</a>
</div>
<a href="{{ x.url }}" class="list-group-item capitalize"><img src="{{x.item_type|icon_url:16}}" /> {% item_type_verbose_name x.item_type %} <span class="glyphicon glyphicon-chevron-right"></span></a>
{% endfor %}
</div>

{% endblock content %}

3 changes: 3 additions & 0 deletions deme_django/static/css/deme.css
Expand Up @@ -5647,6 +5647,9 @@ html.embed .item-type-new-container {
padding: 10px;
margin-bottom: 10px;
}
.capitalize {
text-transform: capitalize;
}
@media (max-width: 767px) {
#overall {
padding: 0;
Expand Down
4 changes: 4 additions & 0 deletions deme_django/static/less/deme/admin.less
Expand Up @@ -19,4 +19,8 @@ html.embed .item-type-new-container {

.gray-admin-box {
border: thin solid #aaa; background: #eee; padding: 10px; margin-bottom: 10px;
}

.capitalize {
text-transform: capitalize;
}

0 comments on commit c205a2c

Please sign in to comment.