From 46ee0b3a842cab8733a9c6255c663c12c48db49c Mon Sep 17 00:00:00 2001 From: manolobevia Date: Mon, 7 Nov 2011 18:00:32 +0000 Subject: [PATCH] NIHVIVO-3213: more work on layout, css, markup --- webapp/web/css/account/account.css | 84 +++++++- .../body/manageproxies/manageProxies-list.ftl | 201 ++++++++---------- 2 files changed, 176 insertions(+), 109 deletions(-) diff --git a/webapp/web/css/account/account.css b/webapp/web/css/account/account.css index d5543d18e..2036e2b89 100644 --- a/webapp/web/css/account/account.css +++ b/webapp/web/css/account/account.css @@ -294,7 +294,7 @@ a.disable-delete { .photo-profile { border: 2px solid #DDE4E3; } -.proxyInfoElement { +#edit-myProxy .proxyInfoElement { padding-top: .8em; border-bottom: 1px dotted #E0DFDF; padding-bottom: 1em; @@ -304,6 +304,7 @@ a.disable-delete { font-size: .8em; color: #7F8993; padding-left: 10px; + height: 20px; } #edit-myProxy p.selected-editors { padding-top: 1.2em; @@ -318,4 +319,83 @@ a.disable-delete { } #edit-myProxy span.class-label { color: #7F8993; -} \ No newline at end of file +} + +/* MANAGE PROXY ------> */ +#relate-proxy-profiles { + width: 930px; + background-color: #F7F7F4; + border-radius: 10px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + overflow: hidden; + margin-bottom: 20px; +} +#relate-proxy-profiles legend { + display: block; + border: 0; + padding-left: 20px; +} +.relate-proxy { + width: 450px; + float: left; + padding-right: 10px; +} +.relate-profile { + width: 430px; + float: right; + border-left: 1px dotted #E0DFDF; + padding-left: 10px; + +} +#relate-proxy-profiles .submit { + clear: both; + float: right; + margin-right: 1em; + margin-bottom: 1em; +} + +#relate-proxy-profiles .acSelector { + margin-top: 10px; + margin-left: 20px; +} + + +#search-proxy { + border-top: 1px solid #E1E5E7; + border-bottom: 1px solid #E1E5E7; + padding: 10px; +} + +#search-proxy h4 { + margin-bottom: 0; +} + + +#relate-proxy-profiles .proxyInfoElement { + margin-left: 20px; +} + +p.selected-editors { + padding-top: 1.2em; + border-top: 1px solid #E0DFDF; +} +a.remove-proxy { + font-size: .9em; +} +.proxy-info { + padding-left: 1em; + vertical-align: middle; +} +span.class-label { + color: #7F8993; +} + + + + + + + + + diff --git a/webapp/web/templates/freemarker/body/manageproxies/manageProxies-list.ftl b/webapp/web/templates/freemarker/body/manageproxies/manageProxies-list.ftl index a48742af8..45b17403c 100644 --- a/webapp/web/templates/freemarker/body/manageproxies/manageProxies-list.ftl +++ b/webapp/web/templates/freemarker/body/manageproxies/manageProxies-list.ftl @@ -15,7 +15,7 @@ ${stylesheets.add(' - -
+
Select proxies -
-

-

 

+
+ +

 

- <#-- Magic div that holds all of the proxy data and the template that shows how to display it. --> -
+ <#-- Magic div that holds all of the proxy data and the template that shows how to display it. --> +
<#-- Each proxy will be shown using the HTML inside this div. It must contain at least: -- a link with templatePart="remove" -- a hidden input field with templatePart="uriField" --> -
- +
+
%label% @@ -60,14 +59,10 @@ ${stylesheets.add(' + +
Select profiles
@@ -106,108 +101,100 @@ ${stylesheets.add(' - - - - - +

+ - -
-
-

Proxy self editors

-

- - -

-
- -

- <#if page.previous??> - Previous - - ${page.current} of ${page.last} - <#if page.next??> - Next - -

+
+ +

Proxy self editors

+ + | + + <#if page.previous??> + Previous + + ${page.current} of ${page.last} + <#if page.next??> + Next + + +
<#list relationships as r>
- - - + +
- <#assign p = r.proxyInfos[0]> - - - -
- ${p.label} - - ${p.label}} | - ${p.classLabel} -
- -
+ + + + + - - -
+ <#assign p = r.proxyInfos[0]> + + + +
+ ${p.label} + + ${p.label}} | + ${p.classLabel} +
+ +
- -
-
-

Add profile

-

-

-   -

+
+
+

Add profile

+

+

+   +

-

Selected profiles:

- - <#-- Magic div thst holds all of the proxy data and the template that shows how to display it. --> -
- <#list r.profileInfos as p> -
-

${p.uri}

-

${p.label}

-

${p.classLabel}

-

${p.imageUrl}

-
- - - <#-- - Each proxy will be shown using the HTML inside this element. - It must contain at least: - -- a link with templatePart="remove" - -- a hidden input field with templatePart="uriField" - --> -
- - - - - -
- %label% - - %label% | %classLabel% -
- Remove selection -
- +

Selected profiles:

+ + <#-- Magic div thst holds all of the proxy data and the template that shows how to display it. --> +
+ <#list r.profileInfos as p> +
+

${p.uri}

+

${p.label}

+

${p.classLabel}

+

${p.imageUrl}

+ + + <#-- + Each proxy will be shown using the HTML inside this element. + It must contain at least: + -- a link with templatePart="remove" + -- a hidden input field with templatePart="uriField" + --> +
+ + + + + +
+ %label% + + %label% | %classLabel% +
+ Remove selection +
+
- -
- + + +
+