<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true"
    CodeBehind="Hr_Dashboard.aspx.cs" Inherits="HRMS.Hr_Dashboard" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<%@ Register Assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:Panel ID="main_pnl" runat="server">
        <div class="row">
            <div class="col-md-12">
                <section class="panel">
                    <header class="panel-heading">HR DashBoard
                        

                    <div class="pull-right">
                        <a href="EmployeeHierarcy.aspx" id="ViewHierarcy" runat="server" class="btn btn-info">View Employee Hierarcy Chart</a>

                    </div>
                    </header>
                    <div class="panel-body">
                      
                            <div class="span6">
                            <div id="divMessage" runat="server" visible="false" class="alert alert-info alert-dismissable">
                            <i class="icon-check-sign"></i>
                            <asp:Label ID="lblMessage" class="msg" runat="server" Text="" ></asp:Label>
                            </div>
                            <div class="span6">
                            <div id="diverrorMessage" runat="server" visible="false" class="alert alert-danger alert-dismissable">
                            <i class="icon-check-sign"></i>
                            <asp:Label ID="lblerrorMessage" class="msg" runat="server" Text="" ></asp:Label>
                            </div>
                            </div>
                            </div>


                                        <div class ="row">
                                            <div class="col-md-6">
                                                <rsweb:ReportViewer ID="ReportViewer1" runat="server" Width="100%" ShowToolBar="False"></rsweb:ReportViewer>
                                             </div>

                                             <div class="col-md-6">
                                                <rsweb:ReportViewer ID="ReportViewer2" runat="server" Width="100%" ShowToolBar="False" HyperlinkTarget="_blank"></rsweb:ReportViewer>
                                             </div> 
                                             
                                         </div>     

                                         <div style="width: 102%; height:280px; overflow: scroll">
                                           <asp:GridView ID="grd" runat="server" AutoGenerateColumns="False"  GridLines="Horizontal" HeaderStyle-BackColor="WhiteSmoke" HeaderStyle-ForeColor="Black" 
                      cellpadding="0" border="0" CssClass="table">
            <Columns>
                <asp:BoundField HeaderText="Date" DataField="Date" />
                <asp:BoundField HeaderText="Day" DataField="Day" />
                 <asp:BoundField HeaderText="Name" DataField="NAME" />
                <asp:BoundField HeaderText="In Time" DataField="In_Time" />
                <asp:BoundField HeaderText="Out Time" DataField="Out_Time" />
                <asp:BoundField HeaderText="Late" DataField="Late" />
            </Columns>
            <%-- Mandatory--%>
            <RowStyle CssClass="rowStyle"/>
           <%-- Mandatory--%>
            <HeaderStyle CssClass="headerStyle" />
           <%-- optional--%>
           <FooterStyle  CssClass="footerStyle"  />
        </asp:GridView>
        </div>

                                <div class ="row">
                                    <div class="col-md-11">
                                        <rsweb:ReportViewer ID="ReportViewer3" runat="server" Width="100%" ShowToolBar="False"></rsweb:ReportViewer>
                                    </div>      
                                </div> 
                       
                                 <div class ="row">
                                    <div class="col-md-12">
                                        <rsweb:ReportViewer ID="ReportViewer4" runat="server" Width="100%" ShowToolBar="False" HyperlinkTarget="_blank"></rsweb:ReportViewer>
                                    </div>           
                                 </div> 
                       
                          
                                 <div class ="row">
                                    <div class="col-md-6">
                                        <rsweb:ReportViewer ID="ReportViewer5" runat="server" Width="100%" ShowToolBar="False" HyperlinkTarget="_blank"></rsweb:ReportViewer>
                                    </div>  
                                    
                                    <div class="col-md-6">
                                        <rsweb:ReportViewer ID="ReportViewer6" runat="server" Width="100%" ShowToolBar="False" HyperlinkTarget="_blank"></rsweb:ReportViewer>
                                    </div>
                                             
                                 </div> 
                       
                        
                                 <div class ="row">
                                               
                                 </div> 
                       
                          
                          <%--    <div class="row">
                              <div class="col-md-12">
                                <div class="panel panel-default">
                                   <div class="panel-heading">
                                     <h3 class="panel-title"><i class="fa fa-bar-chart-o fa-fw"></i> Organization Wise Positions</h3>
                                   </div>
                                    <div class="panel-body">
                                                <div class="row">
                                                                  <div class="col-md-12">
                                                                      <asp:Chart ID="Chart2" runat="server" Width="1000px" Palette="None">
                                                                      <Titles>
                                                                      </Titles>
                                                                      <Series>
                                                                       <asp:Series  Name="Series2"  XValueMember="ORGANIZATION_NAME" 
                                                                              YValueMembers="COUNT_TOTAL_POSITION_ORGANIZATION" ChartArea="ChartArea2" 
                                                                              ChartType="Bar" Font="Microsoft Sans Serif, 11.25pt" YValueType="Single"></asp:Series>
                                  
                                                                      </Series>
                                                                      <ChartAreas>
                                   
                                                                       <asp:ChartArea Name="ChartArea2">
                                                                       
                                                                        <AxisX Title="Organization"  TitleFont="Microsoft Sans Serif, 12pt" TitleForeColor="#0099CC">
                                                                        </AxisX>
                                                                       
                                                                        <AxisY Title="No Of Positions"  TitleFont="Microsoft Sans Serif, 12pt" TitleForeColor="#0099CC">
                                                                        </AxisY>
                                                                       
                                                                       </asp:ChartArea>

                                                                      </ChartAreas>
                                                                     </asp:Chart>
                                                                 </div>
                                                                 </div>
                                    </div>
                                </div>
                              </div>

                            </div>--%>

                          

                            
                           </div>
            </div>
            </section>
        </div>
    </asp:Panel>
</asp:Content>
