]> nmode's Git Repositories - Rnaught/blob - inst/app/templates/content/estimators/add-estimators/components/panel.html
b1e037868f8d8bc05b7dd22b3cca44dc5ec4300d
[Rnaught] / inst / app / templates / content / estimators / add-estimators / components / panel.html
1 <div class="accordion-item">
2 <h2 class="accordion-header">
3 <button class="accordion-button collapsed" type="button"
4 data-bs-toggle="collapse" data-bs-target="#{{ id }}">
5 <h4>{{ header }}</h4>
6 </button>
7 </h2>
8 <div id="{{ id }}" class="accordion-collapse collapse" data-bs-parent="#estimators-accordion">
9 <div class="accordion-body">
10 <p>Reference: <a href="{{ reference_url }}" target="_blank"><em>{{ reference_label }}</em></a></p>
11 <p>{{ htmlTemplate(paste0("templates/content/estimators/add-estimators/descriptions/", id, ".html")) }}</p>
12 <h5>Parameters</h5>
13 <form class="my-3">
14 {{ htmlTemplate(paste0("templates/content/estimators/add-estimators/parameters/", id, ".html")) }}
15 </form>
16 <button id="add_{{ id }}" type="button" class="btn btn-outline-primary btn-sm action-button">
17 <span class="glyphicon glyphicon-plus"></span> Add
18 </button>
19 </div>
20 </div>
21 </div>