Skip to content

Commit

Permalink
updated forms to use bootstrap wells instead of inline css
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhuang committed Jun 1, 2013
1 parent 8a3b8a4 commit 7fe00a6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deme_django/cms/templates/item/list.html
Expand Up @@ -2,7 +2,7 @@
{% load item_tags %}
{% block content %}

<div style="border: thin solid #aaa; background: #eee; padding: 10px; margin-bottom: 10px;">
<div class="well">
<form method="get" name="list_filter_form">
<table cellspacing="0" class="twocol search-items">
<tr>
Expand Down
2 changes: 1 addition & 1 deletion deme_django/cms/templates/item/new_bare.html
Expand Up @@ -24,7 +24,7 @@
</script>
{% endif %}

<div style="border: thin solid #aaa; background: #eee; padding: 10px; margin-bottom: 10px;" class="item-type-container">
<div class="well item-type-container">
{% for item_type in item_types %}
<span>
{% ifequal item_type.item_type accepted_item_type %}
Expand Down
6 changes: 6 additions & 0 deletions deme_django/static/css/deme.css
Expand Up @@ -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;
Expand Down
4 changes: 4 additions & 0 deletions deme_django/static/less/deme/admin.less
Expand Up @@ -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;
}

0 comments on commit 7fe00a6

Please sign in to comment.