diff --git a/_js/update_family.js b/_js/update_family.js index 0e036534..cf593589 100644 --- a/_js/update_family.js +++ b/_js/update_family.js @@ -153,8 +153,12 @@ workbook.then(ws => { '\n' + '## Toolbox\n' + '\n' + + '::: {.virus-toolbox}\n' + + '\n' + '{% raw %}{{< include _{% endraw %}{{ virus.abbreviation }}{% raw %}-toolbox.qmd >}} {% endraw %}\n' + '\n' + + ':::\n' + + '\n' + '```{ojs}\n' + '//| output: none\n' + '//| echo: false\n' + diff --git a/alphaviruses/_CHIKV.qmd b/alphaviruses/_CHIKV.qmd index 0c6a510b..1c4f2a9d 100644 --- a/alphaviruses/_CHIKV.qmd +++ b/alphaviruses/_CHIKV.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _CHIKV-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/alphaviruses/_MAYV.qmd b/alphaviruses/_MAYV.qmd index be9ea3a9..3f827c9e 100644 --- a/alphaviruses/_MAYV.qmd +++ b/alphaviruses/_MAYV.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _MAYV-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/alphaviruses/_RRV.qmd b/alphaviruses/_RRV.qmd index 53a1a080..0b4b8425 100644 --- a/alphaviruses/_RRV.qmd +++ b/alphaviruses/_RRV.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _RRV-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/alphaviruses/_SFV.qmd b/alphaviruses/_SFV.qmd index 74c8625f..e76571c8 100644 --- a/alphaviruses/_SFV.qmd +++ b/alphaviruses/_SFV.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _SFV-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/alphaviruses/_SINV.qmd b/alphaviruses/_SINV.qmd index 464d060d..2d81fc13 100644 --- a/alphaviruses/_SINV.qmd +++ b/alphaviruses/_SINV.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _SINV-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/alphaviruses/_VEEV.qmd b/alphaviruses/_VEEV.qmd index b1be2e8e..1abe5418 100644 --- a/alphaviruses/_VEEV.qmd +++ b/alphaviruses/_VEEV.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _VEEV-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/coronaviruses/_HCoV-229E.qmd b/coronaviruses/_HCoV-229E.qmd index 31af4687..896e5fbf 100644 --- a/coronaviruses/_HCoV-229E.qmd +++ b/coronaviruses/_HCoV-229E.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _HCoV-229E-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/coronaviruses/_HCoV-HKU01.qmd b/coronaviruses/_HCoV-HKU01.qmd index 863013ab..25e54f67 100644 --- a/coronaviruses/_HCoV-HKU01.qmd +++ b/coronaviruses/_HCoV-HKU01.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _HCoV-HKU01-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/coronaviruses/_HCoV-NL63.qmd b/coronaviruses/_HCoV-NL63.qmd index cca8bd9f..e965ea15 100644 --- a/coronaviruses/_HCoV-NL63.qmd +++ b/coronaviruses/_HCoV-NL63.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _HCoV-NL63-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/coronaviruses/_HCoV-OC43.qmd b/coronaviruses/_HCoV-OC43.qmd index f7c2750f..3678b30c 100644 --- a/coronaviruses/_HCoV-OC43.qmd +++ b/coronaviruses/_HCoV-OC43.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _HCoV-OC43-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/coronaviruses/_MERS-CoV.qmd b/coronaviruses/_MERS-CoV.qmd index d0f01e36..4942ea66 100644 --- a/coronaviruses/_MERS-CoV.qmd +++ b/coronaviruses/_MERS-CoV.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _MERS-CoV-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/coronaviruses/_SARS-CoV-2.qmd b/coronaviruses/_SARS-CoV-2.qmd index 8e4a3d48..5bb66a1c 100644 --- a/coronaviruses/_SARS-CoV-2.qmd +++ b/coronaviruses/_SARS-CoV-2.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _SARS-CoV-2-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/coronaviruses/_SARS-CoV.qmd b/coronaviruses/_SARS-CoV.qmd index 780df73f..693697bd 100644 --- a/coronaviruses/_SARS-CoV.qmd +++ b/coronaviruses/_SARS-CoV.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _SARS-CoV-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/coronaviruses/_details.qmd b/coronaviruses/_details.qmd index 34dacd6e..27707f9c 100644 --- a/coronaviruses/_details.qmd +++ b/coronaviruses/_details.qmd @@ -56,4 +56,4 @@ [open virus page](/coronaviruses/MERS-CoV.qmd) / [reload family page](/coronaviruses/) ::: -:::: +:::: \ No newline at end of file diff --git a/flaviviruses/_DENV.qmd b/flaviviruses/_DENV.qmd index 45137d15..61c66a3e 100644 --- a/flaviviruses/_DENV.qmd +++ b/flaviviruses/_DENV.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _DENV-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/flaviviruses/_JEV.qmd b/flaviviruses/_JEV.qmd index cb9bcf32..042a4023 100644 --- a/flaviviruses/_JEV.qmd +++ b/flaviviruses/_JEV.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _JEV-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/flaviviruses/_TBEV.qmd b/flaviviruses/_TBEV.qmd index 4bc57021..c23f7baf 100644 --- a/flaviviruses/_TBEV.qmd +++ b/flaviviruses/_TBEV.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _TBEV-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/flaviviruses/_USUV.qmd b/flaviviruses/_USUV.qmd index cd131996..b0f4072b 100644 --- a/flaviviruses/_USUV.qmd +++ b/flaviviruses/_USUV.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _USUV-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/flaviviruses/_WNV.qmd b/flaviviruses/_WNV.qmd index a6c98348..b6c10098 100644 --- a/flaviviruses/_WNV.qmd +++ b/flaviviruses/_WNV.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _WNV-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/flaviviruses/_YFV.qmd b/flaviviruses/_YFV.qmd index 9c74b9bf..a74653b4 100644 --- a/flaviviruses/_YFV.qmd +++ b/flaviviruses/_YFV.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _YFV-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/flaviviruses/_ZIKV.qmd b/flaviviruses/_ZIKV.qmd index b7a15484..5167cc4f 100644 --- a/flaviviruses/_ZIKV.qmd +++ b/flaviviruses/_ZIKV.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _ZIKV-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/orthomyxoviruses/_AI-toolbox.qmd b/orthomyxoviruses/_AI-toolbox.qmd index 321292a5..2e716614 100644 --- a/orthomyxoviruses/_AI-toolbox.qmd +++ b/orthomyxoviruses/_AI-toolbox.qmd @@ -1,3 +1,2 @@ If you are interested in assessing testing capabilities for a particular avian influenza strain, kindly get in touch with us through to inquire about the availability of our toolbox.’ - diff --git a/orthomyxoviruses/_AI.qmd b/orthomyxoviruses/_AI.qmd index bfd6d357..dfb817f4 100644 --- a/orthomyxoviruses/_AI.qmd +++ b/orthomyxoviruses/_AI.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _AI-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/orthomyxoviruses/_Flu.qmd b/orthomyxoviruses/_Flu.qmd index 92cf16af..bc02e174 100644 --- a/orthomyxoviruses/_Flu.qmd +++ b/orthomyxoviruses/_Flu.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _Flu-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/orthomyxoviruses/index.qmd b/orthomyxoviruses/index.qmd index e60db1bd..98032115 100644 --- a/orthomyxoviruses/index.qmd +++ b/orthomyxoviruses/index.qmd @@ -11,7 +11,7 @@ format: params: family: orthomyxoviruses --- - + ```{r} #| echo: false ojs_define(virusFamily = params$family) diff --git a/paramyxoviruses/_CedV.qmd b/paramyxoviruses/_CedV.qmd index 6131ccee..730a32d7 100644 --- a/paramyxoviruses/_CedV.qmd +++ b/paramyxoviruses/_CedV.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _CedV-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/paramyxoviruses/_HPIV3.qmd b/paramyxoviruses/_HPIV3.qmd index 6a70f50c..dd6459f5 100644 --- a/paramyxoviruses/_HPIV3.qmd +++ b/paramyxoviruses/_HPIV3.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _HPIV3-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/paramyxoviruses/_HeV.qmd b/paramyxoviruses/_HeV.qmd index d5291b0f..4d7b0e82 100644 --- a/paramyxoviruses/_HeV.qmd +++ b/paramyxoviruses/_HeV.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _HeV-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/paramyxoviruses/_MeV.qmd b/paramyxoviruses/_MeV.qmd index e5cd9ba8..d9f2bcaf 100644 --- a/paramyxoviruses/_MeV.qmd +++ b/paramyxoviruses/_MeV.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _MeV-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/paramyxoviruses/_NiV.qmd b/paramyxoviruses/_NiV.qmd index fa1c2094..a456c8b4 100644 --- a/paramyxoviruses/_NiV.qmd +++ b/paramyxoviruses/_NiV.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _NiV-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/paramyxoviruses/index.qmd b/paramyxoviruses/index.qmd index 41fc26a6..f24771bd 100644 --- a/paramyxoviruses/index.qmd +++ b/paramyxoviruses/index.qmd @@ -11,7 +11,7 @@ format: params: family: paramyxoviruses --- - + ```{r} #| echo: false ojs_define(virusFamily = params$family) diff --git a/pneumoviruses/_hMPV.qmd b/pneumoviruses/_hMPV.qmd index b0b3ddb9..cb04f84f 100644 --- a/pneumoviruses/_hMPV.qmd +++ b/pneumoviruses/_hMPV.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _hMPV-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/pneumoviruses/_hRSV.qmd b/pneumoviruses/_hRSV.qmd index 1d713d14..6ef7e2fa 100644 --- a/pneumoviruses/_hRSV.qmd +++ b/pneumoviruses/_hRSV.qmd @@ -44,8 +44,12 @@ ## Toolbox +::: {.virus-toolbox} + {{< include _hRSV-toolbox.qmd >}} +::: + ```{ojs} //| output: none //| echo: false diff --git a/styles.css b/styles.css index 367c5ff5..2edf4e7d 100644 --- a/styles.css +++ b/styles.css @@ -349,6 +349,15 @@ table { border: 1px solid #9095A8; } +.virus-toolbox { + font-weight: 500; + font-size: 1.2em; + width: 80%; + margin: auto; + text-align: left; + padding: 50px 10px 10px 10px; +} + .virus-text { font-weight: 500; font-size: 1.2em;