summaryrefslogtreecommitdiffstats
path: root/admportal/views/partials/update_parameter.ejs
blob: 257f657e437ee115ac09deff1ddf4c466e4b9ed8 (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
   <div class="modal fade" id="update_parameter" tabindex="-1" role="dialog" 
		aria-labelledby="parameter_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 Parameter</h4>
          </div>
          <div class="modal-body">
            <form name="updateForm" role="form" action="/admin/updateParameter" method="POST">
              <div class="form-group">
                <label for="uf_name">*Name</label>
                <input maxlength="100" type="text" class="form-control" name="uf_name" id="uf_name" placeholder="varchar(100)">
              </div>
              <div class="form-group">
                <label for="uf_value">*Value</label>
                <input maxlength="100" type="text" class="form-control" name="uf_value" id="uf_value" placeholder="varchar(100)">
              </div>
              <div class="form-group">
                <label for="uf_category">Category</label>
                <input maxlength="24" type="text" class="form-control" name="uf_category" id="uf_category" placeholder="varchar(24)">
              </div>
              <div class="form-group">
                <label for="uf_memo">Memo</label>
                <input maxlength="128" type="text" class="form-control" name="uf_memo" id="uf_memo" placeholder="varchar(128)">
              </div>
			  <div class="form-group">
					<input type="hidden" name="_csrf" value="<%= privilege.csrfToken %>" />
                  <input type="hidden" name="nf_action" id="nf_action">
                  <input type="hidden" name="uf_key_name" id="uf_key_name">
                  <button type="button" class="btn btn-primary" onclick="submitParam(this.form);">Submit</button>
                  <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
              </div>
           </form>
          </div>
      </div>
    </div>
  </div>