From 120c5d7f8e21debf9421de7c577d49e47927780a Mon Sep 17 00:00:00 2001 From: j2blake Date: Fri, 4 Nov 2011 20:05:48 +0000 Subject: [PATCH] NIHVIVO-2343 Rough out the markup for the top "create" panel, and the search box. --- .../manageproxies/ManageProxiesListPage.java | 1 + .../body/manageproxies/manageProxies-list.ftl | 97 +++++++++++++++++++ 2 files changed, 98 insertions(+) diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/accounts/manageproxies/ManageProxiesListPage.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/accounts/manageproxies/ManageProxiesListPage.java index af2820b00..1995f5f89 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/accounts/manageproxies/ManageProxiesListPage.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/accounts/manageproxies/ManageProxiesListPage.java @@ -160,6 +160,7 @@ public class ManageProxiesListPage extends AbstractPageHandler { map.put("list", UrlBuilder.getUrl("/manageProxies/list")); map.put("edit", UrlBuilder.getUrl("/manageProxies/edit")); + map.put("create", UrlBuilder.getUrl("/manageProxies/create")); map.put("sparqlQueryAjax", UrlBuilder.getUrl("/ajax/sparqlQuery")); map.put("defaultImageUrl", DEFAULT_IMAGE_URL); diff --git a/webapp/web/templates/freemarker/body/manageproxies/manageProxies-list.ftl b/webapp/web/templates/freemarker/body/manageproxies/manageProxies-list.ftl index b2cc1ae09..c7c91725d 100644 --- a/webapp/web/templates/freemarker/body/manageproxies/manageProxies-list.ftl +++ b/webapp/web/templates/freemarker/body/manageproxies/manageProxies-list.ftl @@ -8,6 +8,8 @@ ${stylesheets.add('')} ${stylesheets.add('')} +

Manage proxy self editors & profiles

+ <#if message??>
<#if message.success?? > @@ -24,6 +26,101 @@ ${stylesheets.add(' + + + + + + +
+
+

Select proxies

+ +

+

+   +

+ +

Selected proxies:

+ + <#-- Magic div thst 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% + + %label% | %classLabel% +
+ Remove selection +
+ +
+
+
+
+
+

Select profiles

+

+

+   +

+ +

Selected profiles:

+ + <#-- Magic div thst 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 element. + It must contain at least: + -- a link with templatePart="remove" + -- a hidden input field with templatePart="uriField" + --> +
+ + + + + +
+ %label% + + %label% | %classLabel% +
+ Remove selection +
+ +
+
+
+
+ + + +
+
+

Proxy self editors

+

+ + +

+

<#if page.previous??>