| 23783 |
ashik.ali |
1 |
<script type="text/javascript">
|
|
|
2 |
configureApisForEditDropDown();
|
|
|
3 |
</script>
|
|
|
4 |
<section class="wrapper">
|
|
|
5 |
<div class="row">
|
|
|
6 |
<div class="col-lg-12">
|
|
|
7 |
<h3 class="page-header"><i class="icon_document_alt"></i>ROLE MGMT</h3>
|
|
|
8 |
<ol class="breadcrumb">
|
|
|
9 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
|
|
10 |
<li><i class="icon_document_alt"></i>EDIT API</li>
|
|
|
11 |
</ol>
|
|
|
12 |
</div>
|
|
|
13 |
</div>
|
|
|
14 |
<div style="background:white;background-color:white;padding:10px;">
|
|
|
15 |
<h4 class="modelHeaderCustom" style="font-size:22px;">Api Information</h4>
|
|
|
16 |
<div>
|
|
|
17 |
<div class = "row">
|
|
|
18 |
<div class="col-lg-4 form-group">
|
|
|
19 |
<select class="form-control input-sm" id = "apis-for-edit" name = "apis-for-edit" placeholder="Apis">
|
|
|
20 |
<option value="" disabled selected>Apis</option>
|
|
|
21 |
#foreach($api in $apis)
|
|
|
22 |
<option value="$api.getId()">$api.getName() [$api.getUri()][$api.getMethod()]</option>
|
|
|
23 |
#end
|
|
|
24 |
</select>
|
|
|
25 |
</div>
|
|
|
26 |
<div class="col-lg-2 form-group">
|
|
|
27 |
<input placeholder="Name" id="apiName" name="apiName" type="text" value="" class="form-control input-sm">
|
|
|
28 |
</div>
|
|
|
29 |
<div class="col-lg-2 form-group">
|
|
|
30 |
<input placeholder="Uri" id="uri" name="uri" type="text" value="" class="form-control input-sm">
|
|
|
31 |
</div>
|
|
|
32 |
<div class="col-lg-2 form-group">
|
|
|
33 |
<select class="form-control input-sm" id = "api-methods" name = "api-methods" placeholder="Methods">
|
|
|
34 |
<option value="" disabled selected>Methods</option>
|
|
|
35 |
#foreach($method in $methods)
|
|
|
36 |
<option value="$method">$method</option>
|
|
|
37 |
#end
|
|
|
38 |
</select>
|
|
|
39 |
</div>
|
|
|
40 |
<div class="col-lg-2 form-group">
|
|
|
41 |
<button class="btn btn-primary edit-api-button" type="button" style="width:100%;border-radius:0px;">Edit Api</button>
|
|
|
42 |
</div>
|
|
|
43 |
</div>
|
|
|
44 |
</div>
|
|
|
45 |
</div>
|
|
|
46 |
|
|
|
47 |
</section>
|