diff --git a/webapp/web/css/menupage/testmenupage.css b/webapp/web/css/menupage/testmenupage.css index 0864a791e..fefdeaa52 100644 --- a/webapp/web/css/menupage/testmenupage.css +++ b/webapp/web/css/menupage/testmenupage.css @@ -1,6 +1,44 @@ /* $This file is distributed under the terms of the license in /doc/license.txt$ */ /**Added by Huda for demonstration so feel free to edit/remove**/ + +/*note for mb: hide should be changed to hidden. We have a hidden class at the vitro layer vitro.css*/ .hide { - display:none; + display:none; +} +#add-menu-item p, +#edit-menu-item p { + margin-top: 15px; +} +#add-menu-item input[type="text"], +#edit-menu-item input[type="text"], +#add-menu-item select, +#edit-menu-item select { + width: 20em; +} +#add-menu-item input[name="prettyUrl"], +#edit-menu-item input[name="prettyUrl"] { + margin-bottom: 0; +} +#add-menu-item p.note, +#edit-menu-item p.note { + margin-top: 5px; +} +#existingContentType { + margin-top: 15px; +} +#selectContentType label { + margin-top: 15px; +} +#selectedContentTypeValue { + padding: 0.2em 0.4em; + background: #f4f4f4; + margin-right: .4em; +} +ul#selectedClasses { + list-style-type: none; +} +#add-menu-item input.submit, +#edit-menu-item input.submit { + margin-top: 20px; } \ No newline at end of file diff --git a/webapp/web/templates/freemarker/edit/forms/testMenuManagement.ftl b/webapp/web/templates/freemarker/edit/forms/testMenuManagement.ftl index 934936ce6..8c83fdef0 100644 --- a/webapp/web/templates/freemarker/edit/forms/testMenuManagement.ftl +++ b/webapp/web/templates/freemarker/edit/forms/testMenuManagement.ftl @@ -1,7 +1,7 @@ <#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> <#--Since we are going to use one template for adding and editing a menu item, - it will be necessary to provide a freemarker variable that lets us know if you are in edit or add mode. bThis is up + it will be necessary to provide a freemarker variable that lets us know if you are in edit or add mode. This is up to you Huda the way you implement it. --> <#-- some additional processing here which shows or hides the class group selection and classes based on initial action--> @@ -14,25 +14,22 @@