<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="mycalendarview.aspx.cs" Inherits="Us.Web.admin.calendars.mycalendarview" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=7" />
    <title>修改日程详细</title>
    <link href="Theme/Default/main.css" rel="stylesheet" type="text/css" />
    <link href="Theme/Default/dp.css" rel="stylesheet" />
    <link href="Theme/Default/dropdown.css" rel="stylesheet" />
    <link href="Theme/Default/colorselect.css" rel="stylesheet" />
    <style type="text/css">
        .calpick
        {
            width: 25px;
            border: none;
            cursor: pointer;
            background: url("Images/icons/cal.gif") no-repeat center 2px;
            margin-left: -22px;
        }
    </style>
</head>
<body>
    <div>
        <div class="toolBotton">
            <a id="Closebtn" class="imgbtn"
                        href="javascript:void(0);"><span class="Close" title="关闭窗口">关闭</span>
                        </a>
        </div>
        <div style="clear: both">
        </div>
        <div class="infocontainer">
            <form class="fform" id="fmEdit" runat="server">
            <label>
                <span>*主题： </span>
                <div id="calendarcolor">
                </div>
                <asp:TextBox MaxLength="200" class="required safe" ID="txtSubject" name="txtSubject"
                    Style="width: 85%;" runat="server" Enabled="False"></asp:TextBox>
                <asp:HiddenField ID="colorvalue" runat="server" />
            </label>
            <label>
                <span>*时间： </span>
                <div>
                    <asp:TextBox MaxLength="10" class="required date" ID="stpartdate" Style="padding-left: 2px;
                        width: 90px;" runat="server" Enabled="false"></asp:TextBox>
                    <asp:TextBox MaxLength="5" class="required time" ID="stparttime" name="stparttime"
                        Style="width: 40px;" runat="server" Enabled="false"></asp:TextBox>
                    到
                    <asp:TextBox class="required date" ID="etpartdate" name="etpartdate" Style="padding-left: 2px;
                        width: 90px;" runat="server" Enabled="false"></asp:TextBox>
                    <asp:TextBox MaxLength="50" class="required time" ID="etparttime" name="etparttime"
                        Style="width: 40px;" runat="server" Enabled="false"></asp:TextBox>
                    <label class="checkp">
                         全天日程：
                        <asp:CheckBox ID="IsAllDayEvent"  runat="server" Checked="false"  />
                    </label>
                </div>
            </label>
            <label>
                <span>地点： </span>
                <asp:TextBox MaxLength="200" ID="txtLocation" name="txtLocation" Style="width: 95%;"
                    type="text" runat="server" Enabled="False"></asp:TextBox>
            </label>
            <label>
                <span>参加人员： </span>
                <asp:TextBox MaxLength="200" ID="txtAttendeeNames" name="txtAttendeeNames" Style="width: 95%;"
                    type="text" runat="server" Enabled="False"></asp:TextBox>
            </label>
            <label>
                <span>备注： </span>
                <asp:TextBox cols="20" ID="txtDescription" name="txtDescription" Style="width: 95%;
                    height: 70px" runat="server" TextMode="MultiLine" Rows="5" 
                Enabled="False"></asp:TextBox>
            </label>
            <input id="timezone" name="timezone" type="hidden" value="" />
            <asp:HiddenField ID="hidID" runat="server" />
            </form>
        </div>
        <script src="Javascripts/jquery.min.js" type="text/javascript"></script>
        <script src="Javascripts/Common.js" type="text/javascript"></script>
        <script src="Javascripts/Plugins/jquery.form.js" type="text/javascript"></script>
        <script src="Javascripts/Plugins/jquery.validate.js" type="text/javascript"></script>
        <script src="Javascripts/Plugins/datepicker_lang_zh_CN.js" type="text/javascript"></script>
        <script src="Javascripts/Plugins/jquery.datepicker.js" type="text/javascript"></script>
        <script src="Javascripts/Plugins/jquery.dropdown.js" type="text/javascript"></script>
        <script src="Javascripts/Plugins/jquery.colorselect.js" type="text/javascript"></script>
        <script type="text/javascript">
            $(document).ready(function () {
                $("#Closebtn").click(function () { CloseModelWindow(); });

                var cv = $("#colorvalue").val();
                if (cv == "") {
                    cv = "-1";
                }
                $("#calendarcolor").colorselect({ title: "颜色分类", index: cv, hiddenid: "colorvalue" });
                $("#calendarcolor").attr('disabled', ' true');

                $("#IsAllDayEvent").attr('disabled', ' true');

            });
        </script>

    </div>
    
</body>
</html>