Skip to content

Commit

Permalink
Add styling to custom toolbox text
Browse files Browse the repository at this point in the history
  • Loading branch information
tverbeiren committed Sep 27, 2023
1 parent bba2853 commit 22b437b
Show file tree
Hide file tree
Showing 35 changed files with 132 additions and 4 deletions.
4 changes: 4 additions & 0 deletions _js/update_family.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' +
Expand Down
4 changes: 4 additions & 0 deletions alphaviruses/_CHIKV.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _CHIKV-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
4 changes: 4 additions & 0 deletions alphaviruses/_MAYV.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _MAYV-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
4 changes: 4 additions & 0 deletions alphaviruses/_RRV.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _RRV-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
4 changes: 4 additions & 0 deletions alphaviruses/_SFV.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _SFV-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
4 changes: 4 additions & 0 deletions alphaviruses/_SINV.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _SINV-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
4 changes: 4 additions & 0 deletions alphaviruses/_VEEV.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _VEEV-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
4 changes: 4 additions & 0 deletions coronaviruses/_HCoV-229E.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _HCoV-229E-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
4 changes: 4 additions & 0 deletions coronaviruses/_HCoV-HKU01.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _HCoV-HKU01-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
4 changes: 4 additions & 0 deletions coronaviruses/_HCoV-NL63.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _HCoV-NL63-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
4 changes: 4 additions & 0 deletions coronaviruses/_HCoV-OC43.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _HCoV-OC43-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
4 changes: 4 additions & 0 deletions coronaviruses/_MERS-CoV.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _MERS-CoV-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
4 changes: 4 additions & 0 deletions coronaviruses/_SARS-CoV-2.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _SARS-CoV-2-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
4 changes: 4 additions & 0 deletions coronaviruses/_SARS-CoV.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _SARS-CoV-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
2 changes: 1 addition & 1 deletion coronaviruses/_details.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@
[open virus page](/coronaviruses/MERS-CoV.qmd) / [reload family page](/coronaviruses/)
:::

::::
::::
4 changes: 4 additions & 0 deletions flaviviruses/_DENV.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _DENV-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
4 changes: 4 additions & 0 deletions flaviviruses/_JEV.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _JEV-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
4 changes: 4 additions & 0 deletions flaviviruses/_TBEV.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _TBEV-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
4 changes: 4 additions & 0 deletions flaviviruses/_USUV.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _USUV-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
4 changes: 4 additions & 0 deletions flaviviruses/_WNV.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _WNV-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
4 changes: 4 additions & 0 deletions flaviviruses/_YFV.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _YFV-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
4 changes: 4 additions & 0 deletions flaviviruses/_ZIKV.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _ZIKV-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
1 change: 0 additions & 1 deletion orthomyxoviruses/_AI-toolbox.qmd
Original file line number Diff line number Diff line change
@@ -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 <[email protected]> to inquire about the availability of our toolbox.’


4 changes: 4 additions & 0 deletions orthomyxoviruses/_AI.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _AI-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
4 changes: 4 additions & 0 deletions orthomyxoviruses/_Flu.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _Flu-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
2 changes: 1 addition & 1 deletion orthomyxoviruses/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ format:
params:
family: orthomyxoviruses
---

```{r}
#| echo: false
ojs_define(virusFamily = params$family)
Expand Down
4 changes: 4 additions & 0 deletions paramyxoviruses/_CedV.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _CedV-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
4 changes: 4 additions & 0 deletions paramyxoviruses/_HPIV3.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _HPIV3-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
4 changes: 4 additions & 0 deletions paramyxoviruses/_HeV.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _HeV-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
4 changes: 4 additions & 0 deletions paramyxoviruses/_MeV.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _MeV-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
4 changes: 4 additions & 0 deletions paramyxoviruses/_NiV.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@

## Toolbox

::: {.virus-toolbox}

{{< include _NiV-toolbox.qmd >}}

:::

```{ojs}
//| output: none
//| echo: false
Expand Down
2 changes: 1 addition & 1 deletion paramyxoviruses/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ format:
params:
family: paramyxoviruses
---

```{r}
#| echo: false
ojs_define(virusFamily = params$family)
Expand Down
Loading

0 comments on commit 22b437b

Please sign in to comment.