dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #04221
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1399: Applied zebra strips to default multidim data entry form.
------------------------------------------------------------
revno: 1399
committer: Lars Helge Oeverland <larshelge@xxxxxxxxx>
branch nick: trunk
timestamp: Fri 2010-02-05 10:05:13 +0100
message:
Applied zebra strips to default multidim data entry form.
modified:
dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/multidimensional/form.vm
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/multidimensional/form.vm'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/multidimensional/form.vm 2010-02-05 08:03:03 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/multidimensional/form.vm 2010-02-05 09:05:13 +0000
@@ -42,8 +42,8 @@
#foreach( $categoryCombo in $orderedCategoryCombos )
- <div style="border:1px solid #808080;">
- <table>
+ <div style="border:1px solid #808080;width:98%">
+ <table class="listTable">
#set( $colCount = $numberOfTotalColumns.get( $categoryCombo.id ) )
#set( $categories = $orderedCategories.get( $categoryCombo.id ) )
#set( $optionsMap = $orderedOptionsMap.get( $categoryCombo.id ) )
@@ -64,25 +64,19 @@
</tr>
#end
- #set( $count = 0 )
- #set( $mark = 0 )
+ #set( $count = 0 )
#set( $dataElements = $orderedDataElements.get( $categoryCombo ) )
#set( $optionCombos = $orderdCategoryOptionCombos.get( $categoryCombo.id ) )
#foreach( $dataElement in $dataElements )
#set( $count = $count + 1 )
- #if( $mark == 1 )
- #set( $mark = 0 )
- #else
- #set( $mark = 1 )
- #end
#set( $calculatedValue = false )
#set( $calculatedValue = $calculatedValueMap.get( $dataElement ) )
#set( $calculated = false )
#set( $calculated = ($calculatedDataElementIds.contains($dataElement.id)) )
- <tr #if( $mark == 0 ) style="background-color:#dddddd" #end>
+ <tr>
##data element name
<td>
<span id="value[$dataElement.id].name" title="$!encoder.htmlEncode( $dataElement.description )">