<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="LandingPageExecutive.aspx.cs" Inherits="NikaiDSR.LandingPageExecutive" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="content_holder">
        <div class="bg_shadow" >
            <table border="2" cellspacing="0" cellpadding="0" width="100%">
                <tr>
                <td width="350px" colspan="2">
                        <h1>
                            <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Res, Executive_Home%>" /></h1>
                    <br />
                    </td>
                </tr>
                <tr>
                    <td width="150px">
                        <telerik:RadComboBox ID="cmbPeriod" runat="server" OnSelectedIndexChanged="cmbPeriod_SelectedIndexChanged" AutoPostBack="true">
                            <Items>
                                <telerik:RadComboBoxItem Text="<%$ Resources:Res, Last30Days%>" Value="30" Selected="true" />
                                <telerik:RadComboBoxItem Text="<%$ Resources:Res, Last60Days%>" Value="60" />
                                <telerik:RadComboBoxItem Text="<%$ Resources:Res, Last90Days%>" Value="90" />
                            </Items>
                        </telerik:RadComboBox>
                    </td>
                    <td align="right">
                        <asp:Literal ID="txtDate" runat="server" />
                    </td>
                </tr>

            </table>
                </div>
            <%--<div style="text-align: right;">
                <asp:Literal ID="txtDate" runat="server" />
            </div>--%>
        <br />
            <br />
            <telerik:RadGrid ID="Grid" runat="server" OnNeedDataSource="Grid_NeedDataSource" OnItemDataBound="Grid_ItemDataBound">
                <MasterTableView>
                    <Columns>
                        <telerik:GridBoundColumn DataField="Site_User_Id" UniqueName="UserId" Display="false" />
                        <telerik:GridBoundColumn DataField="DSR_Id" UniqueName="DSR_Id" Display="false" />
                        <telerik:GridBoundColumn DataField="DSR_Head_Id" UniqueName="DSR_Head_Id" Display="false" />
                        <telerik:GridBoundColumn HeaderText="<%$ Resources:Res, Date%>" DataField="A_Date" DataFormatString="{0:dddd MMM dd,yyyy}" UniqueName="Date">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="<%$ Resources:Res, Attendance_Status%>" DataField="A_Status" UniqueName="Attendance">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn HeaderText="<%$ Resources:Res, DSR_Submited%>" DataField="DSR_Status" UniqueName="DSR">
                        </telerik:GridBoundColumn>
                        <telerik:GridTemplateColumn>
                            <ItemTemplate>
                                <asp:LinkButton ID="btnFillDSR" runat="server" Text="<%$ Resources:Res, Fill_DSR%>" Visible="false" />
                                <asp:LinkButton ID="btnEditDSR" runat="server" Text="<%$ Resources:Res, Edit_DSR%>" Visible="false" />
                                <asp:LinkButton ID="btnChangeAttendance" runat="server" Text="<%$ Resources:Res, Change_Attendance%>" Visible="false" />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>
    </div>
</asp:Content>
