aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/templates/products.html
blob: 6ef7e1f29e1d72f2006047ad92010fe2f3143d7e (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
47
48
{#
 # 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 -->

  <div id="modal-products" class="modal" style="display: none;"></div>
</section>