数据管理页面导航文字居中、批次样式修改、表格样式修改、增加位置显示栏
This commit is contained in:
parent
d70816ba29
commit
32311b2c73
|
@ -24,7 +24,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"/>
|
||||
|
@ -69,3 +68,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
|
@ -249,7 +249,7 @@ gulp.task('connect', ['watch'], function() {
|
|||
}, {
|
||||
proto: "http",
|
||||
port: "8080",
|
||||
hostname: "192.168.0.102",
|
||||
hostname: "192.168.0.101",
|
||||
path: '/java/console/api',
|
||||
targetPath: "/"
|
||||
}];
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
173
new/sj_style.css
173
new/sj_style.css
|
@ -1,85 +1,88 @@
|
|||
/* 样式重置 */
|
||||
body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{ margin:0; padding:0;}
|
||||
body,table,input,textarea,select,button { font-family: "微软雅黑","宋体"; font-size:12px;line-height:1.5; background:#fff;}
|
||||
div,img,tr,td,table{ border:0;}
|
||||
table,tr,td{border:0;cellspacing:0; cellpadding:0;}
|
||||
ol,ul,li{ list-style-type:none}
|
||||
a:link,a:visited{color:#7a7a7a;text-decoration:none;}
|
||||
a:hover,a:active{color:#333;}
|
||||
|
||||
|
||||
/* 清除 */
|
||||
.clear{ zoom:1;}
|
||||
.clear:after {content:".";height:0;visibility:hidden;display:block;clear:both;}
|
||||
.fl{ float:left;}
|
||||
.fr{ float:right;}
|
||||
.cl{ clear:both; overflow:hidden;}
|
||||
/* public*/
|
||||
.ml5{ margin-top: 5px;}.ml10{ margin-top: 10px;}
|
||||
.ml5{ margin-left:5px;}.ml10{ margin-left:10px;}
|
||||
.mr5{ margin-right:5px;}.mr10{ margin-right:10px;}
|
||||
a.sj_btn_grey{ display:inline-block; padding:0px 15px; height:30px; line-height:30px; -webkit-border-radius:3px;-moz-border-radius:3px;-o-border-radius:3px;border-radius:3px; background-image:-webkit-linear-gradient(top, #fdfdfd,#e8e8e8);background-image:linear-gradient(top,#fdfdfd,#e8e8e8); border:1px solid #cecece; color:#505050;}
|
||||
a:hover.sj_btn_grey{ background-image:-webkit-linear-gradient(top, #eeeeee,#d3d3d3);background-image:linear-gradient(top,#eeeeee,#d3d3d3);}
|
||||
.sj_btn_grey{ display:inline-block; padding:0px 15px; height:30px; line-height:30px; -webkit-border-radius:3px;-moz-border-radius:3px;-o-border-radius:3px;border-radius:3px; background-image:-webkit-linear-gradient(top, #fdfdfd,#e8e8e8);background-image:linear-gradient(top,#fdfdfd,#e8e8e8); border:1px solid #cecece; color:#505050;}
|
||||
.sj_btn_grey:hover{ background-image:-webkit-linear-gradient(top, #eeeeee,#d3d3d3);background-image:linear-gradient(top,#eeeeee,#d3d3d3);}
|
||||
/* sj_header */
|
||||
.sj_header{ height:70px; width:100%; background:#1d1d1d;}
|
||||
.sj_header a.sj_logo{ display:block; height:41px; width:146px; padding:14px 20px 0 12px;}
|
||||
.sj_topnav{ height:70px; width:100%; padding-left: 180px; }
|
||||
.sj_topnav li a{ height:70px; line-height:70px; font-size:14px; color:#fff; padding:0 20px;}
|
||||
.sj_topnav li a:hover,.sj_topnav li a.sj_topnav_active{ background-image:-webkit-linear-gradient(top, #424242,#323232);background-image:linear-gradient(top,#424242,#323232); }
|
||||
/* sj_content */
|
||||
.sj_content{ width:100%; position:relative; color:#505050;}
|
||||
.sj_leftnav{ width:170px; min-height:800px; max-height:985px; background:#1d1d1d; position:absolute; left:0; top:0px;}
|
||||
.sj_leftnav_i{ background:#717171; padding:0 5px;;-webkit-border-radius:3px;-moz-border-radius:3px;-o-border-radius:3px;border-radius:3px; margin-left:80px; }
|
||||
.sj_menu {margin-top:12px;background:#1d1d1d; }
|
||||
.sj_menu_nav { background-image:-webkit-linear-gradient(top, #404040,#353535);background-image:linear-gradient(top,#404040,#353535); color: #fff; height:40px; line-height:38px; padding-left:15px; border: none; border-top: 2px solid #4d4d4d; border-bottom: 2px solid #1d1d1d;}
|
||||
.sj_menu_nav:hover{ background-image:-webkit-linear-gradient(top, #535353,#353535);background-image:linear-gradient(top,#535353,#353535);}
|
||||
.sj_menu_nav i{ font-style: normal;}
|
||||
.sj_menu_nav a{ color: #fff;}
|
||||
.sj_menu .sj_menu_nav ul{background: #1d1d1d; color: #fff;padding-left: 20px; border:none;}
|
||||
.sj_menu_ul{ }
|
||||
.sj_menu_ul li a{ display: block; background: #1d1d1d; color: #fff;padding-left: 30px; height: 40px; line-height: 40px; }
|
||||
.sj_menu_ul li a:hover{background: #fff; color:#1d1d1d;}
|
||||
|
||||
|
||||
#menu li a:hover { background-image:-webkit-linear-gradient(top, #535353,#353535);background-image:linear-gradient(top,#535353,#353535);}
|
||||
#menu li ul li a { background: #1d1d1d; color: #fff;padding-left: 20px; border:none;}
|
||||
#menu li ul li a:hover,.sj_leftnav ul#menu li ul li .leftnavact { background: #fff; color:#1d1d1d;}
|
||||
.sj_menu_01{ background:url(../new/images/sj_icons.png) 0 0px no-repeat; padding-left:20px;}
|
||||
.sj_menu_02{ background:url(../new/images/sj_icons.png) 0 -29px no-repeat; padding-left:20px;}
|
||||
.sj_menu_03{ background:url(../new/images/sj_icons.png) 0 -112px no-repeat; padding-left:20px;}
|
||||
.sj_menu_04{ background:url(../new/images/sj_icons.png) 0 -133px no-repeat; padding-left:20px;}
|
||||
.sj_contentbox{ width:100%; background:#fff; min-height:800px; }
|
||||
.sj_icons_home{ background:url(../new/images/sj_icons.png) 0 -60px no-repeat; width:15px; height:15px; margin-top:10px; margin-right:3px;}
|
||||
.sj_content_position{ background:#eee; height:35px; line-height:35px; color:#7a7a7a; margin:2px 0 0 170px; padding-left:20px;}
|
||||
.sj_content_position ul li{ float:left;}
|
||||
.sj_filter li{ float:left;}
|
||||
.sj_filter li a{ display: inline-block; border:1px solid #cecece;background-image:-webkit-linear-gradient(top, #fcfcfc,#e9e9e9);background-image:linear-gradient(top, #fcfcfc,#e9e9e9); padding:5px 15px; color:#505050; margin-right:5px;}
|
||||
.sj_filter li a:hover,.sj_filter li a.active{ background:#cdcdcd; border:1px solid #9e9e9e;}
|
||||
.sj_content_top{ margin:20px 20px 0 190px;}
|
||||
.sj_searchbox{position:relative;}
|
||||
.sj_search_input{-webkit-border-radius:3px;-moz-border-radius:3px;-o-border-radius:3px;border-radius:3px; border:1px solid #d3d3d3; background:#fff; padding-left:5px; color:#888; height:28px; width:210px;box-shadow: inset 0px 0px 5px #dcdcdc; }
|
||||
.sj_searchbox a.sj_search_btn{ position:absolute; top:5px; right:5px; background:url(../new/images/sj_icons.png) 0 -82px no-repeat; display:block; width:20px; height:20px; }
|
||||
/* table */
|
||||
.sj_content_table{ }
|
||||
.sj_content_table > tbody > tr > td{ height:36px; line-height:36px;}
|
||||
.sj_content_table tr td.tl{ text-align:left;}
|
||||
.sj_content_table .table-header{background-image:-webkit-linear-gradient(top, #f7f7f7,#dfdfdf);background-image:linear-gradient(top, #f7f7f7,#dfdfdf); border-bottom:1px solid #a6a6a6;}
|
||||
.sj_content_table > thead > tr > th{ height:36px; line-height:36px;}
|
||||
.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_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;}
|
||||
.sj_table_bottom{ height:30px; line-height:30px; }
|
||||
.sj_table_bottom li{ float:left;}
|
||||
.sj_table_select{ background:#fff; border:1px solid #b1b1b1; height:25px; margin:0 5px;}
|
||||
/* 样式重置 */
|
||||
body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{ margin:0; padding:0;}
|
||||
body,table,input,textarea,select,button { font-family: "微软雅黑","宋体"; font-size:12px;line-height:1.5; background:#fff;}
|
||||
div,img,tr,td,table{ border:0;}
|
||||
table,tr,td{border:0;cellspacing:0; cellpadding:0;}
|
||||
ol,ul,li{ list-style-type:none}
|
||||
a:link,a:visited{color:#7a7a7a;text-decoration:none;}
|
||||
a:hover,a:active{color:#333;}
|
||||
|
||||
|
||||
/* 清除 */
|
||||
.clear{ zoom:1;}
|
||||
.clear:after {content:".";height:0;visibility:hidden;display:block;clear:both;}
|
||||
.fl{ float:left;}
|
||||
.fr{ float:right;}
|
||||
.cl{ clear:both; overflow:hidden;}
|
||||
/* public*/
|
||||
.mt2{margin-top: 3px;}
|
||||
.ml5{ margin-top: 5px;}.ml10{ margin-top: 10px;}
|
||||
.ml5{ margin-left:5px;}.ml10{ margin-left:10px;}
|
||||
.mr5{ margin-right:5px;}.mr10{ margin-right:10px;}
|
||||
.mb10{ margin-bottom: 10px;}
|
||||
a.sj_btn_grey{ display:inline-block; padding:0px 15px; height:30px; line-height:30px; -webkit-border-radius:3px;-moz-border-radius:3px;-o-border-radius:3px;border-radius:3px; background-image:-webkit-linear-gradient(top, #fdfdfd,#e8e8e8);background-image:linear-gradient(top,#fdfdfd,#e8e8e8); border:1px solid #cecece; color:#505050;}
|
||||
a:hover.sj_btn_grey{ background-image:-webkit-linear-gradient(top, #eeeeee,#d3d3d3);background-image:linear-gradient(top,#eeeeee,#d3d3d3);}
|
||||
.sj_btn_grey{ display:inline-block; padding:0px 15px; height:30px; line-height:30px; -webkit-border-radius:3px;-moz-border-radius:3px;-o-border-radius:3px;border-radius:3px; background-image:-webkit-linear-gradient(top, #fdfdfd,#e8e8e8);background-image:linear-gradient(top,#fdfdfd,#e8e8e8); border:1px solid #cecece; color:#505050;}
|
||||
.sj_btn_grey:hover{ background-image:-webkit-linear-gradient(top, #eeeeee,#d3d3d3);background-image:linear-gradient(top,#eeeeee,#d3d3d3);}
|
||||
/* sj_header */
|
||||
.sj_header{ height:70px; width:100%; background:#1d1d1d;}
|
||||
.sj_header a.sj_logo{ display:block; height:41px; width:146px; padding:14px 20px 0 12px;}
|
||||
.sj_topnav{ height:70px; width:100%; padding-left: 170px; }
|
||||
.navbar-pf .sj_topnav > li > a{ height:70px; line-height:70px; font-size:14px; color:#fff; padding:0px 20px;}
|
||||
.sj_topnav li a:hover,.sj_topnav li a.sj_topnav_active{ background-image:-webkit-linear-gradient(top, #424242,#323232);background-image:linear-gradient(top,#424242,#323232); }
|
||||
/* sj_content */
|
||||
.sj_content{ margin-top: 56px;}
|
||||
.sj_leftnav{ width:170px; min-height:800px; max-height:985px; background:#1d1d1d; position:absolute; left:0; top:0px;}
|
||||
.sj_leftnav_i{ background:#717171; padding:0 5px;;-webkit-border-radius:3px;-moz-border-radius:3px;-o-border-radius:3px;border-radius:3px; margin-left:80px; }
|
||||
.sj_menu {margin-top:12px;background:#1d1d1d; }
|
||||
.sj_menu_nav { background-image:-webkit-linear-gradient(top, #404040,#353535);background-image:linear-gradient(top,#404040,#353535); color: #fff; height:40px; line-height:38px; padding-left:15px; border: none; border-top: 2px solid #4d4d4d; border-bottom: 2px solid #1d1d1d;}
|
||||
.sj_menu_nav:hover{ background-image:-webkit-linear-gradient(top, #535353,#353535);background-image:linear-gradient(top,#535353,#353535);}
|
||||
.sj_menu_nav i{ font-style: normal;}
|
||||
.sj_menu_nav a{ color: #fff;}
|
||||
.sj_menu .sj_menu_nav ul{background: #1d1d1d; color: #fff;padding-left: 20px; border:none;}
|
||||
.sj_menu_ul{ }
|
||||
.sj_menu_ul li a{ display: block; background: #1d1d1d; color: #fff;padding-left: 30px; height: 40px; line-height: 40px; }
|
||||
.sj_menu_ul li a:hover{background: #fff; color:#1d1d1d;}
|
||||
.sj_menu_01{ background:url(../new/images/sj_icons.png) 0 0px no-repeat; padding-left:20px;}
|
||||
.sj_menu_02{ background:url(../new/images/sj_icons.png) 0 -29px no-repeat; padding-left:20px;}
|
||||
.sj_menu_03{ background:url(../new/images/sj_icons.png) 0 -112px no-repeat; padding-left:20px;}
|
||||
.sj_menu_04{ background:url(../new/images/sj_icons.png) 0 -133px no-repeat; padding-left:20px;}
|
||||
.sj_contentbox{ width:100%; background:#fff; min-height:800px; }
|
||||
.sj_icons_home{ background:url(../new/images/sj_icons.png) 0 -60px no-repeat; width:15px; height:15px; margin-top:10px; margin-right:3px;}
|
||||
.sj_content_position{ background:#e1e1e1; height:35px; line-height:35px; color:#7a7a7a; padding-left:20px; margin-left:-20px; margin-bottom: 20px; width: 110%;}
|
||||
.sj_content_position ul li{ float:left;}
|
||||
.sj_filter li{ float:left;}
|
||||
.sj_filter li a{ display: inline-block; border:1px solid #cecece;background-image:-webkit-linear-gradient(top, #fcfcfc,#e9e9e9);background-image:linear-gradient(top, #fcfcfc,#e9e9e9); padding:5px 15px; color:#363636; margin-right:5px;}
|
||||
.sj_filter li a:hover,.sj_filter li a.active{ background:#cdcdcd; border:1px solid #9e9e9e;}
|
||||
.sj_content_top{ margin:20px 20px 0 190px;}
|
||||
.sj_searchbox{position:relative;}
|
||||
.sj_search_input{-webkit-border-radius:3px;-moz-border-radius:3px;-o-border-radius:3px;border-radius:3px; border:1px solid #d3d3d3; background:#f5f5f5; padding-left:5px; color:#888; height:32px; width:310px;box-shadow: inset 0px 0px 5px #dcdcdc; }
|
||||
.sj_searchbox a.sj_search_btn{ position:absolute; top:5px; right:5px; background:url(../new/images/sj_icons.png) 0 -82px no-repeat; display:block; width:20px; height:20px; }
|
||||
/* table */
|
||||
.sj_content_table{ }
|
||||
.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_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;}
|
||||
.sj_table_bottom{ height:30px; line-height:30px; }
|
||||
.sj_table_bottom li{ float:left;}
|
||||
.sj_table_select{ background:#fff; border:1px solid #b1b1b1; height:25px; margin:0 5px;}
|
||||
.badge{ font-weight: normal; text-shadow:none; background-color: #a1a1a1;}
|
||||
.simple-table-checkbox{ text-align: center;}
|
||||
.table{ margin-bottom: 10px;}
|
||||
.sj_nav_taps{ border-bottom: none;}
|
||||
.sj_nav_taps li a{ display: inline-block; font-size: 12px; border:1px solid #cecece;background-image:-webkit-linear-gradient(top, #fcfcfc,#e9e9e9);background-image:linear-gradient(top, #fcfcfc,#e9e9e9); padding:5px 15px; color:#505050; margin-right:5px;}
|
||||
.sj_nav_taps li a:hover,.sj_nav_taps li a.active{ background:#cdcdcd; border:1px solid #9e9e9e;}
|
||||
.sj_nav_taps > li.active > a, .sj_nav_taps > li.active > a:hover, .sj_nav_taps > li.active > a:focus { background:#cdcdcd; border:1px solid #9e9e9e; color:#505050;}
|
||||
.sj_fluid{ padding:0;}
|
|
@ -1,12 +1,25 @@
|
|||
<div ng-controller="Developer.WorkspacesController" hawtio-card-bg style="margin-top:100px;">
|
||||
<div ng-controller="Developer.WorkspacesController" hawtio-card-bg >
|
||||
<div hawtio-breadcrumbs></div>
|
||||
<div hawtio-tabs></div>
|
||||
<div class="container-content">
|
||||
<div class="container-fluid">
|
||||
<div class="row nav-content">
|
||||
<ul class="nav nav-tabs" ng-show="navbarItems.length">
|
||||
<div class="container-content sj_content">
|
||||
<div class="sj_content_position clear" >
|
||||
<ul >
|
||||
<li class="sj_icons_home"></li>
|
||||
<li>当前位置:</li>
|
||||
<li><a href="#">数据汇总</a> <span>></span></li>
|
||||
<li><a href="#">社保系统</a><span>></span></li>
|
||||
<li><a href="#">批次A</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="container-fluid sj_fluid">
|
||||
<div class="row nav-content mb10 clear " >
|
||||
<ul class="nav nav-tabs sj_nav_taps fl" ng-show="navbarItems.length">
|
||||
<li role="presentation" ng-repeat="item in navbarItems" class="{{item.class}}"><a href="#" ng-click="selectBatchItem(item)">{{item.label}}</a></li>
|
||||
</ul>
|
||||
<div class="fr sj_searchbox">
|
||||
<input type="text" class="sj_search_input"/>
|
||||
<a href="#" class="sj_search_btn"></a>
|
||||
</div>
|
||||
</div>
|
||||
<div ng-hide="model.data.length" class="align-center">
|
||||
<p class="alert alert-info">当前没有可以查看的数据.</p>
|
||||
|
@ -22,14 +35,14 @@
|
|||
<a class="sj_btn_grey pull-left mr5" title="删除数据" href="#" ng-disabled="!id && tableConfig.selectedItems.length == 0" ng-click="deletePrompt(id || tableConfig.selectedItems)">删除数据</a>
|
||||
</div>
|
||||
<ul class="fr sj_table_bottom">
|
||||
<li class="mr5">当前显示1~7行,共7行。</li>
|
||||
<li class="mr5">每页显示
|
||||
<li class="mr5 " >当前显示1~7行,共7行。</li>
|
||||
<li class="mr5 ">每页显示
|
||||
<select ng-options="value for value in pageSizeChoses" ng-change="selectAction()" ng-model="options.currentTableSize"></select>行
|
||||
</li>
|
||||
<li class="mr5">当前页码</li>
|
||||
<li class="mr5 ">当前页码</li>
|
||||
<li>
|
||||
<div class="hawtio-pager clearfix">
|
||||
<label>{{options.currentPageNum}} / {{options.getPageSizeNum()}}</label>
|
||||
<label >{{options.currentPageNum}} / {{options.getPageSizeNum()}}</label>
|
||||
<div class=btn-group>
|
||||
<button class="btn sj_btn_grey" ng-disabled="isEmptyOrFirst()" ng-click="first()"><i class="fa fa-fast-backward"></i></button>
|
||||
<button class="btn sj_btn_grey" ng-disabled="isEmptyOrFirst()" ng-click="previous()"><i class="fa fa-step-backward"></i></button>
|
||||
|
|
Loading…
Reference in New Issue