aboutsummaryrefslogtreecommitdiffstats
path: root/templates/send.html
blob: f90d44793cfae7e938c51df0d96fba30ff7fa9a6 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{% include "head.html" %}
<div class="content">
  <h1>Send a frame</h1>
  <div class="section">
    <p>One main feature of CATS is that packets are constructed from Whiskers.
    Each Whisker represents one possible attribute of data.</p>
    <p>On this page you can select which whiskers to include in your packet.</p>
  </div>

  <div class="section">
    <h2>Identification</h2>
    <p>{{ conf.callsign }}-{{ conf.ssid }}</p>
  </div>
  <div class="section">
    <h2>Destination Whisker</h2>
    <p>CATS packets can optionally have one or more destinations.
    This can be useful for e.g. sending a message to another amateur radio operator,
    or for communicating with a service.
    The destination consists of a UTF-8 callsign and an SSID byte.</p>
    <template id="destination_template">
      <p class="destination">
      <input class="textinput dest_callsign" type="text" placeholder="Type callsign here">
      <input class="textinput dest_ssid" type="text" placeholder="Type SSID here">
      <button class="btn" type="button" onclick="btn_send_remove_destination(this)">Remove</button>
      </p>
    </template>
    <div id="destinations"></div>
    <button class="btn" type="button" onclick="btn_send_add_destination()">Add destination</button>
  </div>
  <div class="section">
    <h2>Comment Whisker</h2>
    <div>
      <input type="checkbox" id="with_comment" value="Include Comment" checked>
      <input class="textinput" type="text" id="whisker_comment" placeholder="Type comment here">
    </div>
  </div>

  <!-- not yet implemented in ham-cats
  <div class="section">
    <h2>Simplex Whisker</h2>
    <p>The simplex whisker lets you communicate if you are reachable over a simplex voice frequency</p>
    <div>
      <input type="checkbox" id="with_simplex" value="Include Simplex Whisker" checked>
      <input class="textinput" type="text" id="simplex_frequency" value="145.500">
      <select class="select" id="simplex_mode">
        <option value="FM" selected>FM</option>
        <option value="CATS">CATS</option>
        <option value="USB">USB</option>
        <option value="LSB">LSB</option>
        <option value="CW">LSB</option>
        <option value="AM">AM</option>
        <option value="FreeDV">FreeDV</option>
        <option value="M17">M17</option>
        <option value="D-STAR">D-STAR</option>
        <option value="DMR">DMR</option>
        <option value="Fusion">Fusion</option>
        <option value="P25">P25</option>
      </select>
    </div>
  </div>-->

  <div class="section">
    <button class="btn" type="button" onclick="btn_send_send()">Send</button>
  </div>
</div>
{% include "foot.html" %}
{# vi:set et sw=2 ts=2: #}