Scarab commit: svn commit: r10155 - branches/release/b21/src/webapp/WEB-INF/templates/macros/MITListMacro.vm

[email protected]
Newsgroups gmane.comp.java.scarab.cvs
Message-ID <[email protected]>
Author: dabbous
Date: 2006-06-08 00:36:50-0700
New Revision: 10155

Modified:
   branches/release/b21/src/webapp/WEB-INF/templates/macros/MITListMacro.vm

Log:
beautification of the query control matrix, needs some cleanup for trunk.

Modified: branches/release/b21/src/webapp/WEB-INF/templates/macros/MITListMacro.vm
Url: http://scarab.tigris.org/source/browse/scarab/branches/release/b21/src/webapp/WEB-INF/templates/macros/MITListMacro.vm?view=diff&rev=10155&p1=branches/release/b21/src/webapp/WEB-INF/templates/macros/MITListMacro.vm&p2=branches/release/b21/src/webapp/WEB-INF/templates/macros/MITListMacro.vm&r1=10154&r2=10155
==============================================================================
--- branches/release/b21/src/webapp/WEB-INF/templates/macros/MITListMacro.vm	(original)
+++ branches/release/b21/src/webapp/WEB-INF/templates/macros/MITListMacro.vm	2006-06-08 00:36:50-0700
@@ -78,13 +78,6 @@
         
       $l10n.AllForAttribute
 
-      #set ($itemCount = $module.getIssueCount($user))
-      #if ($itemCount == 0)
-      
-      #else
-      <a href="$link.setPage("IssueList.vm").addPathInfo("eventSubmit_doGetissues","foo").setAction("Search").toString()">$itemCount</a>
-      #end      
-    
     </th>
     #foreach ($rmit in $currentRmits)
       <th nowrap="nowrap" style="text-align:right">
@@ -92,16 +85,34 @@
       <input type="checkbox" name="rmitid" value="$rmit.QueryKey" 
           onclick="allit.checked=false" #checked($checked) />
       #end
-      <a href="$link.setPage("Search.vm").addPathInfo("rmitid", $rmit.QueryKey).addPathInfo("eventSubmit_do$event", "foo").setAction("DefineXModuleList")">$rmit.DisplayName</a>
+      <a href="$link.setPage("Search.vm").addPathInfo("rmitid", $rmit.QueryKey).addPathInfo("eventSubmit_do$event", "foo").setAction("DefineXModuleList")" style="text-decoration:none;color:#003366;">$rmit.DisplayName</a>
+      </th>
+    #end
+    ##<th>$l10n.Description</th>
+  </tr>
+
+<tr>
+<th style="text-align:left; border-bottom-style:solid;border-bottom-width:1px;border-color:#ABC4DB;">total</th>
+<th style="text-align:right; border-bottom-style:solid;border-bottom-width:1px;border-color:#ABC4DB;">
+      #set ($itemCount = $module.getIssueCount($user))
+      #if ($itemCount == 0)
+
+      #else
+      <a href="$link.setPage("IssueList.vm").addPathInfo("eventSubmit_doGetissues","foo").setAction("Search").toString()" style="text-decoration:none;color:#003366;font-weight:bold;">$itemCount</a>
+      #end
+</th>
+
+    #foreach ($rmit in $currentRmits)
+      <th nowrap="nowrap" style="text-align:right; border-bottom-style:solid;border-bottom-width:1px;border-color:#ABC4DB;">
       #set ($mitItem = $scarabR.convertToMITListItem($rmit) )
       #set ($itemCount = $mitItem.getIssueCount($user))
       #if ($itemCount > 0)
-      <a href="$link.setPage("IssueList.vm").addPathInfo("eventSubmit_doGetissues", "foo").addPathInfo("issueType", $mitItem.getIssueTypeId()).setAction("Search").toString()">$itemCount</a>
+      <a href="$link.setPage("IssueList.vm").addPathInfo("eventSubmit_doGetissues", "foo").addPathInfo("issueType", $mitItem.getIssueTypeId()).setAction("Search").toString()" style="text-decoration:none;color:#003366;font-weight:bold;">$itemCount</a>
       #end
       </th>
     #end
-    ##<th>$l10n.Description</th>
-  </tr>
+
+</tr>
 
  
  #set ($checked = !$isMoreThanOne)
@@ -114,7 +125,7 @@
       #if ($itemCount == 0)
       -
       #else
-      <a href="$link.setPage("IssueList.vm").addPathInfo("eventSubmit_doGetissues","foo").addPathInfo("attribute",$attrOption.getAttributeId()).addPathInfo("option",$attrOption.getOptionId()).setAction("Search").toString()">$itemCount</a>
+      <a href="$link.setPage("IssueList.vm").addPathInfo("eventSubmit_doGetissues","foo").addPathInfo("attribute",$attrOption.getAttributeId()).addPathInfo("option",$attrOption.getOptionId()).setAction("Search").toString()" style="text-decoration:none;color:#003366;font-weight:bold;">$itemCount</a>
       ##$itemCount
       #end
     </td>
@@ -125,7 +136,7 @@
       #if ($itemCount == 0)
       -
       #else
-      <a href="$link.setPage("IssueList.vm").addPathInfo("eventSubmit_doGetissues","foo").addPathInfo("issueType", $mitItem.getIssueTypeId()).addPathInfo("attribute",$attrOption.getAttributeId()).addPathInfo("option",$attrOption.getOptionId()).setAction("Search").toString()">$itemCount</a>
+      <a href="$link.setPage("IssueList.vm").addPathInfo("eventSubmit_doGetissues","foo").addPathInfo("issueType", $mitItem.getIssueTypeId()).addPathInfo("attribute",$attrOption.getAttributeId()).addPathInfo("option",$attrOption.getOptionId()).setAction("Search").toString()" style="text-decoration:none;color:#003366;font-weight:bold;">$itemCount</a>
       #end
     </td>  
     #end
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.