diff --git a/R/epa_markup.R b/R/epa_markup.R index 2a9ba7c86..4b8fd810b 100644 --- a/R/epa_markup.R +++ b/R/epa_markup.R @@ -24,11 +24,17 @@ crossorigin = "anonymous", referrerpolicy = "no-referrer" ), + # use updated EPA template (https://www.epa.gov/themes/epa_theme/pattern-lab/?p=pages-standalone-template) provided by Brad instead? tags$meta(property = "og:url", content = "https://www.epa.gov/themes/epa_theme/pattern-lab/.markup-only.html"), tags$link(rel = "canonical", href = "https://www.epa.gov/themes/epa_theme/pattern-lab/.markup-only.html"), tags$link(rel = "shortlink", href = "https://www.epa.gov/themes/epa_theme/pattern-lab/.markup-only.html"), tags$meta(property = "og:url", content = "https://www.epa.gov/themes/epa_theme/pattern-lab/.markup-only.html"), - tags$meta(property = "og:image", content = "https://www.epa.gov/sites/all/themes/epa/img/epa-standard-og.jpg"), + #tags$meta(property = "og:url", content = "https://www.epa.gov/themes/epa_theme/pattern-lab/?p=pages-standalone-template"), + #tags$link(rel = "canonical", href = "https://www.epa.gov/themes/epa_theme/pattern-lab/?p=pages-standalone-template"), + #tags$link(rel = "shortlink", href = "https://www.epa.gov/themes/epa_theme/pattern-lab/?p=pages-standalone-template"), + #tags$meta(property = "og:url", content = "https://www.epa.gov/themes/epa_theme/pattern-lab/?p=pages-standalone-template"), + # jpg below + tags$meta(property = "og:image", content = "https://www.epa.gov/sites/all/themes/epa/img/epa-standard-og.jpg"), tags$meta(property = "og:image:width", content = "1200"), tags$meta(property = "og:image:height", content = "630"), tags$meta(property = "og:image:alt", content = "U.S. Environmental Protection Agency"), @@ -91,11 +97,22 @@ tags$link(rel = "stylesheet", media = "all", href = "https://www.epa.gov/core/themes/stable/css/system/components/tabledrag.module.css?r6lsex"), tags$link(rel = "stylesheet", media = "all", href = "https://www.epa.gov/core/themes/stable/css/system/components/tablesort.module.css?r6lsex"), tags$link(rel = "stylesheet", media = "all", href = "https://www.epa.gov/core/themes/stable/css/system/components/tree-child.module.css?r6lsex"), - tags$link(rel = "stylesheet", media = "all", href = "https://www.epa.gov/themes/epa_theme/css/styles.css?r6lsex"), - tags$link(rel = "stylesheet", media = "all", href = "https://www.epa.gov/themes/epa_theme/css-lib/colorbox.min.css?r6lsex"), - - tags$script(src = 'https://cdnjs.cloudflare.com/ajax/libs/uswds/3.0.0-beta.3/js/uswds-init.min.js'), - #fix container-fluid that boostrap RShiny uses + + ################# + # BELOW (https://www.epa.gov/themes/epa_theme/css/styles.css?r6lsex) CAUSES ISSUES WITH PLOTLY AND LEAFLET + # tags$link(rel = "stylesheet", media = "all", href = "https://www.epa.gov/themes/epa_theme/css/styles.css?r6lsex"), + # try referencing locally using file shared by Garrett (styles.css in www folder), not sure if this is the same + # this file doesnt look right but doesnt cause the PLOTLY or LEAFLET issues + # tags$link(rel = "stylesheet", type = "text/css", href = "styles.css"), + # try copying https://www.epa.gov/themes/epa_theme/css/styles.css?r6lsex into css file and reference that locally (see styles2.css in www folder) + # doing this doesnt look right AND still causes the PLOTLY and LEAFLET issues + # tags$link(rel = "stylesheet", type = "text/css", href = "styles2.css"), + ################# + + tags$link(rel = "stylesheet", media = "all", href = "https://www.epa.gov/themes/epa_theme/css-lib/colorbox.min.css?r6lsex"), + # this is a beta file, may have issues, js files tend to have issues + tags$script(src = 'https://cdnjs.cloudflare.com/ajax/libs/uswds/3.0.0-beta.3/js/uswds-init.min.js'), + # fix container-fluid that boostrap RShiny uses tags$style( HTML( '.container-fluid { diff --git a/inst/app/www/index-showhide-archive.html b/inst/app/www/index-showhide-archive.html deleted file mode 100644 index e13e00a5d..000000000 --- a/inst/app/www/index-showhide-archive.html +++ /dev/null @@ -1,965 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Tools for Automated Data Assessment | US EPA - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
-
-
- U.S. flag -
-
-

An official website of the United States government

-
- -
-
-
-
-
- Dot gov -
-

- Official websites use .gov -
A .gov website belongs to an official government organization in the United States. -

-
-
-
- HTTPS -
-

- Secure .gov websites use HTTPS -
A lock () or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites. -

-
-
-
-
-
-
- - -
- -
- -
-
- - -
- - -
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/inst/app/www/index-stepwise-archive.html b/inst/app/www/index-stepwise-archive.html deleted file mode 100644 index 6ff4be6a2..000000000 --- a/inst/app/www/index-stepwise-archive.html +++ /dev/null @@ -1,1087 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Tools for Automated Data Assessment | US EPA - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - -
-
-
-
-
-
- U.S. flag -
-
-

An official website of the United States government

- -
- -
-
-
-
-
- Dot gov -
-

- Official websites use .gov -
A .gov website belongs to an official government organization in the United States. -

-
-
-
- HTTPS -
-

- Secure .gov websites use HTTPS -
A lock ( - - - - - - - - ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites. -

-
-
-
-
-
-
-
-
-
- -
-
-
- - -
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file