aboutsummaryrefslogtreecommitdiff
path: root/inst/app/templates/content/estimators/add-estimators/components/panel.html
blob: b1e037868f8d8bc05b7dd22b3cca44dc5ec4300d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<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/estimators/add-estimators/descriptions/", id, ".html")) }}</p>
      <h5>Parameters</h5>
      <form class="my-3">
        {{ htmlTemplate(paste0("templates/content/estimators/add-estimators/parameters/", id, ".html")) }}
      </form>
      <button id="add_{{ id }}" type="button" class="btn btn-outline-primary btn-sm action-button">
        <span class="glyphicon glyphicon-plus"></span> Add
      </button>
    </div>
  </div>
</div>