From c7ed7792dc84c54bfe13275cdf4397212265c4f6 Mon Sep 17 00:00:00 2001 From: tworrall Date: Fri, 22 Jun 2012 19:39:05 +0000 Subject: [PATCH] moved inline style defs to css --- webapp/web/css/menupage/pageManagement.css | 92 +++++++++++++++++-- .../freemarker/edit/forms/pageManagement.ftl | 25 +++-- 2 files changed, 95 insertions(+), 22 deletions(-) diff --git a/webapp/web/css/menupage/pageManagement.css b/webapp/web/css/menupage/pageManagement.css index 7052c6d05..72088a41f 100644 --- a/webapp/web/css/menupage/pageManagement.css +++ b/webapp/web/css/menupage/pageManagement.css @@ -1,19 +1,93 @@ /* $This file is distributed under the terms of the license in /doc/license.txt$ */ -.pageContent {"background-color":"","padding-left":"","padding-top":"","border-width":"","border-style":"","border-color":"#ccc"} +.pageContent { + "background-color":"", + "padding-left":"", + "padding-top":"", + "border-width":"", + "border-style":"", + "border-color":"#ccc"} -.pageContentContainer {background-color:#f5f5f5;border-color:#ccc;border-width:1px;border-style:solid;margin-bottom:4px;} +.pageContentContainer { + background-color:#f5f5f5; + border-color:#ccc; + border-width:1px; + border-style:solid; + margin-bottom:4px; +} -.pageContentTypeLabel {padding-left:6px;} +.pageContentTypeLabel { + padding-left:6px; +} -.pageContentWrapper {background-color:#f9f9f9;padding-left:6px;padding-top:2px;border-top-width:1px;border-style:solid;border-color:#ccc;} +.pageContentWrapper { + background-color:#f9f9f9; + padding-left:6px; + padding-top:2px; + border-top-width:1px; + border-style:solid; + border-color:#ccc; +} -.pageContentExpand {float:right;padding-right:5px;} +.pageContentExpand { + float:right; + padding-right:5px; +} .arrow { - width:13px; height:9px; display:block; + width:13px; + height:9px; + display:block; +} +.expandArrow { + background:url(../../images/vitro_plus_sign.gif) right center no-repeat; + min-height:18px; +} +.collapseArrow { + background:url(../../images/vitro_minus_sign.gif) right center no-repeat; + min-height:18px; +} + +.deleteButton { + margin-bottom:5px; +} +section#floatRight { + margin-top:0px; + float:right; + background-color:#fff; + width:580px; + margin-right:-4px; +} +select#typeSelect { + margin-top:0px; +} +section#headerBar { + background-color:#f5f5f5; + border-color:#ccc; + border-width:1px; + border-style:solid; + border-bottom-width:0px; + padding-left:6px; +} +input#moreContent { + margin-top:8px; +} +section#pageDetails { + background-color:#fff; +} +p#templatePTag { + margin-top:8px; + margin-bottom:2px; +} +p#checkboxPTag { + margin-top:10px; + margin-bottom:0px; +} +section.hideMenuSection { + margin-top:10px; + display:none; +} +section.showMenuSection { + margin-top:10px; } -.expandArrow {background-image:url(../../images/individual/arrow-down.gif);} -.collapseArrow {background-image:url(../../images/individual/arrow-up.gif);} -.deleteButton{margin-bottom:5px;} \ No newline at end of file diff --git a/webapp/web/templates/freemarker/edit/forms/pageManagement.ftl b/webapp/web/templates/freemarker/edit/forms/pageManagement.ftl index f4ea847ef..93aa9422f 100644 --- a/webapp/web/templates/freemarker/edit/forms/pageManagement.ftl +++ b/webapp/web/templates/freemarker/edit/forms/pageManagement.ftl @@ -44,38 +44,37 @@

Add Page

-
+
-
+
- -
-
+
<#--This include file contains links to the templates that will be cloned and used for the different content types--> <#include "pageManagement--contentTemplates.ftl"> - +
-
+
-

Must begin with a leading forward slash: / (e.g., /people)

-

Template *

+

Must begin with a leading forward slash: /
(e.g., /people)

+

Template *

checked="checked" role="radio" />
@@ -84,15 +83,15 @@
class="hidden" role="region"> *
-

checked="checked" > This is a menu page

or - Cancel + Cancel

* required fields