diff options
author | 2016-10-29 11:07:10 +0800 | |
---|---|---|
committer | 2016-10-29 12:08:21 +0800 | |
commit | 2b340a445aa07d38fcbd2eff8d7cdb6c3d7cf518 (patch) | |
tree | 8ac033e5942c595770a62587f778ef8c7aba107b /openo-portal/portal-resmgr/src/main/webapp/resmgr-sdn/ne.html | |
parent | 34766df33b206e306365284193dd6d12aa3e2b44 (diff) |
fix all bug in sdno resource page and controller page.
delete all the idea configuration files in source code.
rewrite the storage and query function in controller page.
fix wrong logic in ne, link, port, site page and brs.js.
SDNO-805
Change-Id: I2fdecc186a5790a9b27c4cade8aa78c3d1575f6e
Signed-off-by: yuhao10 <yuhao10@huawei.com>
Diffstat (limited to 'openo-portal/portal-resmgr/src/main/webapp/resmgr-sdn/ne.html')
-rw-r--r-- | openo-portal/portal-resmgr/src/main/webapp/resmgr-sdn/ne.html | 36 |
1 files changed, 25 insertions, 11 deletions
diff --git a/openo-portal/portal-resmgr/src/main/webapp/resmgr-sdn/ne.html b/openo-portal/portal-resmgr/src/main/webapp/resmgr-sdn/ne.html index 4a1f9fdc..518da3ee 100644 --- a/openo-portal/portal-resmgr/src/main/webapp/resmgr-sdn/ne.html +++ b/openo-portal/portal-resmgr/src/main/webapp/resmgr-sdn/ne.html @@ -31,14 +31,10 @@ <script type="text/javascript" src="js/bootstrap-table.min.js"></script>
<script type="text/javascript" src="js/bootstrap-table-filter-control.min.js"></script>
<script type="text/javascript">
+
$(document).ready(function () {
- var jsondata = [];
- jsondata = loadNeData();
- $('#ne').bootstrapTable({
- //Assigning data to table
- data: jsondata
- });
+ loadNeData();
});
function operateFormatter(value, row, index) {
return [
@@ -146,6 +142,15 @@ </div>
</th>
<th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign"
+ data-field="nativeID" data-sortable="true" data-filter-control="input">
+ <div class="openo-table-th-border"></div>
+ <div class="DataTables_sort_wrapper openo-ellipsis ">
+ <span id="native_Id"
+ class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Native Id
+ </span>
+ </div>
+ </th>
+ <th class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign"
data-field="ipAddress" data-sortable="true" data-filter-control="input">
<div class="openo-table-th-border"></div>
<div class="DataTables_sort_wrapper openo-ellipsis ">
@@ -321,11 +326,20 @@ <span>Controller</span>
</label>
<div class="col-sm-7">
- <select class="form-control" style="padding-top: 0px;padding-bottom: 0px;"
- id="controller"
- name="controller">
- <option value="Type1">Type1</option>
- </select>
+ <select class="form-control" style="padding-top: 0px;padding-bottom: 0px;"
+ id="controller"
+ name="controller">
+ <option value="Type1">No controller</option>
+ </select>
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="col-sm-3 control-label">
+ <span>Native ID</span>
+ </label>
+ <div class="col-sm-7">
+ <input type="text" id="nativeID" name="nativeID" class="form-control"
+ placeholder="Native ID"/>
</div>
</div>
<div class="form-group">
|