<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="info2.aspx.vb" Inherits="work_plan_web_deploy.info2" %>
<%@ Import namespace="work_plan_web_deploy"%>
<html>
	<head id="head1"  runat="server">
    <title><%=webname()%></title>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="stylesheet" type="text/css" href="lib/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="stylesheets/theme.css">
    <link rel="stylesheet" href="lib/font-awesome/css/font-awesome.css">
    <link href="site_css2.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="js/DatePicker/WdatePicker.js" language="javascript"></script>
    <script type="text/javascript" src="js/myjs.js" language="javascript"></script>
    <script src="lib/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="lib/bootstrap/js/bootstrap.js" type="text/javascript"></script>
    <script src="js/fullScreen.js" type="text/javascript"></script>
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <!-- Le fav and touch icons -->

</head>
  <body class=""> 
     <!--<![endif]-->
    <form id="Form1" runat="server">
    <div class="content">
    <div class="container-fluid">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<asp:UpdatePanel ID="UpdatePanel3" runat="server"> 
<ContentTemplate> 
<asp:Timer ID="Timer1" runat="server" Interval="300000" OnTick="Timer1_Tick"> 
</asp:Timer> 
<!--行开始-->
<div class="row-fluid">   
<div class="block span6">
        <a href="#tablewidget3" class="block-heading" data-toggle="collapse">近期个人在办工作数量趋势<span class="label label-warning">+<asp:Label ID="tj1" runat="server"></asp:Label></span></a>
        &nbsp;<div id="tablewidget3" class="block-body collapse in">
            <asp:Chart ID="Chart1" runat="server" Visible="False" Width="740px" 
                Height="340px" Palette="Pastel">
                <Series>
                    <asp:Series BorderWidth="4" ChartType="Line" Color="Brown" 
                        Font="Microsoft Sans Serif, 14pt" Name="Series1" Legend="Legend1" 
                        LegendText="所有">
                    </asp:Series>
                </Series>
                <ChartAreas>
                    <asp:ChartArea Name="ChartArea1">
                        <AxisX IntervalAutoMode="VariableCount" IsLabelAutoFit="False">
                        </AxisX>
                        <Position Height="90" Width="100" Y="10" />
                    </asp:ChartArea>
                </ChartAreas>
                <Legends>
                    <asp:Legend Name="Legend1" DockedToChartArea="ChartArea1" Docking="Top" 
                        IsDockedInsideChartArea="False" MaximumAutoSize="100">
                    </asp:Legend>
                </Legends>
            </asp:Chart>
        </div>
</div>
<div class="block span6">
        <a href="#tablewidget4" class="block-heading" data-toggle="collapse">个人在办工作类型统计<span class="label label-warning">+<asp:Label ID="tj2" runat="server"></asp:Label></span></a>
        <div id="tablewidget4" class="block-body collapse in">                      
            <asp:Chart ID="Chart2" runat="server" Visible="False" Width="740px" Height="360px">
                <Series>
                    <asp:Series BorderWidth="2" ChartType="Bar" Color="Brown" 
                        Font="Microsoft Sans Serif, 14pt" Name="Series1" ChartArea="ChartArea1" 
                        Palette="Pastel">
                    </asp:Series>
                </Series>
                <ChartAreas>
                    <asp:ChartArea Name="ChartArea1">
                        <AxisX IntervalAutoMode="VariableCount" IsLabelAutoFit="False">
                        </AxisX>
                        <Position Height="100" Width="100" />
                    </asp:ChartArea>
                </ChartAreas>
            </asp:Chart>
                      
        </div>
</div>
</div>
<!--行结束--> 
<!--行开始-->
<div class="row-fluid">   
<div class="block span6">
        <a href="#tablewidget1" class="block-heading" data-toggle="collapse">需要处置的工作</a>
        <div id="tablewidget1" class="block-body collapse in">
        <asp:GridView ID="GridView1" runat="server"  AutoGenerateColumns="False" 
                GridLines="None" Width="100%" CssClass="table" ShowHeader="False">
         <Columns>
                
                    <asp:TemplateField HeaderText="标题">
                                           <ItemTemplate>
                                               <a title="<%# DataBinder.Eval(Container, "DataItem.bt")%>" href="view_task.aspx?id=<%# DataBinder.Eval(Container, "DataItem.id")%>" target="_blank"><%# cutstr2(DataBinder.Eval(Container, "DataItem.bt"), Session("zs"), "标题缺失")%></a>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                   <asp:TemplateField HeaderText="完成时限">
                                            <ItemTemplate>
                                                <asp:Label ID="Label3" runat="server" 
                                                    Text='<%# gssx(DataBinder.Eval(Container, "DataItem.wcsx"),txsx())%>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="工作状态">
                                            <ItemTemplate>
                                                <asp:Label ID="Label4" runat="server" 
                                                     Text='<%# gettaskzt(DataBinder.Eval(Container, "DataItem.id")，page)%>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                         <asp:TemplateField HeaderText="提醒计划">
                                            <ItemTemplate>
                                                <a href="JavaScript:void(window.open('smsplan_config.aspx?type=task&tid=<%# DataBinder.Eval(Container, "DataItem.id")%>','newwindow','width=1100,height=400,resizable=1,scrollbars=yes,menubar=no,status=yes'))">提醒</a>
                                            </ItemTemplate>
                                             <HeaderStyle HorizontalAlign="Right" />
                                             <ItemStyle HorizontalAlign="Right" />
                                        </asp:TemplateField>
                </Columns>
        <PagerStyle CssClass="pagerclass" />
        <EmptyDataTemplate>
        </EmptyDataTemplate>
        </asp:GridView>

                       <p><a href="my_task.aspx">More...</a></p>
        </div>
</div>
<div class="block span6">
        <a href="#tablewidget2" class="block-heading" data-toggle="collapse">最新信息资源</a>
        <div id="tablewidget2" class="block-body collapse in">
        <asp:GridView ID="GridView2" runat="server"  AutoGenerateColumns="False" 
                GridLines="None" Width="100%" CssClass="table" ShowHeader="False">
          <Columns>

                                        <asp:TemplateField HeaderText="标题">
                                            <ItemTemplate>
                                             <asp:Label ID="Label11" runat="server" 
                                                    Text='<%# articlename(DataBinder.Eval(Container, "DataItem.id"), Session("zs"), "view_article.aspx?id=", 0, 1, 1, "") %>'></asp:Label>
                                            </ItemTemplate>

                                            <HeaderStyle HorizontalAlign="Left" />
                                            <ItemStyle HorizontalAlign="Left" />
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="录入时间">
                                            <ItemTemplate>
                                                <asp:Label ID="Label3" runat="server" Text='<%# c_date_d(DataBinder.Eval(Container, "DataItem.tjsj")) %>'></asp:Label>
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                               
                                            </EditItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
        <PagerStyle CssClass="pagerclass" />
        <EmptyDataTemplate>
        </EmptyDataTemplate>
        </asp:GridView>
                       <p><a href="articles.aspx">More...</a></p>
        </div>
</div>
</div>
<!--行结束--> 
    </ContentTemplate> 
</asp:UpdatePanel> 
        </div>
    </div>
    </form>
<a href="javascript:fullScreen();"><i class="icon-eye-open"></i> 全屏模式</a>&nbsp; <a href="javascript:exitFullScreen();"><i class="icon-eye-close"></i> 退出全屏</a>
</body>
</html>