GFS配置页面

This commit is contained in:
Linda 2016-09-19 10:40:50 +08:00
parent 50163a76ac
commit 218a5c6bea
6 changed files with 471 additions and 436 deletions

2
defs.d.ts vendored
View File

@ -34,7 +34,6 @@
/// <reference path="d.ts/developer/ts/projects.d.ts"/>
/// <reference path="d.ts/developer/ts/workspace.d.ts"/>
/// <reference path="d.ts/developer/ts/workspaces.d.ts"/>
/// <reference path="d.ts/navigation/ts/navigationPlugin.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/apps.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/breadcrumbs.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/build.d.ts"/>
@ -77,3 +76,4 @@
/// <reference path="d.ts/kubernetes/ts/sharedControllers.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/tabs.d.ts"/>
/// <reference path="d.ts/kubernetes/ts/templates.d.ts"/>
/// <reference path="d.ts/navigation/ts/navigationPlugin.d.ts"/>

File diff suppressed because one or more lines are too long

View File

@ -249,7 +249,7 @@ gulp.task('connect', ['watch'], function() {
}, {
proto: "http",
port: "8080",
hostname: "192.168.0.101",
hostname: "192.168.0.181",
path: '/java/console/api',
targetPath: "/"
}];

View File

@ -69,15 +69,13 @@ a:hover.sj_btn_grey{ background-image:-webkit-linear-gradient(top, #eeeeee,#d3d3
.sj_content_table > tbody > tr > td{ height:38px; line-height:38px; padding: 0 10px; }
.sj_content_table > thead > tr > th{ height:38px; line-height:38px; padding: 0 10px; }
.sj_content_table .sj_tr_grey{ background:#f3f3f3;}
.sj_table_td01{ width:2%;}
.sj_table_td02{ width:9%;}
.sj_table_td03{ width:22%;}
.sj_table_td04{ width:14%;}
.sj_table_td05{ width:13%;}
.sj_table_td06{ width:10%;}
.sj_table_td07{ width:30%;}
.sj_table_td08{ width:60%;}
.sj_table_td09{ width:70%;}
.sj_table_td01{ width:10%;}
.sj_table_td02{ width:20%;}
.sj_table_td03{ width:30%;}
.sj_table_td04{ width:40%;}
.sj_table_td05{ width:50%;}
.sj_table_td00{ width:5%;}
.sj_table_td06{ width:15%;}
.sj_over_hid{ display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.sj_content_table table tr td input{ margin-top:15px;}
.sj_content_table .sj_table_top td{ border-bottom:1px solid #a6a6a6; font-weight:bold; border-right:1px solid #ccc;}
@ -155,4 +153,5 @@ treecontrol li:hover{}
.sj_new_table tr{ line-height:40px;}
.sj_new_table tr th.new_left{ width:50px;}
.sj_c_green{ color:#58b358;}
.sj_c_red{ color:#c00000;}
.sj_c_red{ color:#c00000;}
.sj_table_border{ border:1px solid #ddd;}

View File

@ -15,21 +15,24 @@
</div>
</div>
<div class="row" ng-repeat="volume in volumes">
<table class="table table-bordered sj_content_table " >
<table class="table sj_content_table sj_table_border" >
<thead class="no-scope">
<tr>
<th class="sj_c_green simple-table-checkbox" style="padding:0 10px;color: #58b358;">已启用</th>
<th class="no-fade table-header">
<th class="sj_c_green table-header sj_table_td00" >已启用</th>
<th class="no-fade table-header sj_table_td06">
<span class="">{{volume.name}}</span>
</th>
<th class="no-fade table-header" colspan="2">
<th class="no-fade table-header sj_table_td02" >
<span class="">云路径:{{volume.path}}</span>
</th>
<th class="no-fade table-header sj_table_td02" >
<span class=""></span>
</th>
<th class="no-fade table-header">
<th class="no-fade table-header sj_table_td02">
<span class="">已用&nbsp;{{volume.usedSize}}&nbsp;&nbsp;/&nbsp;&nbsp;&nbsp;{{allSize}}</span>
</th>
<th class="no-fade table-header">
<th class="no-fade table-header sj_table_td01">
<button class="btn sj_btn" ng-click="editRow(volume)">
<span class="glyphicon glyphicon-pencil"></span>&nbsp;&nbsp;编辑
</button>
@ -39,16 +42,16 @@
<tbody>
<tr ng-repeat="row in volume.brick track by $index" class="row.class">
<td>
<span class="glyphicon glyphicon-ok sj_c_green" style="padding:0 10px; color: #58b358;"></span>
<span class="glyphicon glyphicon-ok sj_c_green " ></span>
</td>
<td >
<span class="">服务器{{$index+1}}</span>
</td>
<td >
<span class="">{{row.ip}}</span>
<span class="sj_table_td02">{{row.ip}}</span>
</td>
<td >
<span class="">存储路径:{{row.path}}</span>
<span class="sj_table_td02">存储路径:{{row.path}}</span>
</td>
<td >
<span class="">已用&nbsp;{{row.usedSize}}&nbsp;&nbsp;/&nbsp;&nbsp;&nbsp;{{row.availableSize}}</span>