<%@ page language="C#" autoeventwireup="true" inherits="user_phone_Home, ALL" enableEventValidation="false" %>

<%@ Register Src="~/user/phone/MyHeader.ascx" TagPrefix="uc1" TagName="MyHeader" %>
<%@ Register Src="~/user/phone/MyFooter.ascx" TagPrefix="uc1" TagName="MyFooter" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>会议室预约系统</title>
    <link href="/control/plugin/bootstrap3/css/bootstrap.min.css" rel="stylesheet" />
    <script src="/control/js/jquery.js"></script>
    <link href="/user/phone/css/style.css?v=201723" rel="stylesheet" />
</head>
<body>
    <uc1:MyHeader runat="server" ID="MyHeader" />
    <div class=" container-fluid">
        <div class="row">
            <div class="col-xs-12 cont">
                <div class="panel panel-default">
                    <div class="panel-heading">最近3天需参与的会议</div>
                    <asp:Repeater ID="rptMyPartakeMeeting" runat="server">
                        <HeaderTemplate>
                            <div id="list" class="list-group" style="font-size: 15px;">
                        </HeaderTemplate>
                        <ItemTemplate><a href="/user/phone/Meeting/MeetingDetails.aspx?id=<%#Eval("m_id") %>" class="list-group-item l "><span class="badge badge_1"><i class="glyphicon glyphicon-chevron-right"></i></span>
                            <p class="dt"><%#((DateTime)Eval("m_startDate")).ToString("MM月dd日 HH:mm")%>                                                 -                                                <%#((DateTime)Eval("m_endDate")).ToString("HH:mm")%>                                </p>
                            <%#Eval("m_MeetingName") %>                            </a></ItemTemplate>
                        <FooterTemplate></div>                                    
                            <div class="alert alert-link " style="display: <%#bool.Parse((rptMyPartakeMeeting.Items.Count==0).ToString())?"block":"none"%>">
                                <h4>今日暂无参与的会议。</h4>
                            </div>
                        </FooterTemplate>
                    </asp:Repeater>
                </div>
                <div class="panel panel-default">
                    <div class="panel-heading">最近3天您发起的会议</div>
                    <asp:Repeater ID="rptCreateMeeting" runat="server">
                        <HeaderTemplate>
                            <div id="list" class="list-group" style="font-size: 15px;">
                        </HeaderTemplate>
                        <ItemTemplate><a href="/user/phone/Meeting/MeetingDetails.aspx?id=<%#Eval("m_id") %>" class="list-group-item l "><span class="badge badge_1"><i class="glyphicon glyphicon-chevron-right"></i></span>
                            <p class="dt"><%#((DateTime)Eval("m_startDate")).ToString("MM月dd日 HH:mm")%>                                                 -                                                <%#((DateTime)Eval("m_endDate")).ToString("HH:mm")%>                                </p>
                            <%#Eval("m_MeetingName") %>                            </a></ItemTemplate>
                        <FooterTemplate></div>                                    
                            <div class="alert alert-link " style="display: <%#bool.Parse((rptCreateMeeting.Items.Count==0).ToString())?"block":"none"%>">
                                <h4>今日发起的会议。</h4>
                            </div>
                        </FooterTemplate>
                    </asp:Repeater>
                </div>
            </div>
        </div>
    </div>
    <uc1:MyFooter runat="server" ID="MyFooter" />
</body>
</html>
