[jboss-svn-commits] JBoss Portal SVN: r5686 - in trunk/core/src: main/org/jboss/portal/core/portlet main/org/jboss/portal/core/portlet/dashboard resources/portal-core-war/WEB-INF/jsp resources/portal-core-war/WEB-INF/jsp/dashboard
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Nov 20 11:58:30 EST 2006
Author: roy.russo at jboss.com
Date: 2006-11-20 11:58:25 -0500 (Mon, 20 Nov 2006)
New Revision: 5686
Added:
trunk/core/src/main/org/jboss/portal/core/portlet/dashboard/
trunk/core/src/main/org/jboss/portal/core/portlet/dashboard/Configurator.java
trunk/core/src/resources/portal-core-war/WEB-INF/jsp/dashboard/
trunk/core/src/resources/portal-core-war/WEB-INF/jsp/dashboard/addpage.jsp
trunk/core/src/resources/portal-core-war/WEB-INF/jsp/dashboard/editpage.jsp
Log:
stub dashboard ui
Added: trunk/core/src/main/org/jboss/portal/core/portlet/dashboard/Configurator.java
===================================================================
--- trunk/core/src/main/org/jboss/portal/core/portlet/dashboard/Configurator.java 2006-11-20 15:42:02 UTC (rev 5685)
+++ trunk/core/src/main/org/jboss/portal/core/portlet/dashboard/Configurator.java 2006-11-20 16:58:25 UTC (rev 5686)
@@ -0,0 +1,31 @@
+/*
+* JBoss, a division of Red Hat
+* Copyright 2006, Red Hat Middleware, LLC, and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.portal.core.portlet.dashboard;
+
+/**
+ * @author <a href="mailto:royrusso at yahoo.com">Roy Russo</a>
+ * @version $Revision: 0 $
+ */
+public class Configurator
+{
+
+}
Added: trunk/core/src/resources/portal-core-war/WEB-INF/jsp/dashboard/addpage.jsp
===================================================================
--- trunk/core/src/resources/portal-core-war/WEB-INF/jsp/dashboard/addpage.jsp 2006-11-20 15:42:02 UTC (rev 5685)
+++ trunk/core/src/resources/portal-core-war/WEB-INF/jsp/dashboard/addpage.jsp 2006-11-20 16:58:25 UTC (rev 5686)
@@ -0,0 +1,82 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ page isELIgnored="false" %>
+
+<portlet:defineObjects/>
+
+<table width="100%">
+ <th colspan="2" class="portlet-section-header" align="center">Add Page</th>
+ <tr>
+ <td class="portlet-section-body" align="left">
+ Use this to manage the content on your page. You can control the page title, select number of columns, and add,
+ order, or remove portlets.
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <form action="addpage" method="POST">
+ <table>
+ <tr>
+ <td>title/layout table</td>
+ <td>
+ <table>
+ <tr>
+ <td class="portlet-section-body" valign="top"><b>Available Content</b><br/>
+ <select name="available_instances" multiple="true" size="20">
+ <option value="">Instance 1</option>
+ <option value="">Instance 2</option>
+ <option value="">Instance 3</option>
+ <option value="">Instance 4</option>
+ <option value="">Instance 5</option>
+ </select>
+ </td>
+ <td>arrows</td>
+ <td class="portlet-section-body" valign="top">
+ <b>Left Column</b><br/>
+ <select name="instances_left" multiple="true">
+ <option value="">Instance 1</option>
+ <option value="">Instance 2</option>
+ <option value="">Instance 3</option>
+ <option value="">Instance 4</option>
+ <option value="">Instance 5</option>
+ </select>
+ <br/><br/>
+ <b>Middle Column</b><br/>
+ <select name="instances_middle" multiple="true">
+ <option value="">Instance 1</option>
+ <option value="">Instance 2</option>
+ <option value="">Instance 3</option>
+ <option value="">Instance 4</option>
+ <option value="">Instance 5</option>
+ </select>
+ <br/><br/>
+ <b>Right Column</b><br/>
+ <select name="instances_right" multiple="true">
+ <option value="">Instance 1</option>
+ <option value="">Instance 2</option>
+ <option value="">Instance 3</option>
+ <option value="">Instance 4</option>
+ <option value="">Instance 5</option>
+ </select>
+ </td>
+ <td>arrows</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="portlet-section-alternate" width="100%" colspan="4" align="center">
+ <input type="submit" name="save" value="Save" class="portlet-form-button"/>
+ </td>
+ </tr>
+ </table>
+ </form>
+ </td>
+ </tr>
+</table>
\ No newline at end of file
Added: trunk/core/src/resources/portal-core-war/WEB-INF/jsp/dashboard/editpage.jsp
===================================================================
--- trunk/core/src/resources/portal-core-war/WEB-INF/jsp/dashboard/editpage.jsp 2006-11-20 15:42:02 UTC (rev 5685)
+++ trunk/core/src/resources/portal-core-war/WEB-INF/jsp/dashboard/editpage.jsp 2006-11-20 16:58:25 UTC (rev 5686)
@@ -0,0 +1,100 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ page isELIgnored="false" %>
+
+<portlet:defineObjects/>
+
+<table width="100%">
+ <th colspan="2" class="portlet-section-header" align="center">Edit Page</th>
+ <tr>
+ <td class="portlet-section-body" align="left">
+ Use this to manage the content on your page. You can control the page title, select number of columns, and add,
+ order, or remove portlets.
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td class="portlet-section-body" align="left"><b>Select a page to edit:</b><br/>
+
+ <form action="" method="POST" style="padding:0;margin:0">
+ <select name="pagename">
+ <option value="">Home</option>
+ <option value="">Blah</option>
+ </select>
+ <input type="submit" name="submit" value="Go" class="portlet-form-button"/>
+ </form>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <form action="editpage" method="POST">
+ <table>
+ <tr>
+ <td>title/layout table</td>
+ <td>
+ <table>
+ <tr>
+ <td class="portlet-section-body" valign="top"><b>Available Content</b><br/>
+ <select name="available_instances" multiple="true" size="20">
+ <option value="">Instance 1</option>
+ <option value="">Instance 2</option>
+ <option value="">Instance 3</option>
+ <option value="">Instance 4</option>
+ <option value="">Instance 5</option>
+ </select>
+ </td>
+ <td>arrows</td>
+ <td class="portlet-section-body" valign="top">
+ <b>Left Column</b><br/>
+ <select name="instances_left" multiple="true">
+ <option value="">Instance 1</option>
+ <option value="">Instance 2</option>
+ <option value="">Instance 3</option>
+ <option value="">Instance 4</option>
+ <option value="">Instance 5</option>
+ </select>
+ <br/><br/>
+ <b>Middle Column</b><br/>
+ <select name="instances_middle" multiple="true">
+ <option value="">Instance 1</option>
+ <option value="">Instance 2</option>
+ <option value="">Instance 3</option>
+ <option value="">Instance 4</option>
+ <option value="">Instance 5</option>
+ </select>
+ <br/><br/>
+ <b>Right Column</b><br/>
+ <select name="instances_right" multiple="true">
+ <option value="">Instance 1</option>
+ <option value="">Instance 2</option>
+ <option value="">Instance 3</option>
+ <option value="">Instance 4</option>
+ <option value="">Instance 5</option>
+ </select>
+ </td>
+ <td>arrows</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="portlet-section-alternate" width="100%" colspan="4" align="center">
+ <input type="submit" name="save" value="Save" class="portlet-form-button"/>
+ <input type="submit" name="delete" value="Delete" class="portlet-form-button"/>
+ </td>
+ </tr>
+ </table>
+ </form>
+ </td>
+ </tr>
+</table>
\ No newline at end of file
More information about the jboss-svn-commits
mailing list