You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-dev@portals.apache.org by dl...@apache.org on 2007/02/05 11:49:07 UTC
svn commit: r503622 - in /portals/wsrp4j/trunk/producer/src/webapp: css/
jsp/configapp/ShowPortletApps.jsp jsp/configapp/UploadFail.jsp
jsp/configapp/UploadSuccess.jsp jsp/index.jsp
Author: dlouzan
Date: Mon Feb 5 02:49:06 2007
New Revision: 503622
URL: http://svn.apache.org/viewvc?view=rev&rev=503622
Log:
Modified the presentation of jsps: added a css stylesheet for some sugar.
Added:
portals/wsrp4j/trunk/producer/src/webapp/css/
Modified:
portals/wsrp4j/trunk/producer/src/webapp/jsp/configapp/ShowPortletApps.jsp
portals/wsrp4j/trunk/producer/src/webapp/jsp/configapp/UploadFail.jsp
portals/wsrp4j/trunk/producer/src/webapp/jsp/configapp/UploadSuccess.jsp
portals/wsrp4j/trunk/producer/src/webapp/jsp/index.jsp
Modified: portals/wsrp4j/trunk/producer/src/webapp/jsp/configapp/ShowPortletApps.jsp
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/producer/src/webapp/jsp/configapp/ShowPortletApps.jsp?view=diff&rev=503622&r1=503621&r2=503622
==============================================================================
--- portals/wsrp4j/trunk/producer/src/webapp/jsp/configapp/ShowPortletApps.jsp (original)
+++ portals/wsrp4j/trunk/producer/src/webapp/jsp/configapp/ShowPortletApps.jsp Mon Feb 5 02:49:06 2007
@@ -24,38 +24,47 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><fmt:message key="ShowPortletApps.pageTitle"/></title>
+ <link rel="stylesheet" href="<c:url value="/css/style.css"/>">
</head>
<body>
<h1><fmt:message key="ShowPortletApps.mainTitle"/></h1>
- <c:choose>
-
- <c:when test="${not empty portlets}">
- <c:forEach var="portlet" items="${portlets}">
- <p>
- <c:out value="${portlet.portletHandle}"/>
- </p>
- </c:forEach>
- </c:when>
-
- <c:otherwise>
- <p><fmt:message key="ShowPortletApps.noPortletsFound"/></p>
- </c:otherwise>
-
- </c:choose>
-
- <h2><fmt:message key="ShowUpload.upload"/></h2>
+ <div>
+ <c:choose>
+ <c:when test="${not empty portlets}">
+ <table>
+ <tr><th><c:out value="<portletApp>.<portletName>"/></th></tr>
+ <c:forEach var="portlet" items="${portlets}">
+ <tr>
+ <td><c:out value="${portlet.portletHandle}"/></td>
+ </tr>
+ </c:forEach>
+ </table>
+ </c:when>
+
+ <c:otherwise>
+ <p><fmt:message key="ShowPortletApps.noPortletsFound"/></p>
+ </c:otherwise>
+
+ </c:choose>
+ </div>
+ <div>
<form action="<c:url value="/DeployApp"/>"
enctype="multipart/form-data" method="post">
-
- <fmt:message key="ShowUpload.selectWar"/>:
- <input type="file" name="fileupload"/>
- <p>
- <input type="submit" value="<fmt:message key='ShowUpload.submit'/>"/>
- </p>
+ <fieldset>
+ <legend><fmt:message key="ShowUpload.upload"/></legend>
+ <p>
+ <label><fmt:message key="ShowUpload.selectWar"/></label>
+ <input type="file" name="fileupload"/>
+ </p>
+ <p class="submit">
+ <input type="submit" value="<fmt:message key='ShowUpload.submit'/>"/>
+ </p>
+ </fieldset>
</form>
+ </div>
</body>
</html>
Modified: portals/wsrp4j/trunk/producer/src/webapp/jsp/configapp/UploadFail.jsp
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/producer/src/webapp/jsp/configapp/UploadFail.jsp?view=diff&rev=503622&r1=503621&r2=503622
==============================================================================
--- portals/wsrp4j/trunk/producer/src/webapp/jsp/configapp/UploadFail.jsp (original)
+++ portals/wsrp4j/trunk/producer/src/webapp/jsp/configapp/UploadFail.jsp Mon Feb 5 02:49:06 2007
@@ -24,6 +24,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><fmt:message key="UploadFail.pageTitle"/></title>
+ <link rel="stylesheet" href="<c:url value="/css/style.css"/>">
</head>
<body>
Modified: portals/wsrp4j/trunk/producer/src/webapp/jsp/configapp/UploadSuccess.jsp
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/producer/src/webapp/jsp/configapp/UploadSuccess.jsp?view=diff&rev=503622&r1=503621&r2=503622
==============================================================================
--- portals/wsrp4j/trunk/producer/src/webapp/jsp/configapp/UploadSuccess.jsp (original)
+++ portals/wsrp4j/trunk/producer/src/webapp/jsp/configapp/UploadSuccess.jsp Mon Feb 5 02:49:06 2007
@@ -24,6 +24,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><fmt:message key="UploadSuccess.pageTitle"/></title>
+ <link rel="stylesheet" href="<c:url value="/css/style.css"/>">
</head>
<body>
Modified: portals/wsrp4j/trunk/producer/src/webapp/jsp/index.jsp
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/producer/src/webapp/jsp/index.jsp?view=diff&rev=503622&r1=503621&r2=503622
==============================================================================
--- portals/wsrp4j/trunk/producer/src/webapp/jsp/index.jsp (original)
+++ portals/wsrp4j/trunk/producer/src/webapp/jsp/index.jsp Mon Feb 5 02:49:06 2007
@@ -24,6 +24,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><fmt:message key="MainPage.pageTitle"/></title>
+ <link rel="stylesheet" href="<c:url value="/css/style.css"/>">
</head>
<body>