123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- @using Bowin.Web.Controls.Mvc;
- @using EMISOnline.Web.Controls;
- @using Bowin.Common;
- @{
- Layout = "~/Views/Shared/_FrameLayout.cshtml";
- List<string> lurl = new List<string>();
- lurl.Add("Content/");
- lurl.Add("Doc/");
- lurl.Add("Scripts/");
- lurl.Add("Login/");
- lurl.Add("UploadFile/");
- lurl.Add("Account/ChangePassword");
- FormsAuthenticationHelper fahelper = new FormsAuthenticationHelper();
- var cookieName = EMISOnline.Utility.Const.LOCAL_SETTING_LOGIN_COOKIENAME;
- fahelper.AuthenticateRequest(HttpContext.Current, cookieName, lurl);
- }
- @section scripts{
- <script type="text/javascript">
- $(function () {
- $(".easyui-tree").tree('collapseAll');
- $.System.addTab('首页', '@Url.Content("~/Home/Main")', 'Main', false);
- });
- function changePassword() {
- $.System.addTab('修改密码', '@Url.Content("~/Account/ChangePassword")', 'ChangePassword', false);
- }
- // function refreshTab(title, index) {
- // var tab = $('#index_center_tabs').tabs('getTab', index);
- // var $iframe = tab.panel('body').find("iframe");
- // var isFirstLoad = false;
- // if ($iframe[0].contentWindow.location.href != "about:blank") {
- // $.each(IndexTabStatus, function (i, v) {
- // if (v.index == index && v.firstLoad) {
- // isFirstLoad = true;
- // v.firstLoad = false;
- // return false;
- // }
- // });
- // if (!isFirstLoad) {
- // $iframe[0].contentWindow.location.reload();
- // }
- // }
- // }
- </script>
- }
- <div data-options="region:'north',title:'',split:false, border:false" class="index_top_banner">
- <div class="index_top_bg">
- <div id="index_top" class="index_top_left">
- <img src="@Url.Content("~/controls/handler/imagereader.ashx?key=HomeLogo")" />
- </div>
- <div id="divCurrentInformation">
- 当前用户:@(((EMISOnline.Utility.FormValidate.CustomPrincipal)Context.User).LoginID + "-" + ((EMISOnline.Utility.FormValidate.CustomPrincipal)Context.User).Name + (((EMISOnline.Utility.FormValidate.CustomPrincipal)Context.User).IsStudent ? "同学" : "老师")) @Html.SystemClock(new SystemClockOptions { IsJump = true })
- @*Html.ActionLink("退出系统", "LogOff", "Account")*@
- </div>
- <div style="float: right; padding-right: 30px; padding-top: 40px;">
- <a href="javascript:changePassword()" style="z-index: 99999;">
- <img border="0" title="修改密码" src="@Url.Content("~/Content/Bowin.Control.Core/images/h_lock.jpg")" /></a>
- <a href="@Url.Content("~/Account/LogOff")" style="z-index: 99999;">
- <img border="0" title="退出" src="@Url.Content("~/Content/Bowin.Control.Core/images/h_logout.jpg")" /></a>
- </div>
- </div>
- </div>
- <div id="index_left" class="index_left_bg" data-options="region:'west',title:' 34343',split:false,tools:'#tab-tools'"
- style="width: 150px;">
-
- @*<div id="tab-tools" class="index_left_tree_bg">
- <a href="javascript:void();" class="easyui-linkbutton" plain="true" iconCls="icon-home" style="width:60px; margin-top:-5px;" onclick="javascript:$.System.addTab('首页','@Url.Content("~/Home/Main")','Main', false)">首页</a>
- </div>*@
- </div>
- <div region="center" border="true" title="" class="index_center_bg">
- <div id="index_center" class="easyui-panel" data-options="border:false,fit:true">
- <div id="index_center_tabs" class="easyui-tabs" data-options="border:false,fit:true">
- </div>
- </div>
- <div id="index_main" class="easyui-layout" data-options="border:false,fit:true">
- <div data-options="region:'center',border:false">
- </div>
- </div>
- </div>
- <div id="index_bottom" class="index_bottom_bg" region="south" border="true" title="">
- <div style="float: left; width: 60%; text-align: center; white-space: nowrap;">
- 教育部中央教育科学研究所高等教育研究中心监制</div>
- <div style="float: right; width: 40%; text-align: center; white-space: nowrap;">
- <a href="http://www.bowintek.com" target="_blank">Copyright 2016 广州市博颖信息科技有限公司</a></div>
- </div>
- <div id="sysWindow">
- </div>
|