diff options
author | yuhao10 <yuhao10@huawei.com> | 2016-10-29 19:52:24 +0800 |
---|---|---|
committer | jin xin <j00101220@huawei.com> | 2016-10-30 07:08:35 +0000 |
commit | e3ad21f93f114361f147371c8e512600ab1c8803 (patch) | |
tree | 145b8bb5993cd0c186a4caa1afddeca85d37e002 | |
parent | fd5ed788e162ad483ae9fe50d09409cf348ec2d8 (diff) |
set version type field in controller.html
set type version field as required
change type from select to input
SDNO-805
Change-Id: Ia7e9288440855abf233a4e05b10d66a777be4ae6
Signed-off-by: yuhao10 <yuhao10@huawei.com>
(cherry picked from commit 90341c19295b8e66d5aee28ca13c67e22de670e1)
-rw-r--r-- | openo-portal/portal-extsys/src/main/webapp/extsys/sdncontroller/controller.html | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/sdncontroller/controller.html b/openo-portal/portal-extsys/src/main/webapp/extsys/sdncontroller/controller.html index 635cfb2d..59d35c73 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/sdncontroller/controller.html +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/sdncontroller/controller.html @@ -32,6 +32,7 @@ <script type="text/javascript" src="js/bootstrap-table-filter-control.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
+ setUrlFromFile();
loadControllerData();
});
function operateFormatter(value, row, index) {
@@ -243,7 +244,8 @@ </div>
</div>
<div class="form-group">
- <label class="col-sm-3 control-label"> <span>Version</span>
+ <label class="col-sm-3 control-label"> <span>Version</span><span
+ class="required">*</span>
</label>
<div class="col-sm-7">
<input type="text" id="version" name="version" class="form-control"/>
@@ -285,15 +287,12 @@ </div>
</div>
<div class="form-group">
- <label class="col-sm-3 control-label"> <span>Type</span>
+ <label class="col-sm-3 control-label"> <span>Type</span><span
+ class="required">*</span>
</label>
<div class="col-sm-7">
- <select class="form-control"
- style="padding-top: 0px; padding-bottom: 0px;" id="type"
- name="type">
- <option value="odl">ODL</option>
- <option value="onos">ONOS</option>
- </select>
+ <input type="text" id="description" name="description"
+ class="form-control"/>
</div>
</div>
</div>
|