aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/templates/products.html
blob: 9d483e16164e37c5833d12a141ed61bf73151294 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{#
 # Copyright (c) 2016 Weitian LI <liweitianux@live.com>
 # MIT license
 #
 # Products part
 #}
<section id="products">
  <h2 class="heading">
    <span class="icon fa fa-files-o" aria-hidden="true"></span>
    <span class="text">Products</span>
    <span class="toggle fa fa-chevron-circle-up" title="Collapse contents"></span>
  </h2>

  <div class="body">
    <hr />

    <p class="button-group">
      <button type="button" id="load-products"><span class="fa fa-download" aria-hidden="true"></span> Load Products</button>
      <button type="button" id="save-products"><span class="fa fa-save" aria-hidden="true"></span> Save Products</button>
    </p>
    <form id="products-form" class="form-inline" autocomplete="on">
      <div class="row">
        <div class="column form-group">
          <label for="products-manifest">Products Manifest:</label>
          <input class="form-control code" type="text" id="products-manifest" required />
        </div>
      </div>
      {% if from_localhost %}
      <div class="row">
        <div class="column form-group">
          <label for="products-fitsviewer">FITS Viewer Path:</label>
          <input class="form-control code" type="text" id="products-fitsviewer" value="ds9" />
        </div>
      </div>
      {% end %}
    </form>

    <hr class="hr-thin hr-condensed hr-dashed" />

    <table id="products-manifest">
      <caption>No products manifest loaded yet.</caption>
      <thead></thead>
      <tbody></tbody>
    </table>
  </div>  <!-- h2: body -->
</section>