@model Com._9pm2.ClientWeb.Models.ToDoModel
<script src="../../Scripts/jquery.blockUI.js"></script>
<script src="../../Scripts/calendar.js?vn=20180813"></script>
<script src="../../Scripts/todo.js?vn=20180813"></script>
@{
    ViewBag.Title = "日程管理";
}
<div class="todo">
    <div style="text-align:right;">
        <input type="button" style="display:none" value="新增" id="btnNew" />
        <input type="button" style="display:none" value="搜索" id="btnSearch" />
    </div>

    <div id="calendar">
        <p>日程加载中...</p>
    </div>
    <div>

    </div>
</div>


<div id="divToDo" title="日程信息" style="display:none">
    <div id="divToDoContent" style="overflow-y: auto; height: 240px;">
        @using (Html.BeginForm())
            {
            <table class="font85 tableEdit">

                <tr>
                    <td class="label">事项</td>
                    <td>
                        @Html.TextBox("Title")&nbsp;<span class="redStar">*</span>
                    </td>
                </tr>
                <tr>
                    <td class="label">日期</td>
                    <td>
                        @Html.TextBox("ExecuteDate", null, new { maxlength = "50" }) &nbsp;<span class="redStar">*</span>
                        @Html.Hidden("Id")
                    </td>
                </tr>
                <tr>
                    <td class="label">状态</td>
                    <td style="padding:5px 0" class="todo-status">
                        <div>
                            @Html.RadioButton("Status", "1") <span style="color:#f39c12;font-weight:bold">待办</span>
                        </div>
                        <div>
                            @Html.RadioButton("Status", "2") <span style="color:#00CC33;font-weight:bold">已完结</span>
                        </div>
                        <div>
                            @Html.RadioButton("Status", "4") <span style="color:#666;font-weight:bold">无效</span>
                        </div>
                    </td>
                </tr>

                <tr>
                    <td class="label">备注</td>
                    <td>
                        @Html.TextArea("Memo", null, new { maxlength = "500", @style = "height:80px" })
                    </td>
                </tr>
            </table>
        }
    </div>
    <div style="text-align:right;">
        <span id="errorMessage" class="errorSpan"></span>
        <button type="button" class="btn  btn-primary" id="btnSave">保存</button>
        <button type="button" class="btn btn-default" id="btnCancel" >取消</button>
    </div>
</div>
