123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201 |
- <%@ page contentType="text/html;charset=UTF-8" %>
- <%@ include file="/webpage/include/taglib.jsp"%>
- <html>
- <head>
- <title>首页</title>
- <meta name="decorator" content="ani"/>
- <style>
- #body-container {
- margin-left: 0px !important;
- /**padding: 10px;*/
- margin-top: 0px !important;
- overflow-x: hidden!important;
- transition: all 0.2s ease-in-out !important;
- height: 100% !important;
- }
- </style>
- </head>
- <body class="">
- <div id="body-container" class="wrapper wrapper-content">
- <div class="conter-wrapper home-container">
- <div class="row home-row">
- <div class="row home-row">
- <div class="col-lg-4 col-md-6">
- <div class="todo-container panel-danger">
- <div class="panel-heading">
- <div class="todo-header text-center">
- <h4><i class="fa fa-tasks"></i> 待办任务</h4>
- </div>
- </div>
- <div class="panel-body bg-danger">
- <div class="todo-body">
- <div class="todo-list-wrap">
- <ul class="todo-list">
- <c:if test="${ not empty actlist}">
- <c:forEach items="${actlist}" var="actlist" varStatus="index">
- <li>
- <a href="${ctx}/act/task/form?taskId=${actlist.taskId}&taskName=${actlist.taskName}&taskDefKey=${actlist.taskDefKey}&procInsId=${actlist.procInsId}&procDefId=${actlist.procDefId}&status=${actlist.status}" style="color: white">${actlist.title}</a>
- </li>
- </c:forEach>
- </c:if>
- <c:if test="${empty actlist}">
- <span>暂无待办事项</span>
- </c:if>
- </ul>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="col-lg-4 col-md-6">
- <div class="todo-container panel-info">
- <div class="panel-heading">
- <div class="todo-header text-info">
- <h4><i class="fa fa-tasks"></i> 通知</h4>
- </div>
- </div>
- <div class="panel-body bg-info">
- <div class="todo-body">
- <div class="todo-list-wrap">
- <ul class="todo-list">
- <c:if test="${ not empty list1}">
- <c:forEach items="${list1}" var="actlist" varStatus="index">
- <li>
- <a href="${ctx}/oa/oaNotify/form?id=${actlist.id}&isSelf=true" style="color: white">${actlist.title}${actlist.type}</a>
- </li>
- </c:forEach>
- </c:if>
- <c:if test="${empty list1}">
- <span>暂无通知</span>
- </c:if>
- </ul>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <script>
- $(function(){
- $('#calendar2').fullCalendar({
- eventClick: function(calEvent, jsEvent, view) {
- alert('Event: ' + calEvent.title);
- alert('Coordinates: ' + jsEvent.pageX + ',' + jsEvent.pageY);
- alert('View: ' + view.name);
- }
- });
- $('#rtlswitch').click(function() {
- console.log('hello');
- $('body').toggleClass('rtl');
- var hasClass = $('body').hasClass('rtl');
- $.get('/api/set-rtl?rtl='+ (hasClass ? 'rtl': ''));
- });
- $('.theme-picker').click(function() {
- changeTheme($(this).attr('data-theme'));
- });
- $('#showMenu').click(function() {
- $('body').toggleClass('push-right');
- });
- });
- function changeTheme(the) {
- $("#current-theme").remove();
- $('<link>')
- .appendTo('head')
- .attr('id','current-theme')
- .attr({type : 'text/css', rel : 'stylesheet'})
- .attr('href', '/css/app-'+the+'.css');
- }
- </script>
- <script>
- $(function(){
- setTimeout(function() {
- var chart = c3.generate({
- bindto: '#lineChart',
- data: {
- columns: [
- ['搜索引擎', 30, 200, 100, 400, 150, 250],
- ['自主访问', 50, 120, 210, 140, 115, 425],
- ['友情链接', 40, 150, 98, 300, 175, 100]
- ]
- },
- color: {
- pattern: ['#3CA2E0','#5CB85C','#F1B35B']
- },
- axis: {
- x: {
- show: false
- },
- y: {
- show: false
- },
- }
- });
- }, 275);
- setTimeout(function() {
- var chart2 = c3.generate({
- bindto: '#cbar',
- data: {
- columns: [
- [10,40,20,90,35,70,10,50,20,80,60,10,20,40,70]
- ],
- type:'bar'
- },
- bar: {
- width: {
- ratio: 0.5 // this makes bar width 50% of length between ticks
- }
- },
- color: {
- pattern: ['#DB5B57']
- },
- labels: true,
- legend: {
- show: 0
- },
- axis: {
- x: {
- show: false
- },
- y: {
- show: false
- },
- }
- });
- }, 275);
- setTimeout(function() {
- var chart = c3.generate({
- bindto: '#pie',
- data: {
- // iris data from R
- columns: [
- ['data1', 11],
- ['data2', 23],
- ['data3', 66]
- ],
- type : 'pie',
- },
- color: {
- pattern: ['#5CB85C','#F0AD4E','#3CA2E0']
- },
- legend: {
- show: 0
- },
- });
- }, 275);
- });
- </script>
- </body>
- </html>
|