Skip to content

Commit e23d17a

Browse files
Merge pull request #3 from cdcent/feature-url-changes
modification for url changes
2 parents 27b51ed + 3e51b5c commit e23d17a

29 files changed

+173
-142
lines changed

CKDSurveillance/AYA/AYA_template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ <h3 style='margin-top: 2.25pt; margin-right: 0in; margin-bottom: 3.0pt; margin-l
153153
</li>
154154
<li>
155155
<span style='font-size: 10.0pt; font-family: "Nunito", "Open Sans", "Arial","sans-serif";'>
156-
<a href="https://nccd.cdc.gov/ckd/contactus.aspx" target="_blank">
156+
<a href="https://WWWN.cdc.gov/KDSS/contactus.aspx" target="_blank">
157157
<strong><span style='color:#461954'>Contact us</span></strong>
158158
</a>to send comments or questions about CKD.
159159
</span>

CKDSurveillance/AYA/August_2023.html

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ <h1 class='bodyTitle' style="font-family: Poppins;">Chronic Kidney Disease Among
170170
<ol type="1">
171171
<!--style='font-size:10.0pt;font-family:"Arial","sans-serif"'-->
172172
<li class="liText">
173-
Centers for Disease Control and Prevention. Kidney Disease Surveillance System. Prevalence of Diagnosed CKD Among Medicare Beneficiaries Aged ≥ 65 Years, by US State and County. Accessed August 9, 2023. <a href="https://nccd.cdc.gov/CKD/detail.aspx?Qnum=Q705">https://nccd.cdc.gov/CKD/detail.aspx?Qnum=Q705</a>
173+
Centers for Disease Control and Prevention. Kidney Disease Surveillance System. Prevalence of Diagnosed CKD Among Medicare Beneficiaries Aged ≥ 65 Years, by US State and County. Accessed August 9, 2023. <a href="https://WWWN.cdc.gov/KDSS/detail.aspx?Qnum=Q705">https://WWWN.cdc.gov/KDSS/detail.aspx?Qnum=Q705</a>
174174
</li>
175175
<li class="liText">
176176
Lea JP, Nicholas SB. Diabetes mellitus and hypertension: key risk factors for kidney disease. J Natl Med Assoc. 2002;94(8 suppl):7S–15S. PMID: 12152917; PMCID: PMC2594170
@@ -206,6 +206,20 @@ <h1 class='bodyTitle' style="font-family: Poppins;">Chronic Kidney Disease Among
206206

207207
$(".imageurl").attr("onclick", "window.open('" + newhref + "', 'blank')");
208208
$(".ayaurl").attr("onclick", "window.open('" + newhref + "', 'blank')");
209+
210+
// Get the root URL (protocol + host)
211+
var rootUrl = window.location.protocol + "//" + window.location.host;
212+
// Get DirPath from web.config via server-side rendering
213+
var DirPath = '<%= System.Configuration.ConfigurationManager.AppSettings["DirPath"] ?? "" %>';
214+
// Append DirPath to rootUrl
215+
if (typeof DirPath !== "undefined" && DirPath) {
216+
if (DirPath.startsWith("/")) {
217+
rootUrl += DirPath;
218+
} else {
219+
rootUrl += "/" + DirPath;
220+
}
221+
}
222+
$('#lnkDiabetesQ11').attr('href', rootUrl + '/detail.aspx?Qnum=Q11');
209223
});
210224

211225
function checkEnterKey(e) {

CKDSurveillance/AYA/June_2024.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,10 @@ <h1 class='bodyTitle'>Awareness of Chronic Kidney Disease remains low among US A
165165
<ol type="1">
166166
<!--style='font-size:10.0pt;font-family:"Arial","sans-serif"'-->
167167
<li class="liText">
168-
Centers for Disease Control and Prevention. Chronic Kidney Disease in the United States, 2023. Atlanta, GA: US Department of Health and Human Services, Centers for Disease Control and Prevention; 2023. <a href="https://nccd.cdc.gov/CKD/">Kidney Disease Surveillance System (cdc.gov)</a>
168+
Centers for Disease Control and Prevention. Chronic Kidney Disease in the United States, 2023. Atlanta, GA: US Department of Health and Human Services, Centers for Disease Control and Prevention; 2023. <a href="https://WWWN.cdc.gov/KDSS/">Kidney Disease Surveillance System (cdc.gov)</a>
169169
</li>
170170
<li class="liText">
171-
Centers for Disease Control and Prevention. Kidney Disease Surveillance System. <a href="https://nccd.cdc.gov/CKD/detail.aspx?Qnum=Q98#refreshPosition">Trends in Kidney Disease Awareness among U.S. Adults with CKD Stages 3–5.</a>
171+
Centers for Disease Control and Prevention. Kidney Disease Surveillance System. <a href="https://WWWN.cdc.gov/KDSS/detail.aspx?Qnum=Q98#refreshPosition">Trends in Kidney Disease Awareness among U.S. Adults with CKD Stages 3–5.</a>
172172
</li>
173173
<li class="liText">
174174
Kidney Disease: Improving Global Outcomes (KDIGO) CKD Work Group. KDIGO 2024 Clinical Practice Guideline for the Evaluation and Management of Chronic Kidney Disease. Kidney Int. 2024;105(4S): S117–S314.

CKDSurveillance/AYA/March_2025.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ <h1 class='bodyTitle'>Albuminuria Testing Among U.S. Veterans on the Rise, but S
172172
Bragg-Gresham JL, Annadanam S, Gillespie B, Li Y, Powe NR, Saran R. Using risk assessment to improve screening for albuminuria among US adults without diabetes. <i>J Gen Intern Med.</i> Published online November 18, 2024. doi:10.1007/s11606-024-09185-9
173173
</li>
174174
<li class="liText">
175-
Centers for Disease Control and Prevention Kidney Disease Surveillance System. Albuminuria testing among U.S. veterans. Accessed January 24, 2025. <a href="https://nccd.cdc.gov/CKD/detail.aspx?Qnum=Q640#refreshPosition">https://nccd.cdc.gov/CKD/detail.aspx?Qnum=Q640#refreshPosition</a>
175+
Centers for Disease Control and Prevention Kidney Disease Surveillance System. Albuminuria testing among U.S. veterans. Accessed January 24, 2025. <a href="https://WWWN.cdc.gov/KDSS/detail.aspx?Qnum=Q640#refreshPosition">https://WWWN.cdc.gov/KDSS/detail.aspx?Qnum=Q640#refreshPosition</a>
176176
</li>
177177
</ol>
178178
</p>

CKDSurveillance/AYA/October_2023.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ <h1 class='bodyTitle'>Rising Household Food Insecurity Among Adults With Chronic
162162
Puchulu MB, Garcia-Fernandez N, Landry MJ. Food insecurity and chronic kidney disease: considerations for practitioners. J Ren Nutr. 2023 Jun 17:S1051–2276(23)00090–0. doi: 10.1053/j.jrn.2023.06.001
163163
</li>
164164
<li class="liText">
165-
CDC – Kidney Disease Surveillance System. Accessed August 14, 2023. <a href="https://nccd.cdc.gov/ckd/">https://nccd.cdc.gov/ckd/</a>
165+
CDC – Kidney Disease Surveillance System. Accessed August 14, 2023. <a href="https://WWWN.cdc.gov/KDSS/">https://WWWN.cdc.gov/KDSS/</a>
166166
</li>
167167
<li class="liText">
168168
USDA Household Food Security in the United States in 2021. Accessed August 14, 2023.

CKDSurveillance/App_Themes/columns-float.css

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,16 @@ p.access, .hideme {display:none;}
2525
}
2626
*:first-child+html body {padding:0;}
2727

28-
#wrapper
29-
{
30-
background:transparent url('/ckd/TemplatePackage/images/bgWrapperRt.png') top right repeat-y;
31-
position:relative;
32-
margin:0 auto;
33-
border:none;
34-
padding:0 10px;
35-
max-width:1000px;
36-
min-width:749px;
37-
min-height:auto; /* = resets hasLayout for IE7 = */
38-
}
28+
#wrapper {
29+
background: transparent url('<%= ResolveUrl(System.Configuration.ConfigurationManager.AppSettings["DirPath"] + "/TemplatePackage/images/bgWrapperRt.png") %>') top right repeat-y;
30+
position: relative;
31+
margin: 0 auto;
32+
border: none;
33+
padding: 0 10px;
34+
max-width: 1000px;
35+
min-width: 749px;
36+
min-height: auto; /* = resets hasLayout for IE7 = */
37+
}
3938

4039
body[id=applicationsPage] #wrapper {
4140
background:#fff;
@@ -52,7 +51,7 @@ body[id=applicationsPage] #wrapper {
5251
width:10px; /* top slice width */
5352
margin-left:0;
5453
height:100%;
55-
background:transparent url('/ckd/TemplatePackage/images/bgWrapperLft.png') top left;
54+
background:transparent url('/KDSS/TemplatePackage/images/bgWrapperLft.png') top left;
5655
/* z-index:-10; * = a negative z-index will cause this not to display in firefox 2 = */
5756
}
5857

CKDSurveillance/App_Themes/grid.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212

1313
body {
1414
border:none;
15-
background:#bec3cc fixed url('/ckd/TemplatePackage/images/bgMainDropShadowGradient.png') 0 0 repeat-x;
15+
background:#bec3cc fixed url('/kdss/TemplatePackage/images/bgMainDropShadowGradient.png') 0 0 repeat-x;
1616
font:75% Nunito, Open Sans, sans-serif, Verdana, Arial, Helvetica ;
1717
text-align:left;
1818
}
1919

2020
#branding {
2121
position:relative;
22-
background:white url('/ckd/TemplatePackage/images/bgHdrAZ.gif') 0 0 repeat-x;
22+
background:white url('/kdss/TemplatePackage/images/bgHdrAZ.gif') 0 0 repeat-x;
2323
height:auto;
2424
min-width:1px;
2525
}
@@ -30,11 +30,11 @@ body {
3030
padding:0;
3131
height:65px;
3232
max-width:98%;
33-
background:transparent url('/ckd/TemplatePackage/images/cdcHeaderLogo.gif') 5px 20px no-repeat;
33+
background:transparent url('/kdss/TemplatePackage/images/cdcHeaderLogo.gif') 5px 20px no-repeat;
3434
}
3535
.esp #branding #branding-logo {
3636
max-width:98%;
37-
background:transparent url('/ckd/TemplatePackage/images/esp/cdcHeaderLogo.gif') 5px 20px no-repeat;
37+
background:transparent url('/kdss/TemplatePackage/images/esp/cdcHeaderLogo.gif') 5px 20px no-repeat;
3838
}
3939
#branding-logo span {
4040
display:none;
@@ -265,7 +265,7 @@ input[type=radio] {float:left; margin:1px 0.25em 0 0.25em; padding:0; vertical-a
265265
*/
266266

267267
#content-secondary .pageOptions {
268-
background:#f5faed url('/ckd/TemplatePackage/images/bg_repeatPageOptions.gif') 0 0;
268+
background:#f5faed url('/kdss/TemplatePackage/images/bg_repeatPageOptions.gif') 0 0;
269269
margin:0;
270270
padding:0;
271271
border:none;
@@ -276,7 +276,7 @@ input[type=radio] {float:left; margin:1px 0.25em 0 0.25em; padding:0; vertical-a
276276
z-index:999;
277277
}
278278
.pageOptions .pageOptions-inner {
279-
background:transparent url('/ckd/TemplatePackage/images/bg_pageOptions.gif') 0 bottom no-repeat;
279+
background:transparent url('/kdss/TemplatePackage/images/bg_pageOptions.gif') 0 bottom no-repeat;
280280
margin:0;
281281
padding:0 0.5em 5px 0.75em;
282282
height:auto;

CKDSurveillance/App_Themes/local.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,7 +1406,7 @@ body.widePage.ckd-popup div#content div.main-inner
14061406
display: inline;
14071407
float: left;
14081408
padding: 18px 0px 18px 27px;
1409-
background: url(/ckd/TemplatePackage/images/icon_mail.gif) no-repeat 0px 18px;
1409+
background: url(/KDSS/TemplatePackage/images/icon_mail.gif) no-repeat 0px 18px;
14101410
}
14111411
.ckd-contact-us.contact-info .phone-email
14121412
{
@@ -1420,12 +1420,12 @@ body.widePage.ckd-popup div#content div.main-inner
14201420
{
14211421
padding-left: 27px;
14221422
padding-bottom: 6px;
1423-
background: url(/ckd/TemplatePackage/images/icon_phone.gif) no-repeat 0px 0px;
1423+
background: url(/KDSS/TemplatePackage/images/icon_phone.gif) no-repeat 0px 0px;
14241424
}
14251425
.ckd-contact-us.contact-info .phone-email .email
14261426
{
14271427
padding-left: 27px;
1428-
background: url(/ckd/TemplatePackage/images/icon_envelope.gif) no-repeat 0px 0px;
1428+
background: url(/KDSS/TemplatePackage/images/icon_envelope.gif) no-repeat 0px 0px;
14291429
}
14301430

14311431
.ckd-contact-us-confirm-message

CKDSurveillance/App_Themes/newMods-float.css

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ img.center,
188188
}
189189

190190
.page-curl {
191-
background:#fff url('/ckd/TemplatePackage/images/bgPagecurlShadow.gif') right bottom no-repeat;
191+
background:#fff url('/kdss/TemplatePackage/images/bgPagecurlShadow.gif') right bottom no-repeat;
192192
margin:0 0 3px 0;
193193
padding:0 0 7px 0;
194194
}
@@ -224,7 +224,7 @@ img.center,
224224
#content .rounders h3,
225225
#content .roundem h3 {padding:2px 1px 6px 1px;}
226226

227-
.double-rule h3 {background:#eef7e3 url('/ckd/TemplatePackage/images/bgDoubleH2-noIcon.gif') right bottom repeat-x;}
227+
.double-rule h3 {background:#eef7e3 url('/kdss/TemplatePackage/images/bgDoubleH2-noIcon.gif') right bottom repeat-x;}
228228

229229
.page-curl h3 {background-color:#eef7e3;}
230230
.page-curl h5 {
@@ -346,7 +346,7 @@ img.center,
346346

347347
.bullets li,
348348
.bullet-list li { /** = this should never have links inside of the list = */
349-
background:transparent url('/ckd/TemplatePackage/images/black_bullet.png') no-repeat 0.3em 0.65em;
349+
background:transparent url('/kdss/TemplatePackage/images/black_bullet.png') no-repeat 0.3em 0.65em;
350350
margin:0;
351351
border-bottom:1px solid transparent;
352352
list-style:none;
@@ -357,7 +357,7 @@ img.center,
357357

358358
.bulleted-links li,
359359
.cdcForYou ul li {
360-
background:transparent url('/ckd/TemplatePackage/images/blue_bullet.png') 0.3em 0.65em no-repeat;
360+
background:transparent url('/kdss/TemplatePackage/images/blue_bullet.png') 0.3em 0.65em no-repeat;
361361
display:block;
362362
position:relative;
363363
margin:0;
@@ -404,7 +404,7 @@ img.center,
404404
}
405405
.somemore a:hover {text-decoration:underline;}
406406
.somemore a {
407-
background:transparent url('/ckd/TemplatePackage/images/btn_dblArrows.gif') right bottom no-repeat;
407+
background:transparent url('/kdss/TemplatePackage/images/btn_dblArrows.gif') right bottom no-repeat;
408408
clear:both;
409409
display:block;
410410
font-weight:bold;
@@ -417,7 +417,7 @@ img.center,
417417

418418
#content .arrow a {
419419
position:relative;
420-
background:transparent url('/ckd/TemplatePackage/images/btn_dblArrows.gif') right 0.55em no-repeat;
420+
background:transparent url('/kdss/TemplatePackage/images/btn_dblArrows.gif') right 0.55em no-repeat;
421421
display:block;
422422
font-weight:bold;
423423
margin:0;
@@ -466,29 +466,29 @@ img.center,
466466
.rounders .inner,
467467
.rounders .t,
468468
.rounders .b,
469-
.rounders .b div {background:transparent url('/ckd/TemplatePackage/images/bg_twoBlocksGreen.gif') top right no-repeat;}
469+
.rounders .b div {background:transparent url('/kdss/TemplatePackage/images/bg_twoBlocksGreen.gif') top right no-repeat;}
470470

471471
#content-secondary #news-events .inner,
472472
#content-secondary #news-events .t,
473473
#content-secondary #news-events .b,
474-
#content-secondary #news-events .b div {background-image:url('/ckd/TemplatePackage/images/bg_twoBlocksGreen.gif');}
474+
#content-secondary #news-events .b div {background-image:url('/kdss/TemplatePackage/images/bg_twoBlocksGreen.gif');}
475475

476476
#content #content-secondary #news-events.rounders h3 {color:#0c5307;}
477477

478478
.rounders.top-blocks .inner,
479479
.rounders.top-blocks .t,
480480
.rounders.top-blocks .b,
481-
.rounders.top-blocks .b div {background-image:url('/ckd/TemplatePackage/images/bg_twoBlocksGreen.gif');}
481+
.rounders.top-blocks .b div {background-image:url('/kdss/TemplatePackage/images/bg_twoBlocksGreen.gif');}
482482

483483
.rounders.grey .inner,
484484
.rounders.grey .t,
485485
.rounders.grey .b,
486-
.rounders.grey .b div {background-image:url('/ckd/TemplatePackage/images/bg_greyStroke.gif');}
486+
.rounders.grey .b div {background-image:url('/kdss/TemplatePackage/images/bg_greyStroke.gif');}
487487

488488
.rounders.gold .inner,
489489
.rounders.gold .t,
490490
.rounders.gold .b,
491-
.rounders.gold .b div {background-image:url('/ckd/TemplatePackage/images/bg_roundersGold.gif');}
491+
.rounders.gold .b div {background-image:url('/kdss/TemplatePackage/images/bg_roundersGold.gif');}
492492

493493
.rounders.email .inner,
494494
.rounders.email .t,
@@ -497,7 +497,7 @@ img.center,
497497
#nav-container .rounders .inner,
498498
#nav-container .rounders .t,
499499
#nav-container .rounders .b,
500-
#nav-container .rounders .b div {background-image:url('/ckd/TemplatePackage/images/bg_emailUpdates.gif');}
500+
#nav-container .rounders .b div {background-image:url('/kdss/TemplatePackage/images/bg_emailUpdates.gif');}
501501

502502
.rounders .inner {
503503
position:relative;
@@ -809,12 +809,12 @@ img.center,
809809
}
810810
.module.multiPage-horiz h4 span a,
811811
.multiPage-horiz h4 span a {
812-
background:transparent url('/ckd/TemplatePackage/images/arrow-blue-lt.png') 0 center no-repeat;
812+
background:transparent url('/kdss/TemplatePackage/images/arrow-blue-lt.png') 0 center no-repeat;
813813
padding:0 0 0 1em;
814814
text-align:left;
815815
}
816816
.multiPage-horiz h4 span.nextLink a {
817-
background:transparent url('/ckd/TemplatePackage/images/arrow-blue-rt.png') right center no-repeat;
817+
background:transparent url('/kdss/TemplatePackage/images/arrow-blue-rt.png') right center no-repeat;
818818
padding:0 1em 0 0;
819819
float:none;
820820
}
@@ -916,7 +916,7 @@ img.center,
916916
#content-secondary .module {margin-right:12px;}
917917

918918
#content-secondary .related {
919-
background:transparent url('/ckd/TemplatePackage/images/bgRelatedLinks.png') 0 0 no-repeat;
919+
background:transparent url('/kdss/TemplatePackage/images/bgRelatedLinks.png') 0 0 no-repeat;
920920
margin:12px 0;
921921
position:relative;
922922
width:169px;
@@ -973,14 +973,14 @@ ul.noBullet li {
973973

974974
.relatedMaterial.rounders li {
975975
display:list-item;
976-
background:transparent url('/ckd/TemplatePackage/images/blue_bullet.png') 0.25em 0.65em no-repeat;
976+
background:transparent url('/kdss/TemplatePackage/images/blue_bullet.png') 0.25em 0.65em no-repeat;
977977
padding:3px 0 3px 1.25em;
978978
}
979979

980980
/*.azMenuList {display:none;}
981981
.homepage .azMenuList, .topicHome .azMenuList {display:block;}*/
982982

983-
.rounders.azMenuList .inner, .rounders.azMenuList .t, .rounders.azMenuList .b, .rounders.azMenuList .b div {background-image:url('/ckd/TemplatePackage/images/bg_accent.gif');}
983+
.rounders.azMenuList .inner, .rounders.azMenuList .t, .rounders.azMenuList .b, .rounders.azMenuList .b div {background-image:url('/kdss/TemplatePackage/images/bg_accent.gif');}
984984
.rounders.azMenuList .inner {padding:6px 12px 0 0;}
985985
.rounders.azMenuList .b {
986986
background-color:transparent;

0 commit comments

Comments
 (0)