You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2006/12/12 15:30:29 UTC
svn commit: r486164 - in /lenya/trunk/src:
modules-core/workflow-impl/usecases/multiWorkflow.jx
webapp/lenya/resources/css/tables.css
Author: andreas
Date: Tue Dec 12 06:30:28 2006
New Revision: 486164
URL: http://svn.apache.org/viewvc?view=rev&rev=486164
Log:
Improved layout of workflow overview
Modified:
lenya/trunk/src/modules-core/workflow-impl/usecases/multiWorkflow.jx
lenya/trunk/src/webapp/lenya/resources/css/tables.css
Modified: lenya/trunk/src/modules-core/workflow-impl/usecases/multiWorkflow.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/workflow-impl/usecases/multiWorkflow.jx?view=diff&rev=486164&r1=486163&r2=486164
==============================================================================
--- lenya/trunk/src/modules-core/workflow-impl/usecases/multiWorkflow.jx (original)
+++ lenya/trunk/src/modules-core/workflow-impl/usecases/multiWorkflow.jx Tue Dec 12 06:30:28 2006
@@ -50,7 +50,7 @@
<jx:import uri="fallback://lenya/usecases/templates/messages.jx"/>
- <table class="lenya-table">
+ <table class="lenya-table-list">
<tr>
<th><i18n:text>Path</i18n:text></th>
@@ -106,6 +106,11 @@
</jx:choose>
<td>
<jx:forEach var="usecaseName" items="${doc.getUsecases()}">
+ <a href="?lenya.usecase=${usecase.getName()}&lenya.continuation=${continuation.id}&submit=Submit&style=${style}&usecaseName=${usecaseName}&url=${doc.getUrl()}">
+ <i18n:text><jx:out value="${usecaseName}"/></i18n:text>
+ </a>
+   
+ <!-- Use this if you prefer form buttons
<form method="POST" id="form-overview" style="display: inline;">
<input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
<input type="hidden" name="lenya.usecase" value="${usecase.getName()}"/>
@@ -114,6 +119,7 @@
<input type="hidden" name="url" value="${doc.getUrl()}"/>
<input type="submit" name="submit" value="${usecaseName}" i18n:attr="value"/>
</form>
+ -->
</jx:forEach>
</td>
</tr>
Modified: lenya/trunk/src/webapp/lenya/resources/css/tables.css
URL: http://svn.apache.org/viewvc/lenya/trunk/src/webapp/lenya/resources/css/tables.css?view=diff&rev=486164&r1=486163&r2=486164
==============================================================================
--- lenya/trunk/src/webapp/lenya/resources/css/tables.css (original)
+++ lenya/trunk/src/webapp/lenya/resources/css/tables.css Tue Dec 12 06:30:28 2006
@@ -62,7 +62,7 @@
}
table.lenya-table-list {
- border: none;
+ border: 2px solid #CCCCCC;
border-spacing: 0px;
border-collapse: collapse;
}
@@ -72,9 +72,19 @@
text-align: left;
padding: 2px 2em 2px 5px;
border-bottom: solid 1px #CCCCCC;
+ font-size: small;
+}
+
+table.lenya-table-list th {
+ background-color: #DDDCCF;
+ color: Black;
}
table.lenya-table-list tr.highlight {
background-color: #DDDCCF;
color: Black;
+}
+
+table.lenya-table-list a {
+ text-decoration: none;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org