<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="eFrameWork.Applicationhui.Default" %>
<%@ Import Namespace="EKETEAM.FrameWork" %>
<%@ Register Src="Menu.ascx" TagName="Menu" TagPrefix="uc1" %><!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!--[if lt IE 9]>
<script type="text/javascript" src="lib/html5shiv.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/<%=Skin%>/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" />
<link rel="stylesheet" type="text/css" href="../Plugins/eMenu/huimenu/style.css" />

<style>
i.fa{width:22px;}
</style>
<!--[if IE 6]>
<script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title><%=eConfig.systemName()%></title>
</head>
<script src="../Scripts/Init.js"></script>
<script>
function setHUISkin(value)
{
	var url= "?act=sethuiskin";
	if(typeof(AppItem)=="string" && AppItem.length > 0){url+="&AppItem=" + AppItem;}else{if(typeof(ModelID)=="string" && ModelID.length > 0){url+="&ModelID=" + ModelID;}}
	url += "&value=" + value;
	url += "&t=" + now(),
	$.ajax({
	type: "GET",
	async: false,
	url: url,
	dataType: "html",
	success: function(data)
	{
	}
	});
};
$(function () {
 
	$("#Hui-skin .dropDown-menu a").click(function(){
		var v = $(this).attr("data-val");		
		$.cookie("Huiskin", v);
		var hrefStr=$("#skin").attr("href");
		var hrefRes=hrefStr.substring(0,hrefStr.lastIndexOf('skin/'))+'skin/'+v+'/skin.css';
		$(window.frames.document).contents().find("#skin").attr("href",hrefRes);
		setHUISkin(v);
	});
	
	
	
});

</script>
<body>
<header class="navbar-wrapper">
	<div class="navbar navbar-fixed-top">
		<div class="container-fluid cl"> <a class="logo navbar-logo f-l mr-10 hidden-xs" href="#"><%=eConfig.systemName()%></a> 
			<span class="logo navbar-slogan f-l mr-10 hidden-xs">&nbsp;</span>
			<nav class="nav navbar-nav">
				<ul class="cl">		
                    <%=appNames %>
				</ul>
		</nav>
		<nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
			<ul class="cl">
				<li class="dropDown dropDown_hover">
					<a href="javascript:;" class="dropDown_A"><%=user["Name"] %> <i class="Hui-iconfont">&#xe6d5;</i></a>
					<ul class="dropDown-menu menu radius box-shadow">
						<li><a href="LoginOut.aspx">切换账户</a></li>
                        <li><a href="javascript:;" data-title="修改密码" data-href="ModifyPass.aspx?AppItem=<%=appmenu.ApplicationItemID %>">修改密码</a></li>
						<li><a href="LoginOut.aspx">退出登录</a></li>
				</ul>
			</li>

				<li id="Hui-skin" class="dropDown right dropDown_hover"> <a href="javascript:;" class="dropDown_A" title="换肤"><i class="Hui-iconfont" style="font-size:18px">&#xe62a;</i></a>
					<ul class="dropDown-menu menu radius box-shadow">
						<li><a href="javascript:;" data-val="default" title="默认（黑色）">默认（黑色）</a></li>
						<li><a href="javascript:;" data-val="blue" title="蓝色">蓝色</a></li>
						<li><a href="javascript:;" data-val="green" title="绿色">绿色</a></li>
						<li><a href="javascript:;" data-val="red" title="红色">红色</a></li>
						<li><a href="javascript:;" data-val="yellow" title="黄色">黄色</a></li>
						<li><a href="javascript:;" data-val="orange" title="橙色">橙色</a></li>
					</ul>
				</li>
			</ul>
		</nav>
	</div>
</div>
</header>



<aside id="Hui-aside" class="Hui-aside">
	<div class="menu_dropdown bk3_2">
    <uc1:Menu ID="Menu1" runat="server" />	
	</div>
</aside>
<div class="dislpayArrow hidden-xs"><a class="pngfix" href="javascript:void(0);" onClick="displaynavbarNew(this)"></a></div>
<section class="Hui-article-box">
	<div id="Hui-tabNav" class="Hui-tabNav hidden-xs">
		<div class="Hui-tabNav-wp">
			<ul id="min_title_list" class="acrossTab cl">
                <%=toptab %>
                 <%if(1==2){ %>
				<li class="active">
					<span title="我的桌面" data-href="Home.aspx">我的桌面</span>
					<em></em></li>
                 <%} %>

		</ul>
	</div>
		<div class="Hui-tabNav-more btn-group"><a id="js-tabNav-prev" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d4;</i></a><a id="js-tabNav-next" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d7;</i></a></div>
</div>
	<div id="iframe_box" class="Hui-article">
	 <%=topframe %>
	 <%if(1==2){ %>
		<div class="show_iframe" sty3le="margin-left:10px;">
			<div style="display:none" class="loading"></div> 
			<iframe scrolling="yes" frameborder="0" src="Home.aspx"></iframe>           
	</div>
	 <%} %>
</div>
</section>


<div class="contextMenu" id="Huiadminmenu">
	<ul>
		<li id="closethis">关闭当前 </li>
		<li id="closeall">关闭全部 </li>
</ul>
</div>

<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script><!-- 172行:ct<2代表同一页面可以打开两次,如果只能打开一次请修改成1 --> <!--/_footer 作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="lib/jquery.contextmenu/jquery.contextmenu.r2.js"></script>

<script>
    function init() {
        var keyevent = new eKeyEvent();
        keyevent.onkeydown = function () {
            if (this.keyCode == 116) {
                keyevent.clearEvent = true;
                
                //Search();
            }
        };
    }
    if (window.addEventListener) { window.addEventListener("load", init, false); } else { window.attachEvent("onload", init); }
</script>
</body>
</html>