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

<%@ Register Src="~/user/phone/MyFooter.ascx" TagPrefix="uc1" TagName="MyFooter" %>
<%@ Register Src="~/user/phone/MyHeader.ascx" TagPrefix="uc1" TagName="MyHeader" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <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">
    <link href="/user/phone/css/style.css?v=201723" rel="stylesheet">

    <script src="/control/js/jquery.js"></script>
    <script src="/control/plugin/bootstrap3/js/bootstrap.min.js"></script>

    <style>
        .dt {
            color: grey;
            font-size: 13px;
        }
    </style>
</head>
<body>
    <uc1:MyHeader runat="server" ID="MyHeader" />

    <div class=" container-fluid ">
        <div class="row">
            <div class="col-xs-12 cont">

                <%--                <ul class="nav nav-tabs">
                    <li id="tab1" role="presentation" style="width:50%"  class="active text-center" ><a href="MyCreateMeeting.aspx"  >发起的会议</a></li>
                    <li id="tab2" role="presentation" style="width:50%"  class="text-center"><a href="MyPartakeMeeting.aspx" >参与的会议</a></li> 
                </ul>--%>

                <div class="panel panel-default">

                    <asp:Repeater ID="rptData" runat="server">
                        <HeaderTemplate>
                            <div id="list" class="list-group" style="font-size: 15px;">
                        </HeaderTemplate>
                        <ItemTemplate>
                            <a href="MeetingDetails.aspx?id=<%#Eval("m_id") %>" class="list-group-item l ">
                                <span class="badge badge_1">
                                    <i class="glyphicon glyphicon-chevron-right"></i>
                                </span>
                                <%#Eval("m_MeetingName") %>
                                <p class="dt">
                                    <%#((DateTime)Eval("m_startDate")).ToString("yyyy年MM月dd日 HH:mm")%> 
                                        -
                                    <%#((DateTime)Eval("m_endDate")).ToString("HH:mm")%>
                                </p>

                            </a>
                        </ItemTemplate>
                        <FooterTemplate>
                            </div>

                            <div class="alert alert-link"
                                style="display: <%#bool.Parse((rptData.Items.Count==0).ToString())?"block":"none"%>">
                                <h4>你当前还未发起过会议。</h4>
                            </div>

                        </FooterTemplate>
                    </asp:Repeater>
                    <div class="text-center">
                        <asp:Literal ID="litPage" runat="server"></asp:Literal>
                    </div>
                </div>

            </div>
        </div>
    </div>

    <uc1:MyFooter runat="server" ID="MyFooter" />
</body>
</html>
