skinSettingPriview.jsp
13.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ page import="java.net.*" %>
<%@ page import="java.util.*,HT.HTSrvAPI,java.math.*" %>
<%@ page import="java.sql.Timestamp" %>
<%@ page import="weaver.file.Prop" %>
<%@ page import="weaver.systeminfo.SystemEnv"%>
<%@ page import="weaver.hrm.HrmUserVarify"%>
<%@ page import="weaver.hrm.User"%>
<%@ page import="weaver.systeminfo.template.UserTemplate"%>
<%@ page import="weaver.general.*" %>
<%@ page import="weaver.file.Prop" %>
<%@ page import="weaver.systeminfo.setting.*" %>
<jsp:useBean id="PluginUserCheck" class="weaver.license.PluginUserCheck" scope="page" />
<jsp:useBean id="RecordSet" class="weaver.conn.RecordSet" scope="page"/>
<jsp:useBean id="HrmScheduleDiffUtil" class="weaver.hrm.report.schedulediff.HrmScheduleDiffUtil" scope="page" />
<%@ include file="/systeminfo/init_wev8.jsp" %>
<%
/**
* 系统主题、皮肤
*/
String pslSkinfolder = "";
curTheme = request.getParameter("theme");//getCurrWuiConfig(session, user, "theme");
pslSkinfolder = request.getParameter("skin");//getCurrWuiConfig(session, user, "skin");
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<!--For Base-->
<link rel="stylesheet" type="text/css" href="/wui/common/css/base_wev8.css" />
<script type="text/javascript" src="/wui/common/jquery/jquery_wev8.js"></script>
<link type='text/css' rel='stylesheet' href='/wui/theme/<%=curTheme %>/skins/<%=pslSkinfolder %>/wui_wev8.css'/>
<STYLE TYPE="text/css">
body{
margin: 0px;
/*可以被动态更改的值*/
/*background:url('images/body-bg_wev8.png') repeat-y;*/
font-size: 9pt;font-family: verdana;
}
TABLE {
FONT-SIZE: 9pt; FONT-FAMILY: Verdana
}
.xTable_message{
border:1px solid #8888AA;
background:white;
position:absolute;
padding:5px;
z-index:100;
display:none;
FONT-SIZE: 9pt;
MARGIN: 0px;
FONT-FAMILY: Verdana;
LIST-STYLE-TYPE: circle;
}
table td{
padding:0px;
}
#container{
width:100%;height:100%; border-collapse:collapse;
}
#head{
WIDTH:100%;height:70px;
background:url('/wui/theme/ecology7/skins/<%=pslSkinfolder %>/page/main/head-bg_wev8.jpg') no-repeat;
/*background:url('images/head-bg_wev8.png') no-repeat;*/
border-collapse:collapse;
}
#contentContainer{
WIDTH:100%;height:100%;
border-collapse:collapse;
}
#contentContainer #content{
WIDTH:100%;height:100%;
border-collapse:collapse;
}
#leftmenucontainer{
height:100%;
}
#footer{
}
#shadown-corner{
background:url('/wui/theme/ecology7/skins/<%=pslSkinfolder %>/page/main/shadown-coner_wev8.png') no-repeat; width:10px;height:10px;
}
#shadown-x{
background:url('/wui/theme/ecology7/skins/<%=pslSkinfolder %>/page/main/shadown-x_wev8.png') repeat-x; height:10px;
}
#shadown-y{
background:url('/wui/theme/ecology7/skins/<%=pslSkinfolder %>/page/main/shadown-y_wev8.png') repeat-y; width:10px;
}
#shadown-content{background:#fff;}
/*可更改区域 左侧菜单*/
/*左侧菜单下*/
#leftmenucontainer{}
/*左侧菜单上*/
#leftmenucontainer-top{
height:10px;
}
#leftmenu-top{
height:86px;
}
#leftmenu-bottom{
height:250px;
}
#leftmenu-bottom-bottom{
height:7px;
}
#leftmenu-bottom {
position:absolute;
width:128;
height:0px;
z-index:0;
}
#leftBlockTd {
background:none;
}
.leftBlockTopBgLeft {
overflow:hidden;width:10px;position:absolute;left:0;top:0;background:url(/wui/theme/ecology7/skins/<%=pslSkinfolder %>/page/left/leftBlockTopBgLeft_wev8.jpg) no-repeat;height:10px;
}
#leftBlockTopBgCenter {
overflow:hidden;position:absolute;left:10px;right:2px;top:0;height:10px;
}
.leftBlockTopBgRight {
overflow:hidden;position:absolute;right:-2;top:0;background:url(/wui/theme/ecology7/skins/<%=pslSkinfolder %>/page/left/leftBlockTopBgRight_wev8.jpg) no-repeat;height:10px;width:2px;
}
#leftmenu-top {
position:absolute;width:128;height:87px;
}
.leftBlockHrmInfoLeft {
width:60px;position:absolute;left:0;top:0;background:url(/wui/theme/ecology7/skins/<%=pslSkinfolder %>/page/left/leftBlockHrmInfoBgLeft_wev8.png) no-repeat;height:87px;
}
.leftBlockHrmInfoCenter {
position:absolute;left:60px;right:6px;top:0;height:87px;width:60px;
}
.leftBlockHrmInfoRight {
position:absolute;right:0;top:0;background:url(/wui/theme/ecology7/skins/<%=pslSkinfolder %>/page/left/leftBlockHrmInfoBgRight_wev8.png) no-repeat;height:87px;width:6px;
}
#leftBlock_HrmDiv {
position:relative;top:0px;height:86px;
}
#leftmenu-bottom-bottom {
width:128px;position:relative;top:0px;
}
.leftMenuBottomLeft {
width:5px;position:absolute;left:0;top:0;background:url(/wui/theme/ecology7/skins/<%=pslSkinfolder %>/page/left/leftMenuBottomLeft_wev8.png) no-repeat;height:7px;
}
#leftMenuBottomCenter {
position:absolute;left:5px;right:6px;top:0;background:url(/wui/theme/ecology7/skins/<%=pslSkinfolder %>/page/left/leftMenuBottomCenter_wev8.png) repeat-x;height:7px;
}
.leftMenuBottomRight {
position:absolute;right:0;top:0;background:url(/wui/theme/ecology7/skins/<%=pslSkinfolder %>/page/left/leftMenuBottomRight_wev8.png) no-repeat;height:7px;width:6px;
}
#topBlockHiddenContr {
width:502px;height:20px;position:relative;margin-bottom:-12px;cursor:pointer;background:url(/wui/theme/ecology7/skins/<%=pslSkinfolder %>/page/main/topBlockContraction_wev8.png) no-repeat;background-position:0 25;
}
#leftBlockHiddenContr {
height:502px;width:12px;position:relative;margin-right:-12px;cursor:pointer;background:url(/wui/theme/ecology7/skins/<%=pslSkinfolder %>/page/main/leftBlockContraction_wev8.png) no-repeat;overflow:hidden;background-position:25 0;
}
.versiontype {
position:absolute;left:150;top:40;
/*background:url(/wui/theme/ecology7/page/images/versiontype_wev8.png) no-repeat;height:10px;width:33px;display:block;overflow:hidden;*/
}
#mainFrame {
height:100%!important;
}
/*IE6 fixed*/
</STYLE>
</head>
<!-- 锁定整个界面的CSS2011/5/19 -->
<body id="mainBody" scroll="no" style="">
<!--放置左侧菜单区-->
<div id="leftmenucontainer" style="width:100%;overflow:hidden;">
<div id="leftmenucontainer-top" style="position:relative;left:-1;">
<div class="leftBlockTopBgLeft"></div>
<div id="leftBlockTopBgCenter"></div>
<div class="leftBlockTopBgRight"></div>
</div>
<div style="padding-left:10px;margin-top:5px;">
<table width="100%" cellpadding="0px" cellspacing="0px">
<tr><td>
<table width="100%" cellpadding="0px" cellspacing="0px">
<tr>
<td style="position:relative;">
<div id="leftmenu-top" style="">
<div class="leftBlockHrmInfoLeft"></div>
<div id="leftBlockHrmInfoCenter" class="leftBlockHrmInfoCenter"></div>
<div class="leftBlockHrmInfoRight"></div>
</div>
<div id="leftBlock_HrmDiv">
<!--放置即时通讯相关的东西-->
<jsp:include page="/wui/theme/ecology7/page/skinSetting/hrmInfo.jsp"></jsp:include>
</div>
</td>
</tr>
</table>
</td></tr>
<tr><td style="position:relative;">
<div id="leftmenu-bottom"></div>
<!--放置左侧菜单区-->
<div style="position:relative;top:0px;">
<jsp:include page="/wui/theme/ecology7/page/skinSetting/left.jsp">
<jsp:param name="skin" value="<%=pslSkinfolder %>"/>
</jsp:include>
</div>
<div id="leftmenu-bottom-bottom">
<div class="leftMenuBottomLeft"></div>
<div id="leftMenuBottomCenter"></div>
<div class="leftMenuBottomRight"></div>
</div>
</td></tr>
</table>
</div>
</div>
</body>
</html>
<script languange="javascript">
//左侧区域宽度(根据分辨率自动解析)
var LeftBlock_Max_Width = 0;
/**
* 初始化左侧区域各个块得大小
* 自动执行
*/
function leftBlockSizeInit() {
var clientScreenHeight = 512;//window.screen.height;
var clientScreenWidth = 1280;//window.screen.width;
if (clientScreenWidth < 1280) {
clientScreenWidth = 1280;
}
var tpLeftMenuMaxHeight = Math.round(clientScreenHeight / 2.8);
var tpLeftMenuMaxWidth = Math.round(clientScreenWidth / 8);
setLeftBlockSize(tpLeftMenuMaxWidth, tpLeftMenuMaxHeight);
//alert(tpLeftMenuMaxHeight);
LeftBlock_Max_Width = tpLeftMenuMaxWidth;
}
/**
* 设置左侧区域各个块得大小
*/
function setLeftBlockSize(tpLeftMenuMaxWidth, tpLeftMenuMaxHeight) {
//jQuery("#leftBlockTd").css("width", tpLeftMenuMaxWidth + 3);
jQuery("#leftBlockTd").css("width", tpLeftMenuMaxWidth + 25);
jQuery("#leftmenucontainer").css("width", tpLeftMenuMaxWidth + 25);
jQuery("#leftBlockTopBgCenter").css("width", tpLeftMenuMaxWidth + 14);
jQuery("#leftBlockTopBgCenter").css("background", "url('/wui/theme/ecology7/skins/<%=pslSkinfolder %>/page/left/leftBlockTopBgCenter_wev8.jpg')");
//td 126px
jQuery("#leftmenu-top").css("width", tpLeftMenuMaxWidth + 3);
jQuery("#leftmenu-top").css("height", 86);
jQuery("#leftBlockHrmInfoCenter").css("width", tpLeftMenuMaxWidth - 63);
jQuery("#leftBlockHrmInfoCenter").css("background", "url('/wui/theme/ecology7/skins/<%=pslSkinfolder %>/page/left/leftBlockHrmInfoBgCenter_wev8.png')");
jQuery("#leftBlockHrmInfoCenter").css("background-repeat", "repeat-x");
//jQuery("#leftmenu-bottom").css("height", tpLeftMenuMaxHeight + 124 - 61);
setMainElementHeight(27);
if(jQuery.client.browser=="Explorer"){
jQuery("#leftmenu-bottom").css("width", tpLeftMenuMaxWidth + 3);
}else{
jQuery("#leftmenu-bottom").css("width", tpLeftMenuMaxWidth + 1);
}
jQuery("#leftBlock_HrmDiv").css("height", 86);
jQuery("#leftmenu-bottom-bottom").css("width", tpLeftMenuMaxWidth + 3);
jQuery("#leftMenuBottomCenter").css("width", tpLeftMenuMaxWidth - 8);
setHrmInfoDep(tpLeftMenuMaxWidth - 62);
}
/**
* 自动调用
*/
leftBlockSizeInit();
function setMainElementHeight(height) {
if(jQuery.client.browser=="Explorer"){
jQuery("#leftmenu-bottom").css("height", height + jQuery("#drillcrumb").height() + 71);
}else{
jQuery("#leftmenu-bottom").css("height", height + jQuery("#drillcrumb").height() + 71);
}
}
/**
* 设置左侧区域内hrmInfo的大小
*/
function setHrmInfoDep(tpLeftMenuMaxWidth) {
jQuery("#leftBlockHrmDep").css("width", tpLeftMenuMaxWidth);
jQuery("#tdMessageState").css("left", tpLeftMenuMaxWidth - 60);
}
jQuery("#leftBlockHiddenContr").css("background", "");
jQuery("#topBlockHiddenContr").css("background", "");
jQuery(document).ready(function () {
});
</script>