summaryrefslogtreecommitdiffstats
path: root/admportal/views/partials/new_parameter.ejs
blob: 4a2c0fe38e8d365879c61969f1f62b8e1f51fa4d (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
<div class="modal fade" id="new_parameter" tabindex="-1" role="dialog" 
		aria-labelledby="new_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">Add Parameter</h4>
			</div>
			<div class="modal-body">
				<form name="addForm" role="form" action="/admin/addParameter" method="POST">
					<div class="form-group">
						<label for="nf_name">*Name</label>
						<input maxlength="100" type="text" class="form-control" name="nf_name" id="nf_name" placeholder="varchar(100)" />
					</div>
					<div class="form-group">
						<label for="nf_value">*Value</label>
						<input maxlength="100" type="text" class="form-control" name="nf_value" id="nf_value" placeholder="varchar(100)" />
					</div>
					<div class="form-group">
						<label for="nf_category">Category</label>
						<input maxlength="24" type="text" class="form-control" name="nf_category" id="nf_category" placeholder="varchar(24)" />
					</div>
					<div class="form-group">
						<label for="nf_memo">Memo</label>
						<input maxlength="128" type="text" class="form-control" name="nf_memo" id="nf_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">
          	<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>