<div ms-controller="Index">
    <div style="margin-bottom:20px;">
        <table border="0" cellspacing="0" cellpadding="0" class="deskmian">
            <tbody>
                <tr>
                <td width="450" valign="top">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="taborder">
                        <tbody>
                        <tr>
                            <td width="34%" height="55" id="searchbtbg">
                                <div class="select" id="selectcss">
                                    <select id="sbOffices" style="display: none;" name="sb">
                                        <option value="articles" selected="">新闻</option>
                                        <!--<option value="report">工作报告</option>-->
                                    </select>
                                </div>
                            </td>
                            <td width="69%" bgcolor="#FFFFFF">
                                <div class="input-append" style="margin-bottom: 0px;">
                                    <input id="appendedInput" type="text" placeholder="请输入关键字快速检索" ms-duplex="keyword" />
                                    <a ms-href="path" ms-click="search">
                                    <button type="button" class="add-on ibtsearch" style="height: 28px; font-size: 12px; padding: 3px 12px;">搜索</button>
                                        </a>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td height="27" bgcolor="#FFFFFF">&nbsp;</td>
                            <td valign="top" bgcolor="#FFFFFF" class="fgray">
                                历史搜索： <span class="bindSearchHistory"><a href="javascript:void(0);" title=""></a>&nbsp;&nbsp;</span>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </td>
                <td width="10">
                    &nbsp;
                </td>
                <td valign="top">
                    <!--快捷菜单-->
                    <table width="100%" border="0" cellspacing="0" cellpadding="0" id="shortcutbox">
                        <tbody>
                            <tr>
                                <td height="72" bgcolor="#FFFFFF">
                                    <div id="shortcut">
                                        <ul id="shortcutul">
                                            <li>
                                                <div class="edit_bt2" key="Hr_Communication"></div>
                                                <div class="close_bt" key="Hr_Communication"></div>
                                                <i><a href="#/Office/Calendar/"><img src="/Content/Themes/Base/images/desktop/2.png"/></a></i>
                                                <a href="#/Office/Calendar/">日程任务</a>
                                            </li>
                                            <li>
                                                <div class="edit_bt2" key="Hr_Contract"></div>
                                                <div class="close_bt" key="Hr_Contract"></div>
                                                <i><a href="#/Office/Articles/"><img src="/Content/Themes/Base/images/desktop/4.png"/></a></i>
                                                <a href="#/Office/Articles/">新闻管理</a>
                                            </li>
                                            <li>
                                                <div class="edit_bt2" key="Hr_Contract"></div>
                                                <div class="close_bt" key="Hr_Contract"></div>
                                                <i><a href="#/Office/DailyReport/"><img src="/Content/Themes/Base/images/desktop/3.png"/></a></i>
                                                <a href="#/Office/DailyReport/">工作报告</a>
                                            </li>
                                            <!--<li class="add"><a href="javascript:void(0);" class="show"><img src="/Content/Themes/Base/images/ico/add_bt2.png" /></a></li>-->
                                        </ul>
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
            </tbody>
        </table>

        <table border="0" cellspacing="0" cellpadding="0" class="deskmian">
            <tr>
                <td style="width:448px;vertical-align:top;background:#fff;border:1px solid #ccc;">
                        <div class="module" style="width: 425px;margin-left:12px">
                            <h3 style="text-indent:15px;">焦点新闻</h3>
                            <div style="height: 252px; border:1px solid #ccc;">
                                <div style="margin: 8px; height: auto; padding: 10px; line-height: 20px;border-bottom: #C9C9C9 solid 1px; ">
                                    <h1><a ms-if="focusTop.Id" ms-href="focusTop.aurl" ms-attr-target="item.atarget" style="color: #c34609; font-weight: bold; font-size: 24px;line-height:27px;">{{focusTop.Title}}</a></h1>
                                    <div style="margin-top: 10px; color: #666;">
                                        {{focusTop.AddTime | truncate(10,'')}}&nbsp;&nbsp;{{focusTop.AddBy ? focusTop.AddBy.FullName : ""}}&nbsp;&nbsp;<a class="docomment"></a>：{{focusTop.CommentCount}}
                                        <br/>
                                        {{focusTop.Brief}}
                                        <a ms-if="focusTop.Id" ms-href="focusTop.aurl" style="color:#016b96" ms-attr-target="item.atarget">[详细]</a>
                                    </div>
                                </div>
                                <ul class="atrUL">
                                    <li ms-repeat-item="focusList"><a  ms-href="item.aurl" ms-attr-target="item.atarget"><i class="num_bg">{{$index+1}}</i> {{item.Title}}</a><span>{{item.AddTime|truncate(12,' ')}}</span></li>
                                </ul>
                            </div>
                        </div>
                        <div class="clear"></div>
                </td>
                <td style="width:10px;">&nbsp;</td>
                <td style="vertical-align:top;">
                    <table style="width:99.6%;" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td>
                                <div class="module_wrap" style="width:100%;border-top:none;" id="module_report">
                                <div class="moduleDesk" style="clear:left;">
                                    <h3 style="border:none;border-bottom:1px solid #ccc;"><img src="/Content/themes/base/images/ico/module_icon.gif" alt="工作报告">工作报告</h3>
                                </div>
                                <ul class="module_tab">
                                    <li class="current">我的报告</li>
                                    <!--<li>下属报告</li>-->
                                </ul>
                                <div style="clear:left;"></div>
                                <div class="navigator_tool">
                                    <img src="/Content/themes/base/images/ico/write_report.gif" style="vertical-align:middle;">&nbsp;&nbsp;写报告
                                    <span style="margin-left:30px;" ms-click="addReport(1)">日</span>
                                    <span ms-click="addReport(2)">周</span>
                                    <span ms-click="addReport(3)">月</span>
                                    <span ms-click="addReport(4)">季</span>
                                    <span ms-click="addReport(5)">年</span>
                                </div>
                                <ul class="infos" ms-each-item="report">
                                    <li>({{item.ReportTypeId|typeName}})
                                        <a href="javascript:void(0);" ms-click="goto('/Office/DailyReport/'+item.Id+'/view')" ms-title="item.ReportTitle" ms-attr-val="item.Id">{{item.ReportTitle|truncate(16,'')}}</a><span>{{item.AddTime|truncate(10,'')}}</span>
                                    </li>                        
                                </ul>
                                </div>
                            </td>
                            <td style="width:10px;">&nbsp;</td>
                            <td style="width:428px;margin:0;padding:0">
                                <div class="module_wrap" style="width:100%;border-top:none;" id="module_calendar">
                                    <div class="moduleDesk">
                                           <h3 style="border:none;border-bottom:1px solid #ccc;">
                                               <img src="/Content/themes/base/images/ico/module_icon.gif" alt="日程任务">日程任务</h3>
                                    </div>                    
                                     <ul class="module_tab">
                                        <li class="current">最新日程</li>
                                        <!--<li>我的日程</li>
                                        <li>下属日程</li>-->
                                    </ul>
                                    <div style="clear:left;"></div>
                                    <div class="navigator_tool">
                                        <img src="/Content/themes/base/images/ico/write_report.gif" style="vertical-align:middle;">&nbsp;&nbsp;写日程
                                        <span style="margin-left:30px;"  ms-click="goto('/Office/CbCalendar')" >日</span>
                                        <span  ms-click="goto('/Office/CbCalendar')" >周</span>
                                        <span  ms-click="goto('/Office/CbCalendar')" >月</span>
                                    </div>
                                    <ul class="infos" ms-each-item="calendar">
                                        <li><a href='javascript:void(0)' ms-click="goto('/Office/CbCalendar/'+item.Id+'/view')" ms-value="item.Id">{{item.Subject}}</a><span>{{item.AddTime|truncate(10,'')}}</span></li>                     
                                    </ul>
                                </div>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>

    </div>
</div>