diff options
author | yuhao10 <yuhao10@huawei.com> | 2016-10-29 19:52:24 +0800 |
---|---|---|
committer | yuhao10 <yuhao10@huawei.com> | 2016-10-29 19:52:24 +0800 |
commit | 90341c19295b8e66d5aee28ca13c67e22de670e1 (patch) | |
tree | 1fdeca399d02990c13a7043a17487b3b18de6c1e /openo-portal | |
parent | 2b340a445aa07d38fcbd2eff8d7cdb6c3d7cf518 (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>
Diffstat (limited to 'openo-portal')
-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>
|