aboutsummaryrefslogtreecommitdiff
path: root/inst/web/templates/content/estimation/about-estimators/panel.html
diff options
context:
space:
mode:
authorNaeem Model <me@nmode.ca>2025-01-06 23:55:43 +0000
committerNaeem Model <me@nmode.ca>2025-01-06 23:55:43 +0000
commite920b3e514e717fc05ed524267d3b53e272fec51 (patch)
tree353cfb36aca946d69da6d6dcacc0cb66177050ef /inst/web/templates/content/estimation/about-estimators/panel.html
parent2d34b71c7a8da7fd0fac59b934145286b2be7b1f (diff)
Update web app entry point
- Rename 'app' -> 'web' - Return shiny app object in entry point function
Diffstat (limited to 'inst/web/templates/content/estimation/about-estimators/panel.html')
-rw-r--r--inst/web/templates/content/estimation/about-estimators/panel.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/inst/web/templates/content/estimation/about-estimators/panel.html b/inst/web/templates/content/estimation/about-estimators/panel.html
new file mode 100644
index 0000000..98fe155
--- /dev/null
+++ b/inst/web/templates/content/estimation/about-estimators/panel.html
@@ -0,0 +1,14 @@
+<div class="accordion-item">
+ <h2 class="accordion-header">
+ <button class="accordion-button collapsed" type="button"
+ data-bs-toggle="collapse" data-bs-target="#{{ id }}">
+ <h4>{{ header }}</h4>
+ </button>
+ </h2>
+ <div id="{{ id }}" class="accordion-collapse collapse" data-bs-parent="#estimators-accordion">
+ <div class="accordion-body">
+ <p>Reference: <a href="{{ reference_url }}" target="_blank"><em>{{ reference_label }}</em></a></p>
+ <p>{{ htmlTemplate(paste0("templates/content/estimation/about-estimators/", id, ".html")) }}</p>
+ </div>
+ </div>
+</div>