diff options
Diffstat (limited to 'admportal/views/partials/new_parameter.ejs')
-rw-r--r-- | admportal/views/partials/new_parameter.ejs | 71 |
1 files changed, 36 insertions, 35 deletions
diff --git a/admportal/views/partials/new_parameter.ejs b/admportal/views/partials/new_parameter.ejs index b6d1f5be..4a2c0fe3 100644 --- a/admportal/views/partials/new_parameter.ejs +++ b/admportal/views/partials/new_parameter.ejs @@ -1,36 +1,37 @@ - <div class="modal fade" id="new_parameter" tabindex="-1" role="dialog" +<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">×</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="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> + <div class="modal-dialog"> + <div class="modal-content"> + <div class="modal-header"> + <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</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> |