From c205a2ca90ca642e70c9c8847ea8e6f36f7e4d6e Mon Sep 17 00:00:00 2001 From: Michael Huang Date: Sat, 1 Jun 2013 14:45:34 -0700 Subject: [PATCH] made new other item page look nicer --- deme_django/cms/templates/item/newother.html | 6 +++--- deme_django/static/css/deme.css | 3 +++ deme_django/static/less/deme/admin.less | 4 ++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/deme_django/cms/templates/item/newother.html b/deme_django/cms/templates/item/newother.html index 4747ac4d..ba6a5f8e 100644 --- a/deme_django/cms/templates/item/newother.html +++ b/deme_django/cms/templates/item/newother.html @@ -2,11 +2,11 @@ {% load item_tags %} {% block content %} +
{% for x in all_item_types_can_create %} -
- New {% item_type_verbose_name x.item_type %} -
+ {% item_type_verbose_name x.item_type %} {% endfor %} +
{% endblock content %} diff --git a/deme_django/static/css/deme.css b/deme_django/static/css/deme.css index 48ededdb..2366710e 100644 --- a/deme_django/static/css/deme.css +++ b/deme_django/static/css/deme.css @@ -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; diff --git a/deme_django/static/less/deme/admin.less b/deme_django/static/less/deme/admin.less index 359d8bcc..686556d7 100644 --- a/deme_django/static/less/deme/admin.less +++ b/deme_django/static/less/deme/admin.less @@ -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; } \ No newline at end of file