summaryrefslogtreecommitdiffstats
path: root/admportal/views/partials/roadm_mapping.ejs
blob: 0e3a6fbd1a57988d4775264c55d8703cc24c73f1 (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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<div class="modal fade" id="add_roadm_mapping" tabindex="-1" role="dialog"
                aria-labelledby="add_roadm_mapping_label" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
          <h4 class="modal-title">Add ROADM Mapping</h4>
      </div>
      <div class="modal-body">
      <form name="addForm" role="form" action="/tunnel/addRoadmMapping" method="POST">
          <div class="form-group">
              <label for="nf_router_name">*Router Name</label>
              <input type="text" class="form-control" name="nf_router_name" id="nf_router_name" maxlength="20" placeholder="varchar(20)">
          </div>
          <div class="form-group">
              <label for="nf_roadm_name">*ROADM Name</label>
              <input type="text" class="form-control" name="nf_roadm_name" id="nf_roadm_name" maxlength="20" placeholder="varchar(20)">
          </div>
          <div class="form-group">
              <label for="nf_clli">*CLLI</label>
              <input type="text" class="form-control" name="nf_clli" id="nf_clli" maxlength="20" placeholder="varchar(20)">
          </div>
          <div class="form-group">
              <label for="nf_city_name">*City Name</label>
              <input type="text" class="form-control" name="nf_city_name" id="nf_city_name" maxlength="80" placeholder="varchar(80)">
          </div>
          <div class="form-group">
              <label for="nf_lat">*Latitude</label>
              <input type="text" class="form-control" name="nf_lat" id="nf_lat" maxlength="20" placeholder="varchar(20)">
          </div>
          <div class="form-group">
              <label for="nf_lon">*Longitude</label>
              <input type="text" class="form-control" name="nf_lon" id="nf_lon" maxlength="20" placeholder="varchar(20)">
          </div>
          <div class="form-group">
              <label for="nf_snrc">*SNRC</label>
              <input type="text" class="form-control" name="nf_snrc" id="nf_snrc" maxlength="20" placeholder="varchar(20)">
          </div>

          <div class="form-group">
                <input type="hidden" name="nf_action" id="nf_action">
                <button type="button" class="btn btn-primary" onclick="saveRoadmMapping(this.form);">Save</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
          </div>
       </form>
       </div>
    </div>
  </div>
</div>

<div class="modal fade" id="update_roadm_mapping" tabindex="-1" role="dialog"
        aria-labelledby="update_roadm_mapping_label" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
          <h4 class="modal-title">Update ROADM Mapping</h4>
      </div>
      <div class="modal-body">
      <form role="form" action="/tunnel/updateRoadmMapping" method="POST">
          <div class="form-group">
              <label for="uf_router_name">*Router Name</label>
              <input type="text" class="form-control" name="uf_router_name" id="uf_router_name" maxlength="20" placeholder="varchar(20)">
          </div>
          <div class="form-group">
              <label for="uf_roadm_name">*ROADM Name</label>
              <input type="text" class="form-control" name="uf_roadm_name" id="uf_roadm_name" maxlength="20" placeholder="varchar(20)">
          </div>
          <div class="form-group">
              <label for="uf_clli">*CLLI</label>
              <input type="text" class="form-control" name="uf_clli" id="uf_clli" maxlength="20" placeholder="varchar(20)">
          </div>
          <div class="form-group">
              <label for="uf_city_name">*City Name</label>
              <input type="text" class="form-control" name="uf_city_name" id="uf_city_name" maxlength="80" placeholder="varchar(80)">
          </div>
          <div class="form-group">
              <label for="uf_lat">*Latitude</label>
              <input type="text" class="form-control" name="uf_lat" id="uf_lat" maxlength="20" placeholder="varchar(20)">
          </div>
          <div class="form-group">
              <label for="uf_lon">*Longitude</label>
              <input type="text" class="form-control" name="uf_lon" id="uf_lon" maxlength="20" placeholder="varchar(20)">
          </div>
          <div class="form-group">
              <label for="uf_snrc">*SNRC</label>
              <input type="text" class="form-control" name="uf_snrc" id="uf_snrc" maxlength="20" placeholder="varchar(20)">
          </div>

      <div class="form-group">
            <input type="hidden" name="uf_action" id="uf_action">
            <input type="hidden" name="uf_key_router_name" id="uf_key_router_name">
            <button type="button" class="btn btn-primary" onclick="saveRoadmMapping(this.form);">Save</button>
            <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
      </div>
      </form>
      </div>
    </div>
  </div>
</div>