Changeset 19916 in main for trunk/ibisph-view/src/main/webapp/xslt/html/community/facts/Page.xslt
- Timestamp:
- 03/01/20 23:07:45 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ibisph-view/src/main/webapp/xslt/html/community/facts/Page.xslt
r19912 r19916 56 56 all elements and attributes of the the 'HTML_CONTENT/CONTENT' element." 57 57 > 58 <style>59 .Overview60 {61 margin-top: 2em;62 vertical-align: top;63 max-width: 60%;64 min-width: 300px;65 }66 .Overview img67 {68 display: inline-block;69 float: left;70 padding-right: 1rem;71 }72 73 .Overview, .GoogleMap {display: inline-block;}74 .GoogleMap75 {76 max-width: 30%;77 min-width: 300px;78 padding: 1em 2rem 0 2rem;79 }80 81 table.Info, .Note82 {83 margin-top: 1.5rem;84 }85 .Note ul86 {87 list-style: none;88 }89 </style>90 91 58 <xsl:call-template name="Page.contentOptions"> 92 59 <xsl:with-param name="title" select="'Quick Facts Report Options'"/> … … 118 85 <xsl:sort select="NAME" data-type="text" order="ascending"/> 119 86 120 <xsl:variable name="indicator" select="document(concat($Page.indicatorProfileXMLFilePath, '/',NAME, '.xml'), /)/INDICATOR"/>87 <xsl:variable name="indicator" select="document(concat($Page.indicatorProfileXMLFilePath, NAME, '.xml'), /)/INDICATOR"/> 121 88 <xsl:variable name="indicatorComparisonValues"> 122 89 <xsl:call-template name="ComparisonValues.getIndicatorStateUSComparisonValues"> … … 144 111 145 112 146 113 <!-- could also do param values as attribute @chartName --> 147 114 <xsl:template match="ibis:Page.indicatorsChart" mode="ibis.copy"> 148 115 <xsl:param name="chartName" select="CHART_NAME"/> … … 256 223 > 257 224 <xsl:param name="indicatorName"/> 258 <xsl:param name="indicator" select="document(concat($Page.indicatorProfileXMLFilePath, '/',$indicatorName, '.xml'), /)/INDICATOR"/>225 <xsl:param name="indicator" select="document(concat($Page.indicatorProfileXMLFilePath, $indicatorName, '.xml'), /)/INDICATOR"/> 259 226 <xsl:param name="measureName"/> 260 227 … … 282 249 </xsl:template> 283 250 284 285 <xsl:template match="ibis:Page.indicatorSetsSelection" mode="ibis.copy">286 GARTH: <xsl:value-of select="$Page.indicatorSetName"/>287 <select name="indicatorSetName" id="indicatorSetName"288 onchange="requestDifferentIndicatorSet()"289 >290 <xsl:for-each select="$Page.communityIndicatorSet">291 <xsl:sort select="SORT_ORDER" data-type="number" order="ascending"/>292 <xsl:sort select="TITLE" order="ascending"/>293 <option value="{NAME}">294 <xsl:if test="NAME = $Page.indicatorSetName">295 <xsl:attribute name="selected" select="'selected'"/>296 </xsl:if>297 <xsl:value-of select="TITLE"/>298 </option>299 </xsl:for-each>300 </select>301 </xsl:template>302 303 251 </xsl:stylesheet> 304 252 <!-- ============================= End of File ============================= -->
Note: See TracChangeset
for help on using the changeset viewer.