juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexo...@apache.org
Subject svn commit: r1471182 [3/8] - in /juddi/branches/juddi-3.2.x: ./ juddi-core-openjpa/ juddi-core-openjpa/src/test/resources/ juddi-core/ juddi-core/src/main/java/org/apache/juddi/config/ juddi-core/src/main/java/org/apache/juddi/keygen/ juddi-core/src/ma...
Date Tue, 23 Apr 2013 22:19:36 GMT
Modified: juddi/branches/juddi-3.2.x/juddi-gui/web/businessEditor2.jsp
URL: http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-gui/web/businessEditor2.jsp?rev=1471182&r1=1471181&r2=1471182&view=diff
==============================================================================
--- juddi/branches/juddi-3.2.x/juddi-gui/web/businessEditor2.jsp (original)
+++ juddi/branches/juddi-3.2.x/juddi-gui/web/businessEditor2.jsp Tue Apr 23 22:19:34 2013
@@ -25,7 +25,7 @@
     <!-- Example row of columns -->
     <div class="row">
         <div class="span12" >
-
+            <script type="text/javascript" src="js/businessEditor.js"></script>
             <div id="businesseditor">
                 <%
                     boolean newitem = false;
@@ -48,7 +48,7 @@
                 <%
 
                     if (!newitem) {
-                        out.write("<i class=\"icon-lock\"></i>");
+                        out.write("<i class=\"icon-lock icon-large\"></i>");
                     }
                 %>
                 <b><%=ResourceLoader.GetResource(session, "pages.businesskey")%></b>-
@@ -146,14 +146,14 @@
                 </script>
                 <div class="tab-content">
                     <div class="tab-pane active" id="general">
-                        <a href="javascript:AddName();"><i class="icon-plus-sign"></i></a> <b><%=ResourceLoader.GetResource(session, "items.name")%></b> - 
+                        <a href="javascript:AddName();"><i class="icon-plus-sign icon-large"></i></a> <b><%=ResourceLoader.GetResource(session, "items.name")%></b> - 
                         <%=ResourceLoader.GetResource(session, "items.business.name.description")%>
 
                         <div id="nameContainer" style="border-width: 2px; border-style: solid;" >
                             <%
                                 for (int i = 0; i < bd.getName().size(); i++) {
                                     out.write("<div id=\"" + PostBackConstants.NAME + i + "\" style=\"border-width:1px; border-style:solid\" >");
-                                    out.write("<div style=\"float:left; height:100%\"><a href=\"javascript:Remove('Name" + i + "');\"><i class=\"icon-remove-sign\"></i></a></div>");
+                                    out.write("<div style=\"float:left; height:100%\"><a href=\"javascript:Remove('Name" + i + "');\"><i class=\"icon-remove-sign icon-large\"></i></a></div>");
                                     out.write("<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.value") + ":&nbsp;</div>"
                                             + "<div class=\"edit\" id=\"" + PostBackConstants.NAME + i + PostBackConstants.VALUE + "\">" + StringEscapeUtils.escapeHtml(bd.getName().get(i).getValue()) + "</div>");
                                     out.write("<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.lang") + "&nbsp;</div>"
@@ -168,18 +168,18 @@
                             %>
                         </div>
                         <Br>
-                        <a href="javascript:AddDescription();"><i class="icon-plus-sign"></i></a> <b><%=ResourceLoader.GetResource(session, "items.description")%> </b>- 
+                        <a href="javascript:AddDescription();"><i class="icon-plus-sign  icon-large"></i></a> <b><%=ResourceLoader.GetResource(session, "items.description")%> </b>- 
                         <%=ResourceLoader.GetResource(session, "items.businesses.description")%>.
                         <div id="Description" style="border-width: 2px; border-style: solid;" >
                             <%
                                 for (int i = 0; i < bd.getDescription().size(); i++) {
                                     out.write("<div id=\"" + PostBackConstants.DESCRIPTION + i + "\" style=\"border-width:1px; border-style:solid\">");
-                                    out.write("<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('Description" + i + "');\"><i class=\"icon-remove-sign\"></i></a></div>");
+                                    out.write("<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('Description" + i + "');\"><i class=\"icon-remove-sign icon-large\"></i></a></div>");
                                     out.write("<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.value") + ":&nbsp;</div>"
                                             + "<div class=\"edit\" id=\"" + PostBackConstants.DESCRIPTION + i + PostBackConstants.VALUE + "\">" + StringEscapeUtils.escapeHtml(bd.getDescription().get(i).getValue()) + "</div>");
                                     out.write("<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.lang") + ":&nbsp;</div>"
-                                            + "<div class=\"edit\" id=\"" + PostBackConstants.DESCRIPTION + i + PostBackConstants.LANG + "\">" + 
-                                          (bd.getDescription().get(i).getLang()==null ? "" :  StringEscapeUtils.escapeHtml(bd.getDescription().get(i).getLang())) + "</div>");
+                                            + "<div class=\"edit\" id=\"" + PostBackConstants.DESCRIPTION + i + PostBackConstants.LANG + "\">"
+                                            + (bd.getDescription().get(i).getLang() == null ? "" : StringEscapeUtils.escapeHtml(bd.getDescription().get(i).getLang())) + "</div>");
 
                                     out.write("</div>");
                                 }
@@ -188,7 +188,7 @@
                     </div>
                     <div class="tab-pane " id="discovery">
 
-                        <a href="javascript:AddDisco();"><i class="icon-plus-sign"></i></a>
+                        <a href="javascript:AddDisco();"><i class="icon-plus-sign icon-large"></i></a>
                         <b><%=ResourceLoader.GetResource(session, "items.discoveryurl")%></b>- <%=ResourceLoader.GetResource(session, "items.discoveryurl.description")%>
                         <div id="discoContainer" style="border-width: 2px; border-style: solid;" >
                             <%
@@ -197,7 +197,7 @@
                                     for (int i = 0; i < bd.getDiscoveryURLs().getDiscoveryURL().size(); i++) {
 
                                         out.write("<div id=\"disco" + i + "\" style=\"border-width:1px; border-style:solid\">");
-                                        out.write("<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('disco" + i + "');\"><i class=\"icon-remove-sign\"></i></a></div>");
+                                        out.write("<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('disco" + i + "');\"><i class=\"icon-remove-sign icon-large\"></i></a></div>");
                                         out.write("<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.value") + ":&nbsp;</div>"
                                                 + "<div class=\"edit\" id=\"" + PostBackConstants.DISCOVERYURL + i + PostBackConstants.VALUE + "\">" + StringEscapeUtils.escapeHtml(bd.getDiscoveryURLs().getDiscoveryURL().get(i).getValue()) + "</div>");
                                         out.write("<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.type") + ":&nbsp;</div>"
@@ -213,7 +213,7 @@
                         </div>
                     </div>
                     <div class="tab-pane " id="contacts">
-                        <a href="javascript:AddContact();"><i class="icon-plus-sign"></i></a>
+                        <a href="javascript:AddContact();"><i class="icon-plus-sign icon-large"></i></a>
                         <b><%=ResourceLoader.GetResource(session, "items.contacts")%></b>-
                         <%=ResourceLoader.GetResource(session, "items.contacts.description")%><br>
 
@@ -222,156 +222,157 @@
                                 if (bd.getContacts() == null) {
                                     bd.setContacts(new Contacts());
                                 }
+                                for (int i = 0; i < bd.getContacts().getContact().size(); i++) {
+                                    //this is the outer framework, the add buttons
+                                    out.write("<div id=\"" + PostBackConstants.CONTACT_PREFIX + i + "\" style=\"border-width:2px; border-style:solid; border-color:red\" >"
+                                            + "<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('" + PostBackConstants.CONTACT_PREFIX + i
+                                            + "');\"><i class=\"icon-remove-sign icon-large\"></i></a></div>"
+                                            + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.contact.type") + ": &nbsp;</div>"
+                                            + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + i + PostBackConstants.TYPE + "\">"
+                                            + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getUseType())
+                                            + "</div>"
+                                            + "<a href=\"javascript:AddContactName('" + i + "');\"><i class=\"icon-plus-sign icon-large\"></i></a>" + ResourceLoader.GetResource(session, "items.name") + " &nbsp"
+                                            + "<a href=\"javascript:AddContactEmail('" + i + "');\"><i class=\"icon-plus-sign icon-large\"></i></a>" + ResourceLoader.GetResource(session, "items.email") + " &nbsp"
+                                            + "<a href=\"javascript:AddContactDescription('" + i + "');\"><i class=\"icon-plus-sign icon-large\"></i></a>" + ResourceLoader.GetResource(session, "items.description") + " &nbsp"
+                                            + "<a href=\"javascript:AddContactPhone('" + i + "');\"><i class=\"icon-plus-sign icon-large\"></i></a>" + ResourceLoader.GetResource(session, "items.phone") + " &nbsp"
+                                            + "<a href=\"javascript:AddContactAddress('" + i + "');\"><i class=\"icon-plus-sign icon-large\"></i></a>" + ResourceLoader.GetResource(session, "items.address") + " &nbsp");
+                                    int contactid = i;
+                                    //person name
+                                    for (int k = 0; k < bd.getContacts().getContact().get(i).getPersonName().size(); k++) {
+
+                                        int contactname = k;
+                                        out.write("<div id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.NAME + contactname + "\" style=\"border-width:1px; border-style:solid\" >"
+                                                + "<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.NAME + contactname
+                                                + "');\"><i class=\"icon-remove-sign icon-large\"></i></a></div>"
+                                                + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.name") + ": &nbsp;</div>"
+                                                + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.NAME + contactname + PostBackConstants.VALUE + "\">"
+                                                + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getPersonName().get(k).getValue()) + "</div>"
+                                                + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.lang") + ": &nbsp;</div>"
+                                                + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.NAME + contactname + PostBackConstants.LANG + "\">"
+                                                + (bd.getContacts().getContact().get(i).getPersonName().get(k).getLang() == null ? ""
+                                                : StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getPersonName().get(k).getLang())) + "</div>"
+                                                + "</div>");
+                                        //  + "</div>");
+                                    }
+                                    //email
+                                    for (int k = 0; k < bd.getContacts().getContact().get(i).getEmail().size(); k++) {
+                                        int contactemail = k;
+                                        out.write("<div id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.EMAIL + contactemail + "\" style=\"border-width:1px; border-style:solid\" >"
+                                                + "<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.EMAIL + contactemail
+                                                + "');\"><i class=\"icon-remove-sign icon-large\"></i></a></div>"
+                                                + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.type") + ": &nbsp;</div>"
+                                                + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.EMAIL + contactemail + PostBackConstants.TYPE + "\">"
+                                                + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getEmail().get(k).getUseType())
+                                                + "</div>"
+                                                + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.value") + ": &nbsp;</div>"
+                                                + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.EMAIL + contactemail + PostBackConstants.VALUE + "\">"
+                                                + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getEmail().get(k).getValue()) + "</div>"
+                                                + "</div>");
+                                    }
+                                    //out.write("</div>");
+                                    //contact description
+                                    for (int k = 0; k < bd.getContacts().getContact().get(i).getDescription().size(); k++) {
+                                        int contactdescription = k;
+                                        out.write("<div id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.DESCRIPTION + contactdescription + "\" style=\"border-width:1px; border-style:solid\" >"
+                                                + "<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.DESCRIPTION + contactdescription
+                                                + "');\"><i class=\"icon-remove-sign icon-large\"></i></a></div>"
+                                                + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.description") + ": &nbsp;</div>"
+                                                + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.DESCRIPTION + contactdescription + PostBackConstants.VALUE + "\">"
+                                                + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getDescription().get(k).getValue())
+                                                + "</div>"
+                                                + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.lang") + ": &nbsp;</div>"
+                                                + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.DESCRIPTION + contactdescription + PostBackConstants.LANG + "\">"
+                                                + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getDescription().get(k).getLang())
+                                                + "</div>" //keep it
+                                                + "</div>");
+                                    }
 
-                                if (bd.getContacts()
-                                        != null) {
-                                    for (int i = 0; i < bd.getContacts().getContact().size(); i++) {
-                                        //this is the outer framework, the add buttons
-                                        out.write("<div id=\"" + PostBackConstants.CONTACT_PREFIX + i + "\" style=\"border-width:2px; border-style:solid; border-color:red\" >"
-                                                + "<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('" + PostBackConstants.CONTACT_PREFIX + i
-                                                + "');\"><i class=\"icon-remove-sign\"></i></a></div>"
-                                                + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.contact.type") + ": &nbsp;</div>"
-                                                + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + i + PostBackConstants.TYPE + "\">"
-                                                + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getUseType())
+                                    //contact phone
+                                    for (int k = 0; k < bd.getContacts().getContact().get(i).getPhone().size(); k++) {
+                                        int contactphone = k;
+                                        out.write("<div id=\"" + PostBackConstants.CONTACT_PREFIX
+                                                + contactid
+                                                + PostBackConstants.PHONE
+                                                + contactphone
+                                                + "\" style=\"border-width:1px; border-style:solid\" >"
+                                                + "<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('"
+                                                + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.PHONE + contactphone
+                                                + "');\"><i class=\"icon-remove-sign icon-large\"></i></a></div>"
+                                                + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.phone") + ": &nbsp;</div>"
+                                                + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.PHONE + contactphone + PostBackConstants.VALUE + "\">"
+                                                + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getPhone().get(k).getValue())
                                                 + "</div>"
-                                                + "<a href=\"javascript:AddContactName('" + i + "');\"><i class=\"icon-plus-sign\"></i></a>" + ResourceLoader.GetResource(session, "items.name") + " &nbsp"
-                                                + "<a href=\"javascript:AddContactEmail('" + i + "');\"><i class=\"icon-plus-sign\"></i></a>" + ResourceLoader.GetResource(session, "items.email") + " &nbsp"
-                                                + "<a href=\"javascript:AddContactDescription('" + i + "');\"><i class=\"icon-plus-sign\"></i></a>" + ResourceLoader.GetResource(session, "items.description") + " &nbsp"
-                                                + "<a href=\"javascript:AddContactPhone('" + i + "');\"><i class=\"icon-plus-sign\"></i></a>" + ResourceLoader.GetResource(session, "items.phone") + " &nbsp"
-                                                + "<a href=\"javascript:AddContactAddress('" + i + "');\"><i class=\"icon-plus-sign\"></i></a>" + ResourceLoader.GetResource(session, "items.address") + " &nbsp");
-                                        int contactid = i;
-                                        //person name
-                                        for (int k = 0; k < bd.getContacts().getContact().get(i).getPersonName().size(); k++) {
-
-                                            int contactname = k;
-                                            out.write("<div id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.NAME + contactname + "\" style=\"border-width:1px; border-style:solid\" >"
-                                                    + "<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.NAME + contactname
-                                                    + "');\"><i class=\"icon-remove-sign\"></i></a></div>"
-                                                    + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.name") + ": &nbsp;</div>"
-                                                    + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.NAME + contactname + PostBackConstants.VALUE + "\">"
-                                                    + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getPersonName().get(k).getValue()) + "</div>"
-                                                    + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.lang") + ": &nbsp;</div>"
-                                                    + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.NAME + contactname + PostBackConstants.LANG + "\">"
-                                                    + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getPersonName().get(k).getLang()) + "</div>"
-                                                    + "</div>"
-                                                    + "</div>");
-                                        }
-                                        //email
-                                        for (int k = 0; k < bd.getContacts().getContact().get(i).getEmail().size(); k++) {
-                                            int contactemail = k;
-                                            out.write("<div id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.EMAIL + contactemail + "\" style=\"border-width:1px; border-style:solid\" >"
-                                                    + "<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.EMAIL + contactemail
-                                                    + "');\"><i class=\"icon-remove-sign\"></i></a></div>"
-                                                    + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.type") + ": &nbsp;</div>"
-                                                    + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.EMAIL + contactemail + PostBackConstants.TYPE + "\">"
-                                                    + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getEmail().get(k).getUseType())
-                                                    + "</div>"
-                                                    + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.value") + ": &nbsp;</div>"
-                                                    + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.EMAIL + contactemail + PostBackConstants.VALUE + "\">"
-                                                    + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getEmail().get(k).getValue()) + "</div>"
-                                                    + "</div>");
-                                        }
-                                        out.write("</div>");
-                                        //contact description
-                                        for (int k = 0; k < bd.getContacts().getContact().get(i).getDescription().size(); k++) {
-                                            int contactdescription = k;
-                                            out.write("<div id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.DESCRIPTION + contactdescription + "\" style=\"border-width:1px; border-style:solid\" >"
-                                                    + "<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.DESCRIPTION + contactdescription
-                                                    + "');\"><i class=\"icon-remove-sign\"></i></a></div>"
-                                                    + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.description") + ": &nbsp;</div>"
-                                                    + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.DESCRIPTION + contactdescription + PostBackConstants.VALUE + "\">"
-                                                    + "</div>"
-                                                    + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getDescription().get(k).getValue())
-                                                    + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.lang") + ": &nbsp;</div>"
-                                                    + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.DESCRIPTION + contactdescription + PostBackConstants.LANG + "\">"
-                                                    + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getDescription().get(k).getLang())
-                                                    + "</div>"
-                                                    + "</div>");
-                                        }
+                                                + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.type") + ": &nbsp;</div>"
+                                                + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.PHONE + contactphone + PostBackConstants.TYPE + "\">"
+                                                + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getPhone().get(k).getUseType())
+                                                + "</div>"
+                                                + "</div>");
 
-                                        //contact phone
-                                        for (int k = 0; k < bd.getContacts().getContact().get(i).getPhone().size(); k++) {
-                                            int contactphone = k;
-                                            out.write("<div id=\"" + PostBackConstants.CONTACT_PREFIX
-                                                    + contactid
-                                                    + PostBackConstants.PHONE
-                                                    + contactphone
-                                                    + "\" style=\"border-width:1px; border-style:solid\" >"
-                                                    + "<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('"
-                                                    + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.PHONE + contactphone
-                                                    + "');\"><i class=\"icon-remove-sign\"></i></a></div>"
-                                                    + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.phone") + ": &nbsp;</div>"
-                                                    + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.PHONE + contactphone + PostBackConstants.VALUE + "\">"
-                                                    + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getPhone().get(k).getValue())
-                                                    + "</div>"
-                                                    + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.type") + ": &nbsp;</div>"
-                                                    + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.PHONE + contactphone + PostBackConstants.TYPE + "\">"
-                                                    + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getPhone().get(k).getUseType())
-                                                    + "</div>"
-                                                    + "</div>");
+                                    }
 
-                                        }
+                                    //contact addresses
+                                    for (int k = 0; k < bd.getContacts().getContact().get(i).getAddress().size(); k++) {
+                                        int contactaddress = k;
+                                        out.write("<div id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.ADDRESS + contactaddress + "\" style=\"border-width:1px; border-style:solid\" >"
+                                                + "<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.ADDRESS + contactaddress
+                                                + "');\"><i class=\"icon-remove-sign icon-large\"></i></a>" + ResourceLoader.GetResource(session, "items.address") + "</div><br>"
+                                                + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.lang") + ": &nbsp;</div>"
+                                                + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.ADDRESS + contactaddress + PostBackConstants.LANG + "\">"
+                                                + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getAddress().get(k).getLang())
+                                                + "</div>"
+                                                + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.sortcode") + ": &nbsp;</div>"
+                                                + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.ADDRESS + contactaddress + PostBackConstants.SORTCODE + "\">"
+                                                + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getAddress().get(k).getSortCode())
+                                                + "</div>"
+                                                + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.type") + ": &nbsp;</div>"
+                                                + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.ADDRESS + contactaddress + PostBackConstants.TYPE + "\">"
+                                                + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getAddress().get(k).getUseType())
+                                                + "</div>"
+                                                + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.tmodel.key") + " (<a href=\"javascript:tModelModal('" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.ADDRESS + contactaddress + PostBackConstants.KEYNAME + "')\" >" + "<i class=\"icon-list-alt icon-large\"></i>" + ResourceLoader.GetResource(session, "items.picker") + "</a>): &nbsp;</div>"
+                                                + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.ADDRESS + contactaddress + PostBackConstants.KEYNAME + "\">"
+                                                + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getAddress().get(k).getTModelKey())
+                                                + "</div>"
+                                                + "<div><br><a href=\"javascript:AddContactAddressLine('" + contactid + PostBackConstants.ADDRESS + contactaddress + "');\">"
+                                                + "<i class=\"icon-plus-sign icon-large\"></i></a> " + ResourceLoader.GetResource(session, "items.addressline.add") + "</div>");
 
-                                        //contact addresses
-                                        for (int k = 0; k < bd.getContacts().getContact().get(i).getAddress().size(); k++) {
-                                            int contactaddress = k;
-                                            out.write("<div id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.ADDRESS + contactaddress + "\" style=\"border-width:1px; border-style:solid\" >"
-                                                    + "<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.ADDRESS + contactaddress
-                                                    + "');\"><i class=\"icon-remove-sign\"></i></a>" + ResourceLoader.GetResource(session, "items.address") + "</div><br>"
-                                                    + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.lang") + ": &nbsp;</div>"
-                                                    + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.ADDRESS + contactaddress + PostBackConstants.LANG + "\">"
-                                                    + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getAddress().get(k).getLang())
-                                                    + "</div>"
-                                                    + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.sortcode") + ": &nbsp;</div>"
-                                                    + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.ADDRESS + contactaddress + "Sortcode\">"
-                                                    + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getAddress().get(k).getSortCode())
+
+                                        for (int j = 0; j < bd.getContacts().getContact().get(i).getAddress().get(k).getAddressLine().size(); j++) {
+                                            int contactaddresslines = j;
+                                            out.write("<div id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.ADDRESS + k + PostBackConstants.ADDRESSLINE + contactaddresslines
+                                                    + "\" style=\"border-width:1px; border-style:solid\" >"
+                                                    + "<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.ADDRESSLINE + contactaddresslines
+                                                    + "');\"><i class=\"icon-remove-sign icon-large\"></i></a></div>"
+                                                    + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.addressvalue") + ": &nbsp;</div>"
+                                                    + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.ADDRESS + k + PostBackConstants.ADDRESSLINE + contactaddresslines + PostBackConstants.VALUE + "\">"
+                                                    + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getAddress().get(k).getAddressLine().get(k).getValue())
                                                     + "</div>"
-                                                    + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.type") + ": &nbsp;</div>"
-                                                    + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.ADDRESS + contactaddress + PostBackConstants.TYPE + "\">"
-                                                    + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getAddress().get(k).getSortCode())
+                                                    + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.keyname.optional") + ": &nbsp;</div>"
+                                                    + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.ADDRESS + k + PostBackConstants.ADDRESSLINE + contactaddresslines + PostBackConstants.KEYNAME + "\">"
+                                                    + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getAddress().get(k).getAddressLine().get(k).getKeyName())
                                                     + "</div>"
-                                                    + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.ADDRESS + contactaddress + "KeyName\">"
-                                                    + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getAddress().get(k).getTModelKey())
+                                                    + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.keyvalue.optional") + ": &nbsp;</div>"
+                                                    + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.ADDRESS + k + PostBackConstants.ADDRESSLINE + contactaddresslines + PostBackConstants.KEYVALUE + "\">"
+                                                    + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getAddress().get(k).getAddressLine().get(k).getKeyValue())
                                                     + "</div>"
-                                                    + "<div><a href=\"javascript:AddContactAddressLine('" + contactid + PostBackConstants.ADDRESS + contactaddress + "');\">"
-                                                    + "<i class=\"icon-plus-sign\"></i></a> " + ResourceLoader.GetResource(session, "items.addressline.add") + "</div>");
-
+                                                    + "</div>");
+                                        }   //address line loop
+                                        out.write("</div>");
 
-                                            for (int j = 0; j < bd.getContacts().getContact().get(i).getAddress().get(k).getAddressLine().size(); j++) {
-                                                int contactaddresslines = j;
-                                                out.write("<div id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.ADDRESS + k + PostBackConstants.ADDRESSLINE + contactaddresslines
-                                                        + "\" style=\"border-width:1px; border-style:solid\" >"
-                                                        + "<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.ADDRESSLINE + contactaddresslines
-                                                        + "');\"><i class=\"icon-remove-sign\"></i></a></div>"
-                                                        + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.addressvalue") + ": &nbsp;</div>"
-                                                        + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.ADDRESS + k + PostBackConstants.ADDRESSLINE + contactaddresslines + PostBackConstants.VALUE + "\">"
-                                                        + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getAddress().get(k).getAddressLine().get(k).getValue())
-                                                        + "</div>"
-                                                        + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.keyname.optional") + ": &nbsp;</div>"
-                                                        + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.ADDRESS + k + PostBackConstants.ADDRESSLINE + contactaddresslines + PostBackConstants.KEYNAME + "\">"
-                                                        + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getAddress().get(k).getAddressLine().get(k).getKeyName())
-                                                        + "</div>"
-                                                        + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.keyvalue.optional") + ": &nbsp;</div>"
-                                                        + "<div class=\"edit\" id=\"" + PostBackConstants.CONTACT_PREFIX + contactid + PostBackConstants.ADDRESS + k + PostBackConstants.ADDRESSLINE + contactaddresslines + PostBackConstants.KEYVALUE + "\">"
-                                                        + StringEscapeUtils.escapeHtml(bd.getContacts().getContact().get(i).getAddress().get(k).getAddressLine().get(k).getKeyValue())
-                                                        + "</div>"
-                                                        + "</div>");
-                                            }
-                                        }
+                                    }     //end of address loop
+                                    out.write("</div>");
+                                }//end of contact loop
 
-                                    }
-                                }
 
                             %>
-                        </div>
-                    </div>
+                        </div><!-- contact container -->
+                    </div><!-- contact tab -->
                     <div class="tab-pane " id="categories">
 
                         <b><%=ResourceLoader.GetResource(session, "pages.editor.tabnav.categories")%> </b>- 
                         <%=ResourceLoader.GetResource(session, "items.categories.description")%>
                         <br><br>
                         <b><%=ResourceLoader.GetResource(session, "items.keyrefcats")%>:</b><br>
-                        <a href="javascript:AddCategoryKeyReference();"><i class="icon-plus-sign"></i></a> <%=ResourceLoader.GetResource(session, "items.keyrefcat.add")%> <Br>
+                        <a href="javascript:AddCategoryKeyReference();"><i class="icon-plus-sign icon-large"></i></a> <%=ResourceLoader.GetResource(session, "items.keyrefcat.add")%> <Br>
                         <div id="catContainer" style="border-width: 2px; border-style: solid;" >
 
 
@@ -384,20 +385,20 @@
                                 for (int i = 0; i < bd.getCategoryBag().getKeyedReference().size(); i++) {
 
                                     out.write("<div id=\"" + PostBackConstants.CATBAG_KEY_REF + i + "\" style=\"border-width:2px; border-style:solid\">");
-                                    out.write("<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('" + PostBackConstants.CATBAG_KEY_REF + i + "');\"><i class=\"icon-remove-sign\"></i></a></div>");
-                                    out.write("<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.key") + ":  &nbsp;</div>"
+                                    out.write("<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('" + PostBackConstants.CATBAG_KEY_REF + i + "');\"><i class=\"icon-remove-sign icon-large\"></i></a></div>");
+                                    out.write("<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.key") + " (<a href=\"javascript:tModelModal('" + PostBackConstants.CATBAG_KEY_REF + i + PostBackConstants.VALUE + "')\" >" + "<i class=\"icon-list-alt icon-large\"></i>" + ResourceLoader.GetResource(session, "items.picker") + "</a>): &nbsp;</div>"
                                             + "<div class=\"edit\" id=\"" + PostBackConstants.CATBAG_KEY_REF + i + PostBackConstants.VALUE + "\">" + StringEscapeUtils.escapeHtml(bd.getCategoryBag().getKeyedReference().get(i).getTModelKey()) + "</div>");
                                     out.write("<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.name") + ": &nbsp;</div>"
-                                            + "<div class=\"edit\" id=\"" + PostBackConstants.CATBAG_KEY_REF + i + "KeyName\">" + StringEscapeUtils.escapeHtml(bd.getCategoryBag().getKeyedReference().get(i).getKeyName()) + "</div>");
+                                            + "<div class=\"edit\" id=\"" + PostBackConstants.CATBAG_KEY_REF + i + PostBackConstants.KEYNAME + "\">" + StringEscapeUtils.escapeHtml(bd.getCategoryBag().getKeyedReference().get(i).getKeyName()) + "</div>");
                                     out.write("<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.value") + ": &nbsp;</div>"
-                                            + "<div class=\"edit\" id=\"" + PostBackConstants.CATBAG_KEY_REF + i + "KeyValue\">" + StringEscapeUtils.escapeHtml(bd.getCategoryBag().getKeyedReference().get(i).getKeyValue()) + "</div>");
+                                            + "<div class=\"edit\" id=\"" + PostBackConstants.CATBAG_KEY_REF + i + PostBackConstants.KEYVALUE + "\">" + StringEscapeUtils.escapeHtml(bd.getCategoryBag().getKeyedReference().get(i).getKeyValue()) + "</div>");
                                     out.write("</div>");
                                 }
                             %>
                         </div>
                         <br>
                         <b><%=ResourceLoader.GetResource(session, "items.keyrefgroup")%></b><br>
-                        <a href="javascript:AddCategoryKeyReferenceGroup();"><i class="icon-plus-sign"></i></a> <%=ResourceLoader.GetResource(session, "items.keyrefgroup.add")%><br>
+                        <a href="javascript:AddCategoryKeyReferenceGroup();"><i class="icon-plus-sign icon-large"></i></a> <%=ResourceLoader.GetResource(session, "items.keyrefgroup.add")%><br>
                         <div id="catContainerGrp" style="border-width: 2px; border-style: solid;" >
 
 
@@ -405,25 +406,25 @@
                                 for (int i = 0; i < bd.getCategoryBag().getKeyedReferenceGroup().size(); i++) {
 
                                     out.write("<div id=\"" + PostBackConstants.CATBAG_KEY_REF_GRP + i + "\" style=\"border-width:2px; border-style:solid\">"
-                                            + "<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('" + PostBackConstants.CATBAG_KEY_REF_GRP + i + "');\"><i class=\"icon-remove-sign\"></i></a></div>"
-                                            + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.key") + ":  &nbsp;</div>"
+                                            + "<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('" + PostBackConstants.CATBAG_KEY_REF_GRP + i + "');\"><i class=\"icon-remove-sign icon-large\"></i></a></div>"
+                                            + "<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.key") + " (<a href=\"javascript:tModelModal('" + PostBackConstants.CATBAG_KEY_REF_GRP + i + PostBackConstants.VALUE + "')\" >" + "<i class=\"icon-list-alt icon-large\"></i>" + ResourceLoader.GetResource(session, "items.picker") + "</a>): &nbsp;</div>"
                                             + "<div class=\"edit\" id=\"" + PostBackConstants.CATBAG_KEY_REF_GRP + i + PostBackConstants.VALUE + "\">"
                                             + StringEscapeUtils.escapeHtml(bd.getCategoryBag().getKeyedReferenceGroup().get(i).getTModelKey())
                                             + "</div>"
-                                            + "<div id=\"" + PostBackConstants.CATBAG_KEY_REF_GRP + i + "keyref\" style=\"border-width:1px; border-style:solid\">"
-                                            + "<div style=\"float:left;height:100%\"><a href=\"javascript:AddCategoryKeyReferenceGroupKeyRef('" + PostBackConstants.CATBAG_KEY_REF_GRP + i + "keyref');\"><i class=\"icon-plus-sign\"></i></a></div>"
+                                            + "<div id=\"" + PostBackConstants.CATBAG_KEY_REF_GRP + i + PostBackConstants.KEY_REF + "\" style=\"border-width:1px; border-style:solid\">"
+                                            + "<div style=\"float:left;height:100%\"><a href=\"javascript:AddCategoryKeyReferenceGroupKeyRef('" + PostBackConstants.CATBAG_KEY_REF_GRP + i + "');\"><i class=\"icon-plus-sign icon-large\"></i></a></div>"
                                             + ResourceLoader.GetResource(session, "items.keyrefcat.add")
                                             + "</div>");
                                     for (int k = 0; k < bd.getCategoryBag().getKeyedReferenceGroup().get(i).getKeyedReference().size(); k++) {
 
-                                        out.write("<div id=\"" + PostBackConstants.CATBAG_KEY_REF_GRP + i + "keyref" + k + "\" style=\"border-width:1px; border-style:solid\">");
-                                        out.write("<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('" + PostBackConstants.CATBAG_KEY_REF_GRP + i + "keyref" + k + "');\"><i class=\"icon-remove-sign\"></i></a></div>");
-                                        out.write("<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.key") + ":  &nbsp;</div>"
-                                                + "<div class=\"edit\" id=\"" + PostBackConstants.CATBAG_KEY_REF_GRP + i + "keyref" + k + PostBackConstants.VALUE + "\">" + StringEscapeUtils.escapeHtml(bd.getCategoryBag().getKeyedReferenceGroup().get(i).getKeyedReference().get(k).getTModelKey()) + "</div>");
+                                        out.write("<div id=\"" + PostBackConstants.CATBAG_KEY_REF_GRP + i + PostBackConstants.KEY_REF + k + "\" style=\"border-width:1px; border-style:solid\">");
+                                        out.write("<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('" + PostBackConstants.CATBAG_KEY_REF_GRP + i + PostBackConstants.KEY_REF + k + "');\"><i class=\"icon-remove-sign icon-large\"></i></a></div>");
+                                        out.write("<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.key") + " (<a href=\"javascript:tModelModal('" + PostBackConstants.CATBAG_KEY_REF_GRP + i + PostBackConstants.KEY_REF + k + PostBackConstants.VALUE + "')\" >" + "<i class=\"icon-list-alt icon-large\"></i>" + ResourceLoader.GetResource(session, "items.picker") + "</a>): &nbsp;</div>"
+                                                + "<div class=\"edit\" id=\"" + PostBackConstants.CATBAG_KEY_REF_GRP + i + PostBackConstants.KEY_REF + k + PostBackConstants.VALUE + "\">" + StringEscapeUtils.escapeHtml(bd.getCategoryBag().getKeyedReferenceGroup().get(i).getKeyedReference().get(k).getTModelKey()) + "</div>");
                                         out.write("<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.name") + ":  &nbsp;</div>"
-                                                + "<div class=\"edit\" id=\"" + PostBackConstants.CATBAG_KEY_REF_GRP + i + "keyref" + k + "KeyName\">" + StringEscapeUtils.escapeHtml(bd.getCategoryBag().getKeyedReferenceGroup().get(i).getKeyedReference().get(k).getKeyName()) + "</div>");
+                                                + "<div class=\"edit\" id=\"" + PostBackConstants.CATBAG_KEY_REF_GRP + i + PostBackConstants.KEY_REF + k + PostBackConstants.KEYNAME + "\">" + StringEscapeUtils.escapeHtml(bd.getCategoryBag().getKeyedReferenceGroup().get(i).getKeyedReference().get(k).getKeyName()) + "</div>");
                                         out.write("<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.value") + ": &nbsp;</div>"
-                                                + "<div class=\"edit\" id=\"" + PostBackConstants.CATBAG_KEY_REF_GRP + i + "keyref" + k + "KeyValue\">" + StringEscapeUtils.escapeHtml(bd.getCategoryBag().getKeyedReferenceGroup().get(i).getKeyedReference().get(k).getKeyValue()) + "</div>");
+                                                + "<div class=\"edit\" id=\"" + PostBackConstants.CATBAG_KEY_REF_GRP + i + PostBackConstants.KEY_REF + k + PostBackConstants.KEYVALUE + "\">" + StringEscapeUtils.escapeHtml(bd.getCategoryBag().getKeyedReferenceGroup().get(i).getKeyedReference().get(k).getKeyValue()) + "</div>");
                                         out.write("</div>");
                                     }
 
@@ -439,18 +440,18 @@
                         <%=ResourceLoader.GetResource(session, "items.identifiers.description")%>
 
                         <Br>
-                        <a href="javascript:AddIdentKeyReference();"><i class="icon-plus-sign"></i></a> <%=ResourceLoader.GetResource(session, "items.keyrefcat.add")%> <Br>
+                        <a href="javascript:AddIdentKeyReference();"><i class="icon-plus-sign icon-large"></i></a> <%=ResourceLoader.GetResource(session, "items.keyrefcat.add")%> <Br>
                         <div id="identContainer" style="border-width: 2px; border-style: solid;" >
                             <%
                                 for (int i = 0; i < bd.getIdentifierBag().getKeyedReference().size(); i++) {
                                     out.write("<div id=\"identbagkeyref" + i + "\" style=\"border-width:2px; border-style:solid\">");
-                                    out.write("<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('identbagkeyref" + i + "');\"><i class=\"icon-remove-sign\"></i></a></div>");
-                                    out.write("<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.key") + ":  &nbsp;</div>"
-                                            + "<div class=\"edit\" id=\"identbagkeyref" + i + PostBackConstants.VALUE + "\">" + StringEscapeUtils.escapeHtml(bd.getIdentifierBag().getKeyedReference().get(i).getTModelKey()) + "</div>");
+                                    out.write("<div style=\"float:left;height:100%\"><a href=\"javascript:Remove('identbagkeyref" + i + "');\"><i class=\"icon-remove-sign icon-large\"></i></a></div>");
+                                    out.write("<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.key") + " (<a href=\"javascript:tModelModal('" + PostBackConstants.IDENT_KEY_REF + i + PostBackConstants.VALUE + "')\" >" + "<i class=\"icon-list-alt icon-large\"></i> " + ResourceLoader.GetResource(session, "items.picker") + "</a>):  &nbsp;</div>"
+                                            + "<div class=\"edit\" id=\"" + PostBackConstants.IDENT_KEY_REF + i + PostBackConstants.VALUE + "\">" + StringEscapeUtils.escapeHtml(bd.getIdentifierBag().getKeyedReference().get(i).getTModelKey()) + "</div>");
                                     out.write("<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.name") + ":  &nbsp;</div>"
-                                            + "<div class=\"edit\" id=\"identbagkeyref" + i + "KeyName\">" + StringEscapeUtils.escapeHtml(bd.getIdentifierBag().getKeyedReference().get(i).getKeyName()) + "</div>");
+                                            + "<div class=\"edit\" id=\"" + PostBackConstants.IDENT_KEY_REF + i + PostBackConstants.KEYNAME + "\">" + StringEscapeUtils.escapeHtml(bd.getIdentifierBag().getKeyedReference().get(i).getKeyName()) + "</div>");
                                     out.write("<div style=\"float:left\">" + ResourceLoader.GetResource(session, "items.value") + ": &nbsp;</div>"
-                                            + "<div class=\"edit\" id=\"identbagkeyref" + i + "KeyValue\">" + StringEscapeUtils.escapeHtml(bd.getIdentifierBag().getKeyedReference().get(i).getKeyValue()) + "</div>");
+                                            + "<div class=\"edit\" id=\"" + PostBackConstants.IDENT_KEY_REF + i + PostBackConstants.KEYVALUE + "\">" + StringEscapeUtils.escapeHtml(bd.getIdentifierBag().getKeyedReference().get(i).getKeyValue()) + "</div>");
                                     out.write("</div>");
                                 }
                             %>
@@ -468,7 +469,7 @@
                         <%if (!newitem) {
                         %>
                         <br>
-                        <a href="serviceEditor.jsp?bizid=<%=URLEncoder.encode(bd.getBusinessKey(), "UTF-8")%>"><i class="icon-plus-sign"></i> <%=ResourceLoader.GetResource(session, "items.service.add")%> </a>
+                        <a href="serviceEditor.jsp?bizid=<%=URLEncoder.encode(bd.getBusinessKey(), "UTF-8")%>"><i class="icon-plus-sign icon-large"></i> <%=ResourceLoader.GetResource(session, "items.service.add")%> </a>
                         <%
                             }
                         %>
@@ -487,7 +488,7 @@
                                         <%
                                             out.write(bd.getBusinessServices().getBusinessService().get(i).getServiceKey());
                                         %>
-                                        <i class="icon-edit"></i></a>
+                                        <i class="icon-edit icon-large"></i></a>
                                 </td><td>
                                     <%
                                         if (bd.getBusinessServices().getBusinessService().get(i).getBindingTemplates() == null) {
@@ -549,6 +550,10 @@
 
                     </div>
                     <div class="tab-pane" id="relations">
+                        <%
+                            if (!newitem) {
+
+                        %>
                         <script type="text/javascript">
                             var data2 = new Array();
                             data2.push({
@@ -572,11 +577,13 @@
                                 }});
                             
                         </script>
-                        <a href="assertions.jsp?fromkey=<%=URLEncoder.encode(bizid, "UTF-8")%>"> <i class="icon-plus-sign"></i>
+                        <a href="assertions.jsp?fromkey=<%=URLEncoder.encode(bizid, "UTF-8")%>"> <i class="icon-plus-sign icon-large"></i>
                             <%=ResourceLoader.GetResource(session, "items.publisherassertion.add")%></a><br>
                         <div id="relationresults"></div>
 
-
+                        <%
+                            }
+                        %>
                     </div>
                 </div>
             </div>
@@ -584,22 +591,24 @@
                 <%
                     if (bd.getSignature().isEmpty()) {
                 %>
-                <a class="btn btn-primary " href="javascript:saveBusiness();"><%=ResourceLoader.GetResource(session, "actions.save")%></a>
+                <a class="btn btn-primary " href="javascript:saveBusiness();"><i class="icon-save icon-large"></i> <%=ResourceLoader.GetResource(session, "actions.save")%></a>
                 <%  } else {
                 %>
-                <a href="#confirmDialog" role="button" class="btn btn-primary" data-toggle="modal"><%=ResourceLoader.GetResource(session, "actions.save")%></a>
+                <a href="#confirmDialog" role="button" class="btn btn-primary" data-toggle="modal"><i class="icon-save icon-large"></i> <%=ResourceLoader.GetResource(session, "actions.save")%></a>
 
                 <%        }
                     if (!newitem) {
 
                 %> | 
-                <a class="btn btn-danger " href="javascript:deleteBusiness();"><%=ResourceLoader.GetResource(session, "actions.delete")%></a> |
-                <a class="btn btn-success " href="signer.jsp?id=<%=URLEncoder.encode(bizid, "UTF-8")%>&type=business"><%=ResourceLoader.GetResource(session, "actions.sign")%></a> |
-                <a class="btn btn-info " href="#" title="<%=ResourceLoader.GetResource(session, "actions.subscribe.description")%>"><%=ResourceLoader.GetResource(session, "actions.subscribe")%></a> |
-                <a class="btn btn-warning " href="#" title="<%=ResourceLoader.GetResource(session, "actions.transfer.description")%>"><%=ResourceLoader.GetResource(session, "actions.transfer")%></a> |
-                <a class="btn "  href="javascript:ViewAsXML();"><%=ResourceLoader.GetResource(session, "actions.asxml")%></a>
-                <%}%>
-                <script type="text/javascript" src="js/businessEditor.js"></script>
+                <a class="btn btn-danger " href="javascript:deleteBusiness();"><i class="icon-remove-sign icon-large"></i> <%=ResourceLoader.GetResource(session, "actions.delete")%></a> |
+                <a class="btn btn-success " href="signer.jsp?id=<%=URLEncoder.encode(bizid, "UTF-8")%>&type=business"><i class="icon-pencil icon-large"></i> <%=ResourceLoader.GetResource(session, "actions.sign")%></a> |
+                <a class="btn btn-info " href="#" title="<%=ResourceLoader.GetResource(session, "actions.subscribe.description")%>"><i class="icon-rss icon-large"></i> <%=ResourceLoader.GetResource(session, "actions.subscribe")%></a> |
+                <a class="btn btn-warning " href="#" title="<%=ResourceLoader.GetResource(session, "actions.transfer.description")%>"><i class="icon-exchange icon-large"></i> <%=ResourceLoader.GetResource(session, "actions.transfer")%></a> |
+                <a class="btn "  href="javascript:ViewAsXML();"><i class="icon-screenshot icon-large"></i> <%=ResourceLoader.GetResource(session, "actions.asxml")%></a>
+                <%
+                    }
+                %>
+
                 <script type="text/javascript">
                     Reedit();
                     <%
@@ -668,7 +677,7 @@
             <h3>Add a subscription</h3>
         </div>
         <div class="modal-body">
-          You can setup a subscription for this business to automatically alert you when there is a change
+            You can setup a subscription for this business to automatically alert you when there is a change
         </div>
         <div class="modal-footer">
 
@@ -678,5 +687,6 @@
     <%
         }
     %>
+    <%@include file="tmodelChooser.jsp" %>
     <!-- container div is in header bottom-->
     <%@include file="header-bottom.jsp" %>
\ No newline at end of file

Modified: juddi/branches/juddi-3.2.x/juddi-gui/web/createSubscription.jsp
URL: http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-gui/web/createSubscription.jsp?rev=1471182&r1=1471181&r2=1471182&view=diff
==============================================================================
--- juddi/branches/juddi-3.2.x/juddi-gui/web/createSubscription.jsp (original)
+++ juddi/branches/juddi-3.2.x/juddi-gui/web/createSubscription.jsp Tue Apr 23 22:19:34 2013
@@ -40,13 +40,12 @@
     <div class="row">
         <div class="span12">
             <p>
-                
+
 
             </p>
-            
-            <%
-                Subscription sub = new Subscription();
 
+            <%                
+                
             %>
 
 
@@ -60,12 +59,27 @@
                     <div id="collapseOne" class="accordion-body collapse in">
                         <div class="accordion-inner">
                             <div class="btn-group" id="alertType" data-toggle="buttons-radio">
-                                <a href="#" class="btn">Changes to a specific item</a>
-                                <a href="#" class="btn">Changes to search results, such as a new item</a>
+                                <button onclick="return toggleType1();" value="specificItem" class="btn" >Changes to a specific item</button>
+                                <button onclick="return toggleType2();" value="searchResults" class="btn">Changes to search results, such as a new item</button>
                             </div>
                         </div>
+                        <script type="text/javascript">
+                            function toggleType1()
+                            {
+                                $("#basedonresults").hide();
+                                $("#specific").show();
+                                return false;
+                            }
+                            function toggleType2()
+                            {
+                                  $("#basedonresults").show();
+                                $("#specific").hide();
+                                return false;
+                            }
+                        </script>
                     </div>
                 </div>
+
                 <div class="accordion-group">
                     <div class="accordion-heading">
                         <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo">
@@ -74,19 +88,38 @@
                     </div>
                     <div id="collapseTwo" class="accordion-body collapse">
                         <div class="accordion-inner">
-                            <div class="btn-group" id="alertCritera" data-toggle="buttons-radio">
-                                <a href="#" class="btn">Binding</a>
-                                <a href="#" class="btn">Business</a>
-                                <a href="#" class="btn">Publisher Assertion Status</a>
-                                <a href="#" class="btn">Related Business</a>
-                                <a href="#" class="btn">Service</a>
-                                <a href="#" class="btn">tModel</a>
+                            <div id="specific">
+                                A specific item:<Br>
+                                <div class="btn-group" id="alertCriteraSingleItem" data-toggle="buttons-radio">
+                                    <button onclick="return false;" class="btn" value="binding">Binding</button>
+                                    <button onclick="return false;" class="btn" value="business">Business</button>
+                                    <button onclick="return false;" class="btn" value="service">Service</button>
+                                    <button onclick="return false;" class="btn" value="tmodel">tModel</button>
+                                </div><br><br>
+                                <div style="float:left">Key: &nbsp;</div>
+                                <div class="edit" id="itemKey"></div>
                             </div>
+                            <div id="basedonresults">
+                                Search results:<br>
+                                <div class="btn-group" id="alertCriteraMultipleItem" data-toggle="buttons-radio">
+                                    <button onclick="return false;" class="btn" value="binding">Binding</button>
+                                    <button onclick="return false;" class="btn" value="business">Business</button>
+                                    <button onclick="return false;" class="btn" value="service">Service</button>
+                                    <button onclick="return false;" class="btn" value="tmodel">tModel</button>
+                                    <button onclick="return false;" class="btn" value="publisherAssertion">Publisher Assertion Status</button>
+                                    <button onclick="return false;" class="btn" value="relatedBusiness">Related Business</button>
+                                </div>
+                                <br><br>
+                                <input type="text" placeholder="Type something…" id="searchcontent">
+                                <input type="text" placeholder="Language" id="lang"><br>
+                            </div>
+
+
                         </div>
-                       
+
                     </div>
                 </div>
-                
+
                 <div class="accordion-group">
                     <div class="accordion-heading">
                         <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseThree">
@@ -96,36 +129,186 @@
                     <div id="collapseThree" class="accordion-body collapse">
                         <div class="accordion-inner">
                             <div class="btn-group" id="alertTransport" data-toggle="buttons-radio">
-                                <a href="#" class="btn">Send me alerts directly</a>
-                                <a href="#" class="btn">I'll pick them up</a>
+                                <button onclick="return toggleTransport1();" value="bindingTemplate" class="btn" title="Either via a UDDI Subscription Callback or via Email">Send me alerts directly</button>
+                                <button onclick="return toggleTransport2();" value="manual" class="btn" title="Either via this website or from your own software">I'll pick them up</button>
                             </div><br>
-                            <input type="text" id="bindingKey" autocomplete="false" placeholder="Binding Template">
+                            <input type="text" id="bindingKey" autocomplete="false" placeholder="Binding Template Key or Email Address">
+                            <script type="text/javascript">
+                                function toggleTransport1()
+                                {
+                                    $("#bindingKey").show();
+                                    return false;
+                                }
+                                function toggleTransport2()
+                                {
+                                    $("#bindingKey").hide();
+                                    return false;
+                                }
+                            </script>
                         </div>
                     </div>
                 </div>
-                
-                
+
+
                 <div class="accordion-group">
                     <div class="accordion-heading">
                         <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapse4">
-                            Step 3 - How do want to receive the alerts?
+                            Step 4 - Options
                         </a>
                     </div>
                     <div id="collapse4" class="accordion-body collapse">
                         <div class="accordion-inner">
-                            <div class="btn-group" id="alertTransport" data-toggle="buttons-radio">
-                                <a href="#" class="btn">Send me alerts directly</a>
-                                <a href="#" class="btn">I'll pick them up</a>
-                            </div><br>
-                            <input type="text" id="bindingKey" autocomplete="false" placeholder="Binding Template">
+                            <div style="float:left">Max records per callback: &nbsp;</div>
+                            <div class="edit" id="maxRecords">50</div>
+                            <div style="float:left">Brief subscription: &nbsp;</div>
+                            <div class="edit" id="brief">true</div>
+
+                            Expiration: 
+                            <div id="datetimepicker2" class="input-append">
+                                <input data-format="MM/dd/yyyy HH:mm:ss PP" type="text"></input>
+                                <span class="add-on">
+                                    <i data-time-icon="icon-time" data-date-icon="icon-calendar">
+                                    </i>
+                                </span>
+                            </div>
+                            <script type="text/javascript">
+                                $(function() {
+                                    $('#datetimepicker2').datetimepicker({
+                                        language: '<%=(String) session.getAttribute("locale")%>',
+                                        pick12HourFormat: true
+                                    });
+                                });
+                            </script>
+
+
+                            <div style="">Notification Interval: &nbsp;</div>
+
+                            <div class="input-append bootstrap-timepicker">
+                                <input id="timepicker2" type="text" class="input-small">
+                                <span class="add-on">
+                                    <i class="icon-time"></i>
+                                </span>
+                            </div>
+
+                            <script type="text/javascript">
+                                $('#timepicker2').timepicker({
+                                    minuteStep: 1,
+                                    template: 'modal',
+                                    showSeconds: true,
+                                    showMeridian: false
+                                });
+                            </script>
+                            <br>
+                            <div style="float:left">Subscription Key: &nbsp;</div>
+                            <div class="edit" id="subkey"></div>
+
+
+
                         </div>
                     </div>
                 </div>
+
+
+                <script type="text/javascript">
+                    Reedit()
+                    function saveSubscription()
+                    {
+                        
+                        var interval = $("#interval").val();
+                        var maxRecords = $("#maxRecords").val();
+                        var brief = $("#brief").val();
+                        var datetimepicker2 = $("#datetimepicker2").val();
+                        var subkey = $("#subkey").val();
+
+                        var alertCriteraSingleItem = $("#alertCriteraSingleItem > button.btn.active").val();
+                        var alertTransport = $("#alertTransport > button.btn.active").val();
+                        var itemKey = $("#itemKey").val();
+                        var bindingKey = $("#bindingKey").val();
+                        var alertType = $("#alertType > button.btn.active").val();
+                        var postbackdata = new Array();
+                        var url='ajax/subscription.jsp';
+                        
+                        
+                        
+                        postbackdata.push({
+                            name:"subkey", 
+                            value: subkey
+                        });
+                        
+                        postbackdata.push({
+                            name:"datetimepicker2", 
+                            value: datetimepicker2
+                        });
+                        
+                        postbackdata.push({
+                            name:"brief", 
+                            value: brief
+                        });
+                        
+                        postbackdata.push({
+                            name:"maxRecords", 
+                            value: maxRecords
+                        });
+                        
+                        postbackdata.push({
+                            name:"interval", 
+                            value: interval
+                        });
+                        
+                        
+                        
+                        
+                        
+                        postbackdata.push({
+                            name:"alertType", 
+                            value: alertType
+                        });
+                        postbackdata.push({
+                            name:"itemKey", 
+                            value: itemKey
+                        });
+                        postbackdata.push({
+                            name:"alertCriteraSingleItem", 
+                            value: alertCriteraSingleItem
+                        });
+                        postbackdata.push({
+                            name:"bindingKey", 
+                            value: bindingKey
+                        });
+                        postbackdata.push({
+                            name:"alertTransport", 
+                            value: alertTransport
+                        });
+            
+                        var request=   $.ajax({
+                            url: url,
+                            type:"POST",
+                            //  dataType: "html", 
+                            cache: false, 
+                            //  processData: false,f
+                            data: postbackdata
+                        });
                 
                 
-            </div>
+                        request.done(function(msg) {
+                            window.console && console.log('postback done '  + url);                
+        
+                            $("#resultBar").html('<a class="close" data-dismiss="alert" href="javascript:hideAlert();">&times;'  + '</a>' + msg);
+                            $("#resultBar").show();
+        
+                        });
 
+                        request.fail(function(jqXHR, textStatus) {
+                            window.console && console.log('postback failed ' + url);                                
+                            $("#resultBar").html('<a class="close" data-dismiss="alert" href="javascript:hideAlert();">&times;'  + '</a>' + textStatus);
+                            $("#resultBar").show();
+        
+                        });
+                    }
+                </script>
+            </div>
 
+            <a  class="btn btn-primary" href="javascript:saveSubscription();"><i class="icon-save icon-large"></i> <%=ResourceLoader.GetResource(session, "actions.save")%></a>
         </div>
     </div>
     <%@include file="header-bottom.jsp" %>
\ No newline at end of file

Added: juddi/branches/juddi-3.2.x/juddi-gui/web/css/bootstrap-datetimepicker.min.css
URL: http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-gui/web/css/bootstrap-datetimepicker.min.css?rev=1471182&view=auto
==============================================================================
--- juddi/branches/juddi-3.2.x/juddi-gui/web/css/bootstrap-datetimepicker.min.css (added)
+++ juddi/branches/juddi-3.2.x/juddi-gui/web/css/bootstrap-datetimepicker.min.css Tue Apr 23 22:19:34 2013
@@ -0,0 +1,8 @@
+/*!
+ * Datepicker for Bootstrap
+ *
+ * Copyright 2012 Stefan Petre
+ * Licensed under the Apache License v2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ */.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:"";line-height:0}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bootstrap-datetimepicker-widget{top:0;left:0;width:250px;padding:4px;margin-top:1px;z-index:3000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.bootstrap-datetimepicker-widget:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,0.2);position:absolute;top:-7px;left:6px}.bootstrap-datetimepicker-widget:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;position:absolute;top:-6px;left:7px}.bootstrap-datetimepick
 er-widget>ul{list-style-type:none;margin:0}.bootstrap-datetimepicker-widget .timepicker-hour,.bootstrap-datetimepicker-widget .timepicker-minute,.bootstrap-datetimepicker-widget .timepicker-second{width:100%;font-weight:bold;font-size:1.2em}.bootstrap-datetimepicker-widget table[data-hour-format="12"] .separator{width:4px;padding:0;margin:0}.bootstrap-datetimepicker-widget .datepicker>div{display:none}.bootstrap-datetimepicker-widget .picker-switch{text-align:center}.bootstrap-datetimepicker-widget table{width:100%;margin:0}.bootstrap-datetimepicker-widget td,.bootstrap-datetimepicker-widget th{text-align:center;width:20px;height:20px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.bootstrap-datetimepicker-widget td.day:hover,.bootstrap-datetimepicker-widget td.hour:hover,.bootstrap-datetimepicker-widget td.minute:hover,.bootstrap-datetimepicker-widget td.second:hover{background:#eee;cursor:pointer}.bootstrap-datetimepicker-widget td.old,.bootstrap-dateti
 mepicker-widget td.new{color:#999}.bootstrap-datetimepicker-widget td.active,.bootstrap-datetimepicker-widget td.active:hover{color:#fff;background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0044cc',GradientType=0);border-color:#04c #04c #002a80;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.bootstrap-datetimepicker-widget td.active:hover,.bootstrap-datetimepicker-widget td.active:hover:hover,.bootstrap-datetimepicker-widget td.active:active,.bootstrap-
 datetimepicker-widget td.active:hover:active,.bootstrap-datetimepicker-widget td.active.active,.bootstrap-datetimepicker-widget td.active:hover.active,.bootstrap-datetimepicker-widget td.active.disabled,.bootstrap-datetimepicker-widget td.active:hover.disabled,.bootstrap-datetimepicker-widget td.active[disabled],.bootstrap-datetimepicker-widget td.active:hover[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.bootstrap-datetimepicker-widget td.active:active,.bootstrap-datetimepicker-widget td.active:hover:active,.bootstrap-datetimepicker-widget td.active.active,.bootstrap-datetimepicker-widget td.active:hover.active{background-color:#039 \9}.bootstrap-datetimepicker-widget td.disabled,.bootstrap-datetimepicker-widget td.disabled:hover{background:0;color:#999;cursor:not-allowed}.bootstrap-datetimepicker-widget td span{display:block;width:47px;height:54px;line-height:54px;float:left;margin:2px;cursor:pointer;-webkit-border-radius:4px;-moz-border-radius:4px;
 border-radius:4px}.bootstrap-datetimepicker-widget td span:hover{background:#eee}.bootstrap-datetimepicker-widget td span.active{color:#fff;background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0044cc',GradientType=0);border-color:#04c #04c #002a80;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.bootstrap-datetimepicker-widget td span.active:hover,.bootstrap-datetimepicker-widget td span.active:active,.bootstrap-datetimepicker-widget td span.active.activ
 e,.bootstrap-datetimepicker-widget td span.active.disabled,.bootstrap-datetimepicker-widget td span.active[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.bootstrap-datetimepicker-widget td span.active:active,.bootstrap-datetimepicker-widget td span.active.active{background-color:#039 \9}.bootstrap-datetimepicker-widget td span.old{color:#999}.bootstrap-datetimepicker-widget td span.disabled,.bootstrap-datetimepicker-widget td span.disabled:hover{background:0;color:#999;cursor:not-allowed}.bootstrap-datetimepicker-widget th.switch{width:145px}.bootstrap-datetimepicker-widget th.next,.bootstrap-datetimepicker-widget th.prev{font-size:21px}.bootstrap-datetimepicker-widget th.disabled,.bootstrap-datetimepicker-widget th.disabled:hover{background:0;color:#999;cursor:not-allowed}.bootstrap-datetimepicker-widget thead tr:first-child th{cursor:pointer}.bootstrap-datetimepicker-widget thead tr:first-child th:hover{background:#eee}.input-append.date .add-on i,.i
 nput-prepend.date .add-on i{display:block;cursor:pointer;width:16px;height:16px}
\ No newline at end of file

Added: juddi/branches/juddi-3.2.x/juddi-gui/web/css/bootstrap-timepicker.min.css
URL: http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-gui/web/css/bootstrap-timepicker.min.css?rev=1471182&view=auto
==============================================================================
--- juddi/branches/juddi-3.2.x/juddi-gui/web/css/bootstrap-timepicker.min.css (added)
+++ juddi/branches/juddi-3.2.x/juddi-gui/web/css/bootstrap-timepicker.min.css Tue Apr 23 22:19:34 2013
@@ -0,0 +1,10 @@
+/*!
+ * Timepicker Component for Twitter Bootstrap
+ *
+ * Copyright 2013 Joris de Wit
+ *
+ * Contributors https://github.com/jdewit/bootstrap-timepicker/graphs/contributors
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */.bootstrap-timepicker{position:relative}.bootstrap-timepicker.pull-right .bootstrap-timepicker-widget.dropdown-menu{left:auto;right:0}.bootstrap-timepicker.pull-right .bootstrap-timepicker-widget.dropdown-menu:before{left:auto;right:12px}.bootstrap-timepicker.pull-right .bootstrap-timepicker-widget.dropdown-menu:after{left:auto;right:13px}.bootstrap-timepicker .add-on{cursor:pointer}.bootstrap-timepicker .add-on i{display:inline-block;width:16px;height:16px}.bootstrap-timepicker-widget.dropdown-menu{padding:2px 3px 2px 2px}.bootstrap-timepicker-widget.dropdown-menu.open{display:inline-block}.bootstrap-timepicker-widget.dropdown-menu:before{border-bottom:7px solid rgba(0,0,0,0.2);border-left:7px solid transparent;border-right:7px solid transparent;content:"";display:inline-block;left:9px;position:absolute;top:-7px}.bootstrap-timepicker-widget.dropdown-menu:after{border-bottom:6px solid #fff;border-left:6px solid transparent;border-right:6px solid transparent;content:"";dis
 play:inline-block;left:10px;position:absolute;top:-6px}.bootstrap-timepicker-widget a.btn,.bootstrap-timepicker-widget input{border-radius:4px}.bootstrap-timepicker-widget table{width:100%;margin:0}.bootstrap-timepicker-widget table td{text-align:center;height:30px;margin:0;padding:2px}.bootstrap-timepicker-widget table td:not(.separator){min-width:30px}.bootstrap-timepicker-widget table td span{width:100%}.bootstrap-timepicker-widget table td a{border:1px transparent solid;width:100%;display:inline-block;margin:0;padding:8px 0;outline:0;color:#333}.bootstrap-timepicker-widget table td a:hover{text-decoration:none;background-color:#eee;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border-color:#ddd}.bootstrap-timepicker-widget table td a i{margin-top:2px}.bootstrap-timepicker-widget table td input{width:25px;margin:0;text-align:center}.bootstrap-timepicker-widget .modal-content{padding:4px}@media(min-width:767px){.bootstrap-timepicker-widget.modal{width:
 200px;margin-left:-100px}}@media(max-width:767px){.bootstrap-timepicker{width:100%}.bootstrap-timepicker .dropdown-menu{width:100%}}
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org


Mime
View raw message