Changeset 19902 in main for trunk/ibisph-view/src/main/webapp/xslt/html/community/facts/Page.xslt
- Timestamp:
- 02/25/20 00:49:22 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ibisph-view/src/main/webapp/xslt/html/community/facts/Page.xslt
r19882 r19902 32 32 33 33 <xsl:param name="Page.pageTitle" ibis:doc="Page's browser title text." 34 select="concat(Page.communityTitle, ' Facts')"34 select="concat(Page.communityTitle, ' Quick Facts')" 35 35 /> 36 36 <xsl:param name="Page.contentTitle" ibis:doc="Page's content title text." 37 select="concat(' Facts for ', $Page.communityTitle)"37 select="concat('Quick Facts for ', $Page.communityTitle)" 38 38 /> 39 39 … … 59 59 .Overview 60 60 { 61 margin-top: 2em; 62 vertical-align: top; 61 63 max-width: 60%; 62 64 min-width: 300px; … … 72 74 .GoogleMap 73 75 { 74 max-width: 3 5%;75 min-width: 3 50px;76 padding: 02rem 0 2rem;76 max-width: 30%; 77 min-width: 300px; 78 padding: 1em 2rem 0 2rem; 77 79 } 78 80 … … 86 88 } 87 89 </style> 90 91 <div class="ContentOptions"> 92 <h3>Quick Facts Report Options</h3> 93 94 <table class="ListTable"> 95 <tr> 96 <td><label for="dimensionValue"><xsl:value-of select="$Page.communityDimensionTitle"/>:</label></td> 97 <td> 98 <!-- 99 <xsl:if test="0 != string-length($Page.previousDimensionValue/TITLE)"> 100 <a href="javascript:requestSamePageDifferentDimensionValue('{normalize-space($Page.previousDimensionValue/text()[1])}')" 101 title="show previous community value" 102 ><< Show <xsl:value-of select="$Page.previousDimensionValue/TITLE"/></a> 103 </xsl:if> 104 --> 105 <select name="dimensionValue" id="dimensionValue" onchange="requestSamePageDifferentDimensionValue()" style="width: 200px;"> 106 <xsl:for-each select="$Page.communityDimension/VALUES/VALUE[not(NOT_SELECTABLE_FLAG)]"> 107 <xsl:sort select="SORT_ORDER" data-type="number" order="ascending"/> 108 <xsl:sort select="TITLE" order="ascending"/> 109 <xsl:variable name="value" select="normalize-space(text()[1])"/> 110 <option value="{$value}"> 111 <xsl:if test="$value = $Page.dimensionValue"> 112 <xsl:attribute name="selected">selected</xsl:attribute> 113 </xsl:if> 114 <xsl:value-of select="TITLE"/> 115 </option> 116 </xsl:for-each> 117 </select> 118 <!-- 119 <xsl:if test="0 != string-length($Page.nextDimensionValue/TITLE)"> 120 <a href="javascript:requestSamePageDifferentDimensionValue('{normalize-space($Page.nextDimensionValue/text()[1])}')" 121 title="show next community value" 122 >Show <xsl:value-of select="$Page.nextDimensionValue/TITLE"/> >></a> 123 </xsl:if> 124 --> 125 </td> 126 </tr> 127 </table> 128 </div> 88 129 89 130 <!-- The content file contains elements that control demographic and … … 155 196 --> 156 197 <tr class="Value"> 157 <th><xsl:value-of select="$indicator/TITLE"/> (<xsl:value-of select="$indicatorComparisonValues/PERIOD_DIMENSION/VALUE/TITLE"/>) </th> 198 <th><a href="{ibis:getRequestURL(concat('community/indicator/', $indicator/NAME, '/', $Page.communityDimension/NAME, '/', normalize-space($Page.communityDimensionValue/text()[1]),'.html'))}"> 199 <xsl:value-of select="ibis:getIndicatorTitle($indicator)"/> (<xsl:value-of select="$indicatorComparisonValues/PERIOD_DIMENSION/VALUE/TITLE"/>) 200 </a> </th> 158 201 <td><xsl:value-of select="$indicatorComparisonValues/COMMUNITY/VALUE/TITLE"/></td> 159 202 <td><xsl:value-of select="$indicatorComparisonValues/STATE/VALUE/TITLE"/></td>
Note: See TracChangeset
for help on using the changeset viewer.