From 7fe00a6e5b24bb6f682bf745ae43c70df4048d4d Mon Sep 17 00:00:00 2001 From: Michael Huang Date: Sat, 1 Jun 2013 14:37:47 -0700 Subject: [PATCH] updated forms to use bootstrap wells instead of inline css --- deme_django/cms/templates/item/list.html | 2 +- deme_django/cms/templates/item/new_bare.html | 2 +- deme_django/static/css/deme.css | 6 ++++++ deme_django/static/less/deme/admin.less | 4 ++++ 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/deme_django/cms/templates/item/list.html b/deme_django/cms/templates/item/list.html index fbca5fb2..e7359866 100644 --- a/deme_django/cms/templates/item/list.html +++ b/deme_django/cms/templates/item/list.html @@ -2,7 +2,7 @@ {% load item_tags %} {% block content %} -
+
diff --git a/deme_django/cms/templates/item/new_bare.html b/deme_django/cms/templates/item/new_bare.html index ceb2b118..1c0c6b41 100644 --- a/deme_django/cms/templates/item/new_bare.html +++ b/deme_django/cms/templates/item/new_bare.html @@ -24,7 +24,7 @@ {% endif %} -
+
{% for item_type in item_types %} {% ifequal item_type.item_type accepted_item_type %} diff --git a/deme_django/static/css/deme.css b/deme_django/static/css/deme.css index 29328102..48ededdb 100644 --- a/deme_django/static/css/deme.css +++ b/deme_django/static/css/deme.css @@ -5641,6 +5641,12 @@ html.embed .item-type-new-container { .item-type-container span b { background: #ccc; } +.gray-admin-box { + border: thin solid #aaa; + background: #eee; + padding: 10px; + margin-bottom: 10px; +} @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 dbfae645..359d8bcc 100644 --- a/deme_django/static/less/deme/admin.less +++ b/deme_django/static/less/deme/admin.less @@ -15,4 +15,8 @@ html.embed .item-type-new-container { } .item-type-container span b { background: #ccc; +} + +.gray-admin-box { + border: thin solid #aaa; background: #eee; padding: 10px; margin-bottom: 10px; } \ No newline at end of file