diff options
author | Naeem Model <me@nmode.ca> | 2024-05-09 20:22:45 +0000 |
---|---|---|
committer | Naeem Model <me@nmode.ca> | 2024-05-09 20:22:45 +0000 |
commit | dce01ac19a0298388089ce4297a44ef2aa2c4c46 (patch) | |
tree | 1dbc74e9f7e9139f14a517b33a0e3c82c6e04dd0 /inst/app/templates/content/help | |
parent | e06a56581d43cb3c59d51b9b39e6d0fb36efe31c (diff) |
Revamp Shiny app
Diffstat (limited to 'inst/app/templates/content/help')
-rw-r--r-- | inst/app/templates/content/help/example-help-1.html | 1 | ||||
-rw-r--r-- | inst/app/templates/content/help/example-help-2.html | 1 | ||||
-rw-r--r-- | inst/app/templates/content/help/panel.html | 12 |
3 files changed, 14 insertions, 0 deletions
diff --git a/inst/app/templates/content/help/example-help-1.html b/inst/app/templates/content/help/example-help-1.html new file mode 100644 index 0000000..245b9b6 --- /dev/null +++ b/inst/app/templates/content/help/example-help-1.html @@ -0,0 +1 @@ +Example help 1 diff --git a/inst/app/templates/content/help/example-help-2.html b/inst/app/templates/content/help/example-help-2.html new file mode 100644 index 0000000..a4817b5 --- /dev/null +++ b/inst/app/templates/content/help/example-help-2.html @@ -0,0 +1 @@ +Example help 2 diff --git a/inst/app/templates/content/help/panel.html b/inst/app/templates/content/help/panel.html new file mode 100644 index 0000000..9eb6e2e --- /dev/null +++ b/inst/app/templates/content/help/panel.html @@ -0,0 +1,12 @@ +<div class="accordion-item"> + <h2 class="accordion-header"> + <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#{{ id }}"> + {{ header }} + </button> + </h2> + <div id="{{ id }}" class="accordion-collapse collapse" data-bs-parent="#help-accordion"> + <div class="accordion-body"> + {{ htmlTemplate(paste0("templates/content/help/", id, ".html")) }} + </div> + </div> +</div> |