aboutsummaryrefslogtreecommitdiffstats
path: root/admportal/views/partials/max_port_speed.ejs
blob: a578308ef0d46207843087766dd7c302fb3e93b1 (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
 <div class="modal fade" id="add_max_port_speed" tabindex="-1" role="dialog"
        aria-labelledby="add_max_port_speed_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 Max Port Speed</h4>
          </div>
          <div class="modal-body">
            <form name="addForm" role="form" action="/resalloc/addMaxPortSpeed" method="POST">
              <div class="form-group">
                <label for="nf_image_file_name">*Image File Name</label>
                <input type="text" class="form-control" maxlength="50" name="nf_image_file_name" id="nf_image_file_name" placeholder="varchar(50)">
              </div>
              <div class="form-group">
                <label for="nf_end_point_position">*End Point Position</label>
                <input type="text" class="form-control" maxlength="50" name="nf_end_point_position" id="nf_end_point_position" placeholder="varchar(50)">
              </div>
              <div class="form-group">
                <label for="nf_interface_name">*Interface Name</label>
                <input type="text" class="form-control" maxlength="100" name="nf_interface_name" id="nf_interface_name" placeholder="varchar(100)" >
              </div>
              <div class="form-group">
                <label for="nf_max_speed">*Max Speed</label>
                <input type="text" class="form-control" maxlength="50" name="nf_max_speed" id="nf_max_speed" placeholder="bigint(20)">
              </div>
              <div class="form-group">
                <label for="nf_unit">*Unit</label>
                <input type="text" class="form-control" maxlength="10" name="nf_unit" id="nf_unit" placeholder="varchar(10)">
              </div>
              <div class="form-group">
                <input type="hidden" name="nf_action" id="nf_action">
                <button type="button" class="btn btn-primary" onclick="submitMaxPortSpeed(this.form);">Submit</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_max_port_speed" tabindex="-1" role="dialog" 
		aria-labelledby="update_max_port_speed_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 Max Port Speed</h4>
          </div>
          <div class="modal-body">
            <form name="updateForm" role="form" action="/resalloc/updateMaxPortSpeed" method="POST">
              <div class="form-group">
                <label for="uf_max_port_speed_id">*ID</label>
                <input readonly type="text" class="form-control" name="uf_max_port_speed_id" id="uf_max_port_speed_id">
              </div>
              <div class="form-group">
                <label for="uf_image_file_name">*Image File Name</label>
                <input type="text" class="form-control" maxlength="50" name="uf_image_file_name" id="uf_image_file_name" placeholder="varchar(50)">
              </div>
              <div class="form-group">
                <label for="uf_end_point_position">*End Point Position</label>
                <input type="text" class="form-control" maxlength="50" name="uf_end_point_position" id="uf_end_point_position" placeholder="varchar(50)">
              </div>
              <div class="form-group">
                <label for="uf_interface_name">*Interface Name</label>
                <input type="text" class="form-control" maxlength="100" name="uf_interface_name" id="uf_interface_name" placeholder="varchar(100)">
              </div>
              <div class="form-group">
                <label for="uf_max_speed">*Max Speed</label>
                <input type="text" class="form-control" maxlength="50" name="uf_max_speed" id="uf_max_speed" placeholder="bigint(20)">
			  </div>
              <div class="form-group">
                <label for="uf_unit">*Unit</label>
                <input type="text" class="form-control" maxlength="10" name="uf_unit" id="uf_unit" placeholder="varchar(10)">
			  </div>
              <div class="form-group">
				<input type="hidden" name="uf_action" id="uf_action">
				<input type="hidden" name="uf_key_max_port_speed_id" id="uf_key_max_port_speed_id">
                <button type="button" class="btn btn-primary" onclick="submitMaxPortSpeed(this.form);">Submit</button>
				<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
              </div>
           </form>
          </div>
      </div>
    </div>
  </div>