aboutsummaryrefslogtreecommitdiffstats
path: root/admportal/views/partials/sdnc_request_header_modal.ejs
blob: 08ae186802bc7af30c444bd13e14c21b7fae6f6f (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
   <div class="modal fade" 
		id="sdnc-request-header-modal" tabindex="-1" role="dialog" 
		aria-labelledby="sdnc-request-header-modal-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" id="sdnc-request-header-modal-label">sdnc-request-header</h4>
          </div>
          <div class="modal-body">
            <form id="sdnc_request_header_form" role="form" action="" method="POST">
              <div class="form-group">
                <label for="svc_notification_url">svc-notification-url</label>
                <input type="text" class="form-control" name="svc_notification_url" id="svc_notification_url">
              </div>
              <div class="form-group">
                <label for="svc_request_id">svc-request-id</label>
                <input type="text" class="form-control" name="svc_request_id" id="svc_request_id">
              </div>
              <div class="form-group">
                <label for="svc_action">svc-action</label>
                <input type="text" class="form-control" name="svc_action" id="svc_action">
              </div>

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

<script type="text/javascript">
function submit(form){
	$('#service-status-modal').modal('hide');
	form.action = form.uf_action.value;
	form.submit();
	return;
}
</script>