diff --git a/patches/february_2013/p07_clear_web_cache.py b/patches/february_2013/p07_clear_web_cache.py new file mode 100644 index 00000000000..5aca2d6ee6a --- /dev/null +++ b/patches/february_2013/p07_clear_web_cache.py @@ -0,0 +1,6 @@ +import webnotes + +def execute(): + from website.utils import clear_cache + clear_cache() + \ No newline at end of file diff --git a/patches/patch_list.py b/patches/patch_list.py index 4cdebc2c885..45df4c18be0 100644 --- a/patches/patch_list.py +++ b/patches/patch_list.py @@ -186,4 +186,5 @@ patch_list = [ "execute:webnotes.delete_doc('DocType', 'Service Order Detail')", "execute:webnotes.delete_doc('DocType', 'Service Quotation Detail')", "patches.february_2013.p06_material_request_mappers", + "patches.february_2013.p07_clear_web_cache" ] \ No newline at end of file diff --git a/website/css/website.css b/website/css/website.css index 0b2dce44cbd..88c8f8ad192 100644 --- a/website/css/website.css +++ b/website/css/website.css @@ -1,20 +1,23 @@ -.content, div#body_div { - width: 780px; -} - -div#body_div { - padding: 0px; - min-height: 400px; - margin: 40px auto 10px auto; - box-shadow: 1px 1px 3px 3px #bbb; +div.outer { + -moz-box-shadow: 0px 0px 3px rgba(0,0,0,0.9); + -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.9); + box-shadow: 0px 0px 3px rgba(0,0,0,0.9); + background-color: #fff; border-radius: 5px; + padding: 20px; + margin: 30px -20px 10px -20px; + min-height: 400px; overflow: hidden; } +.outer .navbar { + margin: -20px -20px 10px -20px; +} + footer { text-align: left; - width: 720px; margin: auto; + margin-bottom: 20px; } .navbar-inner { @@ -39,6 +42,14 @@ p, li { padding: 30px; } +.missing-image { + background-color: #eee; + padding: 40px; + width: 32px; + font-size: 32px; + color: #888; +} + .social-icons { font-size: 120%; float: right; @@ -67,11 +78,6 @@ p, li { margin: 0px; } -.two-column { - width: 50%; - float: left; -} - .clear { clear: both; } diff --git a/website/doctype/style_settings/custom_template.css b/website/doctype/style_settings/custom_template.css index 7e89ca03fbe..9009bbe18a7 100644 --- a/website/doctype/style_settings/custom_template.css +++ b/website/doctype/style_settings/custom_template.css @@ -4,6 +4,8 @@ body { {% elif doc.background_color %} background-color: #{{ doc.background_color }}; background-image: none; +{% else %} + background-color: #edede7; {% endif %} {% if doc.font %} font-family: '{{ doc.font }}', Verdana, Sans !important; diff --git a/website/templates/css/product_page.css b/website/templates/css/product_page.css index 2b7c9790ff7..5780ee4fd36 100644 --- a/website/templates/css/product_page.css +++ b/website/templates/css/product_page.css @@ -1,9 +1,7 @@