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

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

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <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/css/style.css?v=201721" rel="stylesheet" />
    <script src="/control/js/jquery.js"></script>
    <script src="/control/plugin/bootstrap3/js/bootstrap.min.js"></script>
    <link href="/control/css/msgbox.css" rel="stylesheet" />
    <script src="/control/js/msgbox.js"></script>
    <style type="text/css">
        .ditem {
            font-size: 18px;
            color: brown;
        }

        img {
            max-width: 100%;
        }
    </style>
</head>
<body>
    <uc1:MyHeader runat="server" ID="MyHeader" />
    <div class="container ">

        <div class="row">
            <div class="col-sm-12">
                <div class="panel">
                    <div class="panel-body">

                        <h3 class="page-header">
                            会议详细<small> 会议详细信息</small>
                            <span class="pull-right">
                            <a  href="MeetingEdit.aspx?id=<%=Request["id"] %>" class="btn btn-primary btn-sm  " aria-label="Left Align">
                                <span class="glyphicon glyphicon-edit" aria-hidden="true"></span> 编辑会议
                            </a>

                            <a href="Meeting_Cancel.aspx?id=<%=Request["id"] %>" class="btn  btn-warning btn-sm " aria-label="Left Align">
                                <span class="glyphicon glyphicon-remove" aria-hidden="true"></span> 取消本次会议
                            </a>
                          </span>
                        </h3>

                        <div class="form-group">
                            <label class=" control-label">
                                会议名称：
                            </label>
                            <div>
                                <asp:Label ID="txtMeetingName" runat="server" CssClass="ditem"></asp:Label>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class=" control-label">
                                会议开始：</label>
                            <div>
                                <asp:Label ID="txtstart" runat="server" CssClass="ditem"></asp:Label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class=" control-label">
                                会议截至：</label>
                            <div>
                                <asp:Label ID="txtend" runat="server" CssClass="ditem"></asp:Label>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class=" control-label">
                                预订人：</label>
                            <div>
                                <asp:Label ID="litCreate" runat="server" CssClass="ditem"></asp:Label>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class=" control-label">
                                会议简要概述：</label>
                            <div>
                                <asp:Label ID="txtb_note" runat="server" CssClass="ditem"></asp:Label>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class=" control-label">
                                参与人员：</label>
                            <div class="ditem">

                                <asp:Repeater ID="rptMe" runat="server">
                                    <ItemTemplate>

                                        <%#Eval("ee_name") %>、

                                    </ItemTemplate>
                                </asp:Repeater>
                            </div>
                        </div>
                        <h3 class="page-header">会议室<small> 会议所在会议室信息</small></h3>
                        <div class="form-group">
                            <label class=" control-label">
                                会议室名称<span class='rd'>*</span>：  
                            </label>
                            <div>
                                <asp:Label ID="txtr_name" runat="server" MaxLength="50" CssClass="ditem"></asp:Label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class=" control-label">
                                面积<span class='rd'>*</span>： 
                            </label>
                            <div>
                                <asp:Label ID="txtr_size" runat="server" MaxLength="8" CssClass="ditem"></asp:Label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class=" control-label">
                                可容纳人数<span class='rd'>*</span>：    
                            </label>
                            <div>
                                <asp:Label ID="txtr_maxNumber" runat="server" MaxLength="8" CssClass="ditem"></asp:Label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class=" control-label">
                                所在位置<span class='rd'>*</span>：  
                            </label>
                            <div>
                                <asp:Label ID="txtr_position" runat="server" MaxLength="255" CssClass="ditem"></asp:Label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class=" control-label">
                                会议室介绍<span class='rd'>*</span>：  
                            </label>
                            <div>
                                <asp:Label ID="txtr_note" runat="server" MaxLength="255" CssClass="ditem"></asp:Label>
                            </div>
                        </div>
                        <h3 class="page-header">会议室设备<small> 会议室设备详细信息</small></h3>
                        <asp:Repeater ID="rptEquipment" runat="server">
                            <ItemTemplate>
                                <div class="list-group-item">
                                    <h4><%#Eval("rr_name") %></h4>
                             
                                </div>
                            </ItemTemplate>
                        </asp:Repeater>

                    </div>
                    <!-- Add.aspx -->
                </div>
            </div>
        </div>
    </div>

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

    <script type="text/javascript">

        function add() {
            $("#iframeContent").hide();
            $("#iframeContent").attr("src", "/admin/Room/Room_Add.aspx");
            $("#OperDialog").modal({ backdrop: false });
            $("#operTitle").text("添加");
        }
        function edit(id) {

            $("#iframeContent").hide();
            $("#iframeContent").attr("src", "/admin/Room/Room_Edit.aspx?id=" + id);
            $("#OperDialog").modal({ backdrop: false });
            $("#operTitle").text("编辑");
        }
        function reload() {
            window.location.reload();
        }
        function ShowDialog() {
            $("#iframeContent").show();
        }
        function rd(key) {
            if (confirm('确定删除该项！')) {
                ZENG.msgbox.show('删除中...', 6);
                $.ajax({
                    type: "POST",
                    dataType: "json",
                    data: { "did": key },
                    success: function (result) {
                        ZENG.msgbox._hide();
                        if (result.state == 1) {
                            location.reload();
                        } else {
                            alert(result.data);
                        }
                    }
                });
            }
        }
    </script>


</body>
</html>
