Procházet zdrojové kódy

新增工作日管理

zhoufan %!s(int64=7) %!d(string=před) roky
rodič
revize
87a77d12cf

File diff suppressed because it is too large
+ 6592 - 0
CallCenterWeb.UI/SystemManager/js/fullcalendar.js


+ 203 - 0
CallCenterWeb.UI/SystemManager/workOffDays.html

@@ -0,0 +1,203 @@
1
+<!DOCTYPE html>
2
+<html>
3
+<head>
4
+    <meta charset="UTF-8">
5
+    <script src="../Script/Common/huayi.load.js"></script>
6
+    <script src="../Script/Common/huayi.config.js"></script>
7
+    <link rel="stylesheet" href="../css/init.css" />
8
+    <link href="../js/fullcalendar/fullcalendar.css" rel="stylesheet" />
9
+    <script src="../js/fullcalendar/fullcalendar.min.js"></script>
10
+    <script src="js/fullcalendar.js"></script>
11
+    <title>系统管理-->工作日管理</title>
12
+    <style>
13
+        .fc-event-title {
14
+            color: white;
15
+        }
16
+
17
+        .group {
18
+            margin-bottom: 5px;
19
+        }
20
+
21
+        .seatuser {
22
+            color: black;
23
+            padding: 5px 10px;
24
+            border-radius: 2px;
25
+            cursor: pointer;
26
+            margin-bottom: 5px;
27
+            background-color: #f3f3f4;
28
+        }
29
+
30
+        .active {
31
+            background-color: #1ab394;
32
+            color: #fff;
33
+        }
34
+
35
+        .lable {
36
+            /*display: none;*/
37
+            background-color: #d1dade;
38
+            color: #5e5e5e;
39
+            font-size: 10px;
40
+            padding: 3px 8px;
41
+            text-shadow: none;
42
+            font-size: 75%;
43
+            font-weight: 700;
44
+            line-height: 1;
45
+            text-align: center;
46
+            white-space: nowrap;
47
+            vertical-align: baseline;
48
+            border-radius: .25em;
49
+            margin: 3px;
50
+            float: left;
51
+            cursor: pointer;
52
+        }
53
+
54
+        .active ~ .lable {
55
+            display: inline;
56
+        }
57
+
58
+        .fc-ltr .fc-event-hori.fc-event-end,
59
+        .fc-rtl .fc-event-hori.fc-event-start {
60
+            display: none;
61
+        }
62
+    </style>
63
+</head>
64
+
65
+<body class="gray-bg">
66
+    <div class="container-fluid wrapper-content animated fadeInRight">
67
+        <div class="col-sm-12">
68
+            <div id="calendar"></div>
69
+        </div>
70
+    </div>
71
+    <script>
72
+			var bl = false;
73
+			var flag = true;
74
+			blur();
75
+			$(document).ready(function() {
76
+				blur();
77
+
78
+				function blur() {
79
+
80
+					var rl = $('#RoleCode', top.document).val();
81
+					var gcode = $('#GroupCode', top.document).val();
82
+					$('#calendar').html("");
83
+					var dates = new Date();
84
+					var time = dates.getFullYear() + "-" + (dates.getMonth() + 1) + '-' + dates.getDate();
85
+					var date = new Date();
86
+					var d = date.getDate();
87
+					var m = date.getMonth();
88
+					var y = date.getFullYear();
89
+					$('#calendar').fullCalendar({
90
+						header: {
91
+							//left: 'month,agendaWeek,agendaDay',
92
+							left: 'month',
93
+							center: 'title',
94
+							right: 'today, prev, next'
95
+						},
96
+						monthNames: ['年1月', '年2月', '年3月', '年4月', '年5月', '年6月', '年7月', '年8月', '年9月', '年10月', '年11月', '年12月'],
97
+						monthNamesShort: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
98
+						dayNames: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'],
99
+						dayNamesShort: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'],
100
+						titleFormat: {
101
+							month: "yyyy MMMM "
102
+						},
103
+						firstDay: "1",
104
+						editable: false,
105
+						droppable: bl,
106
+						weekMode: 'liquid',
107
+						events: function(start, end, callback) {
108
+							var st = $.fullCalendar.formatDate(start, "yyyy-MM-dd");
109
+							var ed = $.fullCalendar.formatDate(end, "yyyy-MM-dd");
110
+							console.log(ed);
111
+							$.ajax({
112
+								type: "get",
113
+								url: huayi.config.callcenter_url + "WorkOffDays/GetList",
114
+								dataType: 'json',
115
+								async: true,
116
+								data: {
117
+									"token": $.cookie("token")
118
+								},
119
+								success: function(data) {
120
+									/*验证请求*/
121
+									//工作日
122
+									$(".fc-day").each(function(i, n) {
123
+										var state = '<font class="redFont" style="font-weight: bold;background: #FFAB3D;color: #fff;padding: 5px;font-size: 16px;border-radius: 5px;">班</font>';
124
+										$(n).children().find('.fc-day-content').append(state);
125
+										var a = $(this).attr("data-date")
126
+                                        $(data.data).each(function(j, k) {
127
+											if(k.start == a) {
128
+												if($(n).children().find('.redFont')) {
129
+													$(n).children().find('.redFont').text('休');
130
+													$(n).children().find('.redFont').css('background-color', 'red');
131
+													$(n).children().find('.redFont').addClass("offday");
132
+												}
133
+											}
134
+
135
+										})
136
+									})
137
+									callback(data.data);
138
+								}
139
+							});
140
+
141
+						},
142
+						dayClick: function(date, allDay, jsEvent, view) {
143
+							console.log($(this).attr("data-date"));
144
+							$(this).children().children().find('.redFont').text();
145
+							console.log($(this).children().children().find('.redFont').text())
146
+							var Time = $(this).attr("data-date");
147
+							var type = 1;
148
+							if($(this).children().children().find('.redFont').text() != "休") {
149
+								layer.confirm('确定休息日吗?', {
150
+									btn: ['是', '否'] //按钮
151
+								}, function() {
152
+									$.ajax({
153
+										type: "post",
154
+										url: huayi.config.callcenter_url + "WorkOffDays/setOfforOn",
155
+										dataType: 'json',
156
+										async: true,
157
+										data: {
158
+											offdate: Time,
159
+											token: $.cookie("token"),
160
+											type: 0
161
+										},
162
+										success: function(data) {
163
+											/*验证请求*/
164
+											if(data.state.toLowerCase() == "success") {
165
+												layer.msg("修改成功");
166
+												blur();
167
+											}
168
+										}
169
+									});
170
+								});
171
+							}else{
172
+								layer.confirm('确定设为工作日吗?', {
173
+								btn: ['是', '否'] //按钮
174
+							}, function() {
175
+								$.ajax({
176
+									type: "post",
177
+									url: huayi.config.callcenter_url + "WorkOffDays/setOfforOn",
178
+									dataType: 'json',
179
+									async: true,
180
+									data: {
181
+										offdate: Time,
182
+										token: $.cookie("token"),
183
+										type: 1
184
+									},
185
+									success: function(data) {
186
+										/*验证请求*/
187
+										if(data.state.toLowerCase() == "success") {
188
+											layer.msg("修改成功");
189
+											blur();
190
+										}
191
+									}
192
+								});
193
+							});
194
+							}
195
+
196
+						}
197
+					});
198
+				}
199
+
200
+			});
201
+    </script>
202
+</body>
203
+</html>

+ 611 - 0
CallCenterWeb.UI/js/fullcalendar/fullcalendar.css

@@ -0,0 +1,611 @@
1
+/*!
2
+ * FullCalendar v1.6.0 Stylesheet
3
+ * Docs & License: http://arshaw.com/fullcalendar/
4
+ * (c) 2013 Adam Shaw
5
+ */
6
+
7
+
8
+.fc {
9
+	direction: ltr;
10
+	text-align: left;
11
+	}
12
+	
13
+.fc table {
14
+	border-collapse: collapse;
15
+	border-spacing: 0;
16
+	}
17
+	
18
+html .fc,
19
+.fc table {
20
+	font-size: 1em;
21
+	}
22
+	
23
+.fc td,
24
+.fc th {
25
+	padding: 0;
26
+	vertical-align: top;
27
+	}
28
+
29
+
30
+
31
+/* Header
32
+------------------------------------------------------------------------*/
33
+
34
+.fc-header td {
35
+	white-space: nowrap;
36
+	}
37
+
38
+.fc-header-left {
39
+	width: 25%;
40
+	text-align: left;
41
+	}
42
+	
43
+.fc-header-center {
44
+	text-align: center;
45
+	}
46
+	
47
+.fc-header-right {
48
+	width: 25%;
49
+	text-align: right;
50
+	}
51
+	
52
+.fc-header-title {
53
+	display: inline-block;
54
+	vertical-align: top;
55
+	}
56
+	
57
+.fc-header-title h2 {
58
+	margin-top: 0; font-size:16px;
59
+	white-space: nowrap;
60
+	}
61
+	
62
+.fc .fc-header-space {
63
+	padding-left: 10px;
64
+	}
65
+	
66
+.fc-header .fc-button {
67
+	margin-bottom: 1em;
68
+	vertical-align: top;
69
+	}
70
+	
71
+/* buttons edges butting together */
72
+
73
+.fc-header .fc-button {
74
+	margin-right: -1px;
75
+	}
76
+	
77
+.fc-header .fc-corner-right,  /* non-theme */
78
+.fc-header .ui-corner-right { /* theme */
79
+	margin-right: 0; /* back to normal */
80
+	}
81
+	
82
+/* button layering (for border precedence) */
83
+	
84
+.fc-header .fc-state-hover,
85
+.fc-header .ui-state-hover {
86
+	z-index: 2;
87
+	}
88
+	
89
+.fc-header .fc-state-down {
90
+	z-index: 3;
91
+	}
92
+
93
+.fc-header .fc-state-active,
94
+.fc-header .ui-state-active {
95
+	z-index: 4;
96
+	}
97
+	
98
+	
99
+	
100
+/* Content
101
+------------------------------------------------------------------------*/
102
+	
103
+.fc-content {
104
+	clear: both;
105
+	}
106
+	
107
+.fc-view {
108
+	width: 100%; /* needed for view switching (when view is absolute) */
109
+	overflow: hidden;
110
+	}
111
+	
112
+	
113
+
114
+/* Cell Styles
115
+------------------------------------------------------------------------*/
116
+
117
+.fc-widget-header,    /* <th>, usually */
118
+.fc-widget-content {  /* <td>, usually */
119
+	border: 1px solid #ddd; 
120
+	}
121
+	
122
+.fc-widget-header{background:#f7f7f7}
123
+
124
+.fc-state-highlight { /* <td> today cell */ /* TODO: add .fc-today to <th> */
125
+	background: #fcf8e3;
126
+	}
127
+	
128
+.fc-cell-overlay { /* semi-transparent rectangle while dragging */
129
+	background: #bce8f1;
130
+	opacity: .3;
131
+	filter: alpha(opacity=30); /* for IE */
132
+	}
133
+	
134
+
135
+
136
+/* Buttons
137
+------------------------------------------------------------------------*/
138
+
139
+.fc-button {
140
+	position: relative;
141
+	display: inline-block;
142
+	padding: 0 .6em;
143
+	overflow: hidden;
144
+	height: 1.9em;
145
+	line-height: 1.9em;
146
+	white-space: nowrap;
147
+	cursor: pointer;
148
+	}
149
+	
150
+.fc-state-default { /* non-theme */
151
+	border: 1px solid;
152
+	}
153
+
154
+.fc-state-default.fc-corner-left { /* non-theme */
155
+	border-top-left-radius: 4px;
156
+	border-bottom-left-radius: 4px;
157
+	}
158
+
159
+.fc-state-default.fc-corner-right { /* non-theme */
160
+	border-top-right-radius: 4px;
161
+	border-bottom-right-radius: 4px;
162
+	}
163
+
164
+/*
165
+	Our default prev/next buttons use HTML entities like &lsaquo; &rsaquo; &laquo; &raquo;
166
+	and we'll try to make them look good cross-browser.
167
+*/
168
+
169
+.fc-text-arrow {
170
+	margin: 0 .1em;
171
+	font-size: 2em;
172
+	font-family: "Courier New", Courier, monospace;
173
+	vertical-align: baseline; /* for IE7 */
174
+	}
175
+
176
+.fc-button-prev .fc-text-arrow,
177
+.fc-button-next .fc-text-arrow { /* for &lsaquo; &rsaquo; */
178
+	font-weight: bold;
179
+	}
180
+	
181
+/* icon (for jquery ui) */
182
+	
183
+.fc-button .fc-icon-wrap {
184
+	position: relative;
185
+	float: left;
186
+	top: 50%;
187
+	}
188
+	
189
+.fc-button .ui-icon {
190
+	position: relative;
191
+	float: left;
192
+	margin-top: -50%;
193
+	*margin-top: 0;
194
+	*top: -50%;
195
+	}
196
+	
197
+/*
198
+  button states
199
+  borrowed from twitter bootstrap (http://twitter.github.com/bootstrap/)
200
+*/
201
+
202
+.fc-state-default {
203
+	background-color: #f5f5f5;
204
+	background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
205
+	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
206
+	background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
207
+	background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
208
+	background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
209
+	background-repeat: repeat-x;
210
+	border-color: #e6e6e6 #e6e6e6 #bfbfbf;
211
+	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
212
+	color: #333;
213
+	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
214
+	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
215
+	}
216
+
217
+.fc-state-hover,
218
+.fc-state-down,
219
+.fc-state-active,
220
+.fc-state-disabled {
221
+	color: #333333;
222
+	background-color: #e6e6e6;
223
+	}
224
+
225
+.fc-state-hover {
226
+	color: #333333;
227
+	text-decoration: none;
228
+	background-position: 0 -15px;
229
+	-webkit-transition: background-position 0.1s linear;
230
+	   -moz-transition: background-position 0.1s linear;
231
+	     -o-transition: background-position 0.1s linear;
232
+	        transition: background-position 0.1s linear;
233
+	}
234
+
235
+.fc-state-down,
236
+.fc-state-active {
237
+	background-color: #cccccc;
238
+	background-image: none;
239
+	outline: 0;
240
+	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
241
+	}
242
+
243
+.fc-state-disabled {
244
+	cursor: default;
245
+	background-image: none;
246
+	opacity: 0.65;
247
+	filter: alpha(opacity=65);
248
+	box-shadow: none;
249
+	}
250
+
251
+	
252
+
253
+/* Global Event Styles
254
+------------------------------------------------------------------------*/
255
+	 
256
+.fc-event {
257
+	border: 1px solid #3a87ad; /* default BORDER color */
258
+	background-color: #3a87ad; /* default BACKGROUND color */
259
+	color: #fff;               /* default TEXT color */
260
+	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
261
+	font-size: .85em;
262
+	cursor: default;
263
+	}
264
+
265
+a.fc-event {
266
+	text-decoration: none;
267
+	}
268
+	
269
+a.fc-event,
270
+.fc-event-draggable {
271
+	cursor: pointer;
272
+	}
273
+	
274
+.fc-rtl .fc-event {
275
+	text-align: right;
276
+	}
277
+
278
+.fc-event-inner {
279
+	width: 100%;
280
+	overflow: hidden;
281
+	}
282
+	
283
+.fc-event-time,
284
+.fc-event-title {
285
+	padding: 0 1px;
286
+	}
287
+	
288
+.fc .ui-resizable-handle {
289
+	display: block;
290
+	position: absolute;
291
+	z-index: 99999;
292
+	overflow: hidden; /* hacky spaces (IE6/7) */
293
+	font-size: 300%;  /* */
294
+	line-height: 50%; /* */
295
+	}
296
+	
297
+	
298
+	
299
+/* Horizontal Events
300
+------------------------------------------------------------------------*/
301
+
302
+.fc-event-hori {
303
+	border-width: 1px 0;
304
+	margin-bottom: 1px;
305
+	}
306
+
307
+.fc-ltr .fc-event-hori.fc-event-start,
308
+.fc-rtl .fc-event-hori.fc-event-end {
309
+	border-left-width: 1px;
310
+	border-top-left-radius: 3px;
311
+	border-bottom-left-radius: 3px;
312
+	}
313
+
314
+.fc-ltr .fc-event-hori.fc-event-end,
315
+.fc-rtl .fc-event-hori.fc-event-start {
316
+	border-right-width: 1px;
317
+	border-top-right-radius: 3px;
318
+	border-bottom-right-radius: 3px;
319
+	}
320
+	
321
+/* resizable */
322
+	
323
+.fc-event-hori .ui-resizable-e {
324
+	top: 0           !important; /* importants override pre jquery ui 1.7 styles */
325
+	right: -3px      !important;
326
+	width: 7px       !important;
327
+	height: 100%     !important;
328
+	cursor: e-resize;
329
+	}
330
+	
331
+.fc-event-hori .ui-resizable-w {
332
+	top: 0           !important;
333
+	left: -3px       !important;
334
+	width: 7px       !important;
335
+	height: 100%     !important;
336
+	cursor: w-resize;
337
+	}
338
+	
339
+.fc-event-hori .ui-resizable-handle {
340
+	_padding-bottom: 14px; /* IE6 had 0 height */
341
+	}
342
+	
343
+	
344
+	
345
+/* Reusable Separate-border Table
346
+------------------------------------------------------------*/
347
+
348
+table.fc-border-separate {
349
+	border-collapse: separate;
350
+	}
351
+	
352
+.fc-border-separate th,
353
+.fc-border-separate td {
354
+	border-width: 1px 0 0 1px;
355
+	}
356
+	
357
+.fc-border-separate th.fc-last,
358
+.fc-border-separate td.fc-last {
359
+	border-right-width: 1px;
360
+	}
361
+	
362
+.fc-border-separate tr.fc-last th,
363
+.fc-border-separate tr.fc-last td {
364
+	border-bottom-width: 1px;
365
+	}
366
+	
367
+.fc-border-separate tbody tr.fc-first td,
368
+.fc-border-separate tbody tr.fc-first th {
369
+	border-top-width: 0; 
370
+	}
371
+	
372
+	
373
+
374
+/* Month View, Basic Week View, Basic Day View
375
+------------------------------------------------------------------------*/
376
+
377
+.fc-grid th {
378
+	text-align: center;
379
+	}
380
+
381
+.fc .fc-week-number {
382
+	width: 22px;
383
+	text-align: center;
384
+	}
385
+
386
+.fc .fc-week-number div {
387
+	padding: 0 2px;
388
+	}
389
+	
390
+.fc-grid .fc-day-number {
391
+	/*float: right;*/
392
+	    padding: 0 15px;
393
+    position: relative;
394
+    line-height: 35px;
395
+    text-align: right;
396
+    font-size: 30px;
397
+    color: #fff;
398
+    background: lightseagreen;
399
+	}
400
+	.fc-first .fc-day-header{
401
+		 line-height: 35px;
402
+		 font-size: 20px;
403
+	}
404
+	.fc-day-cnTerm,.fc-day-cnDate{
405
+		    text-align: right;
406
+    /* margin-top: 5px; */
407
+    font-size: 15px;
408
+    padding-right: 15px;
409
+    color: #000;
410
+    font-weight: bold;
411
+	}
412
+	/*周六 周日*/
413
+.fc-sat .fc-day-number,.fc-sat .fc-day-cnDate,.fc-sun  .fc-day-number,.fc-sun  .fc-day-cnDate{
414
+		color: #f8ac59;
415
+	}
416
+	.fc-sat .fc-day-cnTerm,.fc-sun .fc-day-cnTerm{
417
+		color: #f8ac59;
418
+	}
419
+	.fc-first .fc-sat,.fc-first .fc-sun  {
420
+		color: #f8ac59;
421
+	}
422
+.fc-grid .fc-day-number span.solarday{float:right;color:#999}	
423
+.fc-grid .fc-day-number span.holiday{position:absolute; left:40%}
424
+	
425
+.fc-grid .fc-other-month .fc-day-number {
426
+	opacity: 0.3;
427
+	filter: alpha(opacity=30); /* for IE */
428
+	/* opacity with small font can sometimes look too faded
429
+	   might want to set the 'color' property instead
430
+	   making day-numbers bold also fixes the problem */
431
+	}
432
+	
433
+.fc-grid .fc-day-content {
434
+	clear: both;
435
+	padding: 2px 2px 1px; /* distance between events and day edges */
436
+	}
437
+	
438
+/* event styles */
439
+	
440
+.fc-grid .fc-event-time {
441
+	font-weight: bold;
442
+	}
443
+	
444
+/* right-to-left */
445
+	
446
+.fc-rtl .fc-grid .fc-day-number {
447
+	float: left;
448
+	}
449
+	
450
+.fc-rtl .fc-grid .fc-event-time {
451
+	float: right;
452
+	}
453
+	
454
+	
455
+
456
+/* Agenda Week View, Agenda Day View
457
+------------------------------------------------------------------------*/
458
+
459
+.fc-agenda table {
460
+	border-collapse: separate;
461
+	}
462
+	
463
+.fc-agenda-days th {
464
+	text-align: center;
465
+	}
466
+	
467
+.fc-agenda .fc-agenda-axis {
468
+	width: 50px;
469
+	padding: 0 4px;
470
+	vertical-align: middle;
471
+	text-align: right;
472
+	white-space: nowrap;
473
+	font-weight: normal;
474
+	}
475
+
476
+.fc-agenda .fc-week-number {
477
+	font-weight: bold;
478
+	}
479
+	
480
+.fc-agenda .fc-day-content {
481
+	padding: 2px 2px 1px;
482
+	}
483
+	
484
+/* make axis border take precedence */
485
+	
486
+.fc-agenda-days .fc-agenda-axis {
487
+	border-right-width: 1px;
488
+	}
489
+	
490
+.fc-agenda-days .fc-col0 {
491
+	border-left-width: 0;
492
+	}
493
+	
494
+/* all-day area */
495
+	
496
+.fc-agenda-allday th {
497
+	border-width: 0 1px;
498
+	}
499
+	
500
+.fc-agenda-allday .fc-day-content {
501
+	min-height: 34px; /* TODO: doesnt work well in quirksmode */
502
+	_height: 34px;
503
+	}
504
+	
505
+/* divider (between all-day and slots) */
506
+	
507
+.fc-agenda-divider-inner {
508
+	height: 2px;
509
+	overflow: hidden;
510
+	}
511
+	
512
+.fc-widget-header .fc-agenda-divider-inner {
513
+	background: #eee;
514
+	}
515
+	
516
+/* slot rows */
517
+	
518
+.fc-agenda-slots th {
519
+	border-width: 1px 1px 0;
520
+	}
521
+	
522
+.fc-agenda-slots td {
523
+	border-width: 1px 0 0;
524
+	background: none;
525
+	}
526
+	
527
+.fc-agenda-slots td div {
528
+	height: 20px;
529
+	}
530
+	
531
+.fc-agenda-slots tr.fc-slot0 th,
532
+.fc-agenda-slots tr.fc-slot0 td {
533
+	border-top-width: 0;
534
+	}
535
+
536
+.fc-agenda-slots tr.fc-minor th,
537
+.fc-agenda-slots tr.fc-minor td {
538
+	border-top-style: dotted;
539
+	}
540
+	
541
+.fc-agenda-slots tr.fc-minor th.ui-widget-header {
542
+	*border-top-style: solid; /* doesn't work with background in IE6/7 */
543
+	}
544
+	
545
+
546
+
547
+/* Vertical Events
548
+------------------------------------------------------------------------*/
549
+
550
+.fc-event-vert {
551
+	border-width: 0 1px;
552
+	}
553
+
554
+.fc-event-vert.fc-event-start {
555
+	border-top-width: 1px;
556
+	border-top-left-radius: 3px;
557
+	border-top-right-radius: 3px;
558
+	}
559
+
560
+.fc-event-vert.fc-event-end {
561
+	border-bottom-width: 1px;
562
+	border-bottom-left-radius: 3px;
563
+	border-bottom-right-radius: 3px;
564
+	}
565
+	
566
+.fc-event-vert .fc-event-time {
567
+	white-space: nowrap;
568
+	font-size: 10px;
569
+	}
570
+
571
+.fc-event-vert .fc-event-inner {
572
+	position: relative;
573
+	z-index: 2;
574
+	}
575
+	
576
+.fc-event-vert .fc-event-bg { /* makes the event lighter w/ a semi-transparent overlay  */
577
+	position: absolute;
578
+	z-index: 1;
579
+	top: 0;
580
+	left: 0;
581
+	width: 100%;
582
+	height: 100%;
583
+	background: #fff;
584
+	opacity: .3;
585
+	filter: alpha(opacity=30);
586
+	}
587
+	
588
+.fc .ui-draggable-dragging .fc-event-bg, /* TODO: something nicer like .fc-opacity */
589
+.fc-select-helper .fc-event-bg {
590
+	display: none\9; /* for IE6/7/8. nested opacity filters while dragging don't work */
591
+	}
592
+	
593
+/* resizable */
594
+	
595
+.fc-event-vert .ui-resizable-s {
596
+	bottom: 0        !important; /* importants override pre jquery ui 1.7 styles */
597
+	width: 100%      !important;
598
+	height: 8px      !important;
599
+	overflow: hidden !important;
600
+	line-height: 8px !important;
601
+	font-size: 11px  !important;
602
+	font-family: monospace;
603
+	text-align: center;
604
+	cursor: s-resize;
605
+	}
606
+	
607
+.fc-agenda .ui-resizable-resizing { /* TODO: better selector */
608
+	_overflow: hidden;
609
+	}
610
+	
611
+	

File diff suppressed because it is too large
+ 7 - 0
CallCenterWeb.UI/js/fullcalendar/fullcalendar.min.js


+ 32 - 0
CallCenterWeb.UI/js/fullcalendar/fullcalendar.print.css

@@ -0,0 +1,32 @@
1
+/*!
2
+ * FullCalendar v1.6.4 Print Stylesheet
3
+ * Docs & License: http://arshaw.com/fullcalendar/
4
+ * (c) 2013 Adam Shaw
5
+ */
6
+
7
+/*
8
+ * Include this stylesheet on your page to get a more printer-friendly calendar.
9
+ * When including this stylesheet, use the media='print' attribute of the <link> tag.
10
+ * Make sure to include this stylesheet IN ADDITION to the regular fullcalendar.css.
11
+ */
12
+ 
13
+ 
14
+ /* Events
15
+-----------------------------------------------------*/
16
+ 
17
+.fc-event {
18
+	background: #fff !important;
19
+	color: #000 !important;
20
+	}
21
+	
22
+/* for vertical events */
23
+	
24
+.fc-event-bg {
25
+	display: none !important;
26
+	}
27
+	
28
+.fc-event .ui-resizable-handle {
29
+	display: none !important;
30
+	}
31
+	
32
+	

File diff suppressed because it is too large
+ 7 - 0
CallCenterWeb.UI/js/fullcalendar/moment.min.js


File diff suppressed because it is too large
+ 4621 - 1
CallCenterWeb.UI/js/layui/css/layui.css