Changeset 22719 in main


Ignore:
Timestamp:
03/17/21 23:32:37 (4 weeks ago)
Author:
GarthBraithwaite_STG
Message:

nm epht - added ip filtering index.

Location:
adopters/nm-epht/trunk/src/main/webapps
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • adopters/nm-epht/trunk/src/main/webapps/nmepht-content/xml/html_content/dataportal/Introduction.xml

    r22715 r22719  
    4646                                                (e.g., emergency department visits for asthma) potentially related to those
    4747                                                environmental factors along with charts, maps, and data values.
     48
     49                                                <h3><a ibis:href="dataportal/indicator/index/Alphabetical.html">Filterable Alphabetical Indicator Report Index</a></h3>
    4850
    4951                                                <div class="Note">
  • adopters/nm-epht/trunk/src/main/webapps/nmepht-content/xml/html_content/health/breathing/Asthma.xml

    r22715 r22719  
    1919
    2020        <CONTENT>
    21 
    2221                <header>
    2322                        <img ibis:src="view/image/health/breathing/asthma/rio.jpg" title="Autumn along the Rio Grande"/>
     
    6665                                </div>
    6766                        </section>
    68 
    6967                </section>
    7068
  • adopters/nm-epht/trunk/src/main/webapps/nmepht-content/xml/selections/health/cancer/cancer/query_modules.xml

    r22714 r22719  
    2020                        </SELECTION>
    2121                        <SELECTION>
    22                                 <TITLE>
    23                                         Age-adjusted Incidence Rates of Brain and Central Nervous System Cancer in Children Less Than 15 Years of Age per 1,000,000 Population (Includes Counts)</TITLE>
     22                                <TITLE>Age-adjusted Incidence Rates of Brain and Central Nervous System Cancer in Children Less Than 15 Years of Age per 1,000,000 Population (Includes Counts)</TITLE>
    2423                                <LOCAL_URL>dataportal/query/result/cancer/CancerCnty/BRCNSCA_lt_15AgeRate.html</LOCAL_URL>
    2524                        </SELECTION>
  • adopters/nm-epht/trunk/src/main/webapps/nmepht-view/xslt/html/indicator/index/alphabetical/Page.xslt

    r22686 r22719  
    3636
    3737
    38         <xsl:param name="Page.publishedIndicators">
    39         </xsl:param>
    40 
     38        <xsl:param name="Page.indicatorProfileSelectionFiles"
     39                select="document( ibis:getContentPath('xml/files/topic_data_path_selections.xml'), /)/FILES"
     40        />
     41        <xsl:param name="Page.indicatorProfileSelections">
     42                <xsl:for-each select="$Page.indicatorProfileSelectionFiles/FILE">
     43<!--
     44<xsl:message select="NAME"/>
     45        'query_modules.xml'
     46-->
     47                        <xsl:variable name="selectionsFile" select="document(concat(NAME, 'indicator_profiles.xml'), /)//SELECTIONS"/>
     48                        <xsl:copy-of select="$selectionsFile//SELECTION[0 != string-length(LOCAL_URL)]"/>
     49                </xsl:for-each>
     50        </xsl:param>
    4151
    4252
     
    4454                <xsl:param name="groupByFieldName"/>
    4555                <xsl:param name="indicatorBaseRequsetPath" select="$Page.indicatorBaseRequsetPath"/>
    46 
     56<!--
     57<xsl:message select="count($Page.indicatorProfileSelections/SELECTION)"/>
     58<xsl:message select="$Page.indicatorProfileSelections"/>
     59<xsl:message select="$Page.indicatorProfileSelectionFiles"/>
     60-->
    4761                <nav id="jumpToLinks" class="JumpToLinks">
    4862                        <label for="jumpToSelections">Jump to:</label>
    49                         <xsl:for-each select="$Page.publishedIndicators">
     63                        <xsl:for-each select="$Page.indicatorProfileSelections/SELECTION">
    5064                                <xsl:sort select="TITLE"/>
    5165                                <xsl:variable name="firstLetter" select="substring(TITLE,1,1)"/>
     
    5872
    5973                <ul id="listViewContainer" data-header-template="header-template" data-title="Alphabetical List">
    60                         <xsl:for-each select="$Page.publishedIndicators">
    61                                 <xsl:sort select="TITLE"/>
    62                                 <xsl:variable name="firstLetter" select="substring(TITLE,1,1)"/>
    63                                 <xsl:if test="not(preceding-sibling::*[substring(TITLE,1,1)=$firstLetter])">
    64                                         <h3 id="{$firstLetter}"><xsl:value-of select="$firstLetter"/></h3>
    65                                 </xsl:if>
    66                                 <li title="Published on: {PUBLISHED_DATE}, Data as of Date: {DATA_AS_OF_DATE}">
    67                                         <a href="{$ibis.baseRequestPath}indicator/summary/{NAME}.html"
    68                                                 title="Click here to see {TITLE}"
    69                                         ><xsl:value-of select="TITLE"/></a>
    70                                 </li>
    71                         </xsl:for-each>
    7274                </ul>
    7375
     76                <script type="text/x-kendo-template" id="hrefTemplate">
     77                   <a href="#=href#">${title}</a>
     78                </script>
    7479                <script>
    7580var ips = [
    76                 <xsl:for-each select="$Page.publishedIndicators">
     81                <xsl:for-each select="$Page.indicatorProfileSelections/SELECTION">
    7782                        <xsl:sort select="TITLE"/>
     83
    7884                        <xsl:if test="1 != position()">,</xsl:if>
    7985{
    80         "title":      "<xsl:value-of select="TITLE"/>"
    81         ,"href" :      "<xsl:value-of select="concat($indicatorBaseRequsetPath, 'view/', LOCAL_URL, '.html')"/>"
    82         ,"group":      "<xsl:value-of select="substring(TITLE,1,1)"/>"
     86        "title":      "<xsl:value-of select="normalize-space(TITLE)"/>"
     87        ,"href" :     "<xsl:value-of select="normalize-space(LOCAL_URL)"/>"
     88        ,"group":     "<xsl:value-of select="substring(normalize-space(TITLE),1,1)"/>"
    8389}
    8490                </xsl:for-each>
Note: See TracChangeset for help on using the changeset viewer.