<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="common/init.jsp"%>
<!DOCTYPE html>
<html lang="zh-CN" id="ng-app" ng-app="qrzk"  >
<head>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="fragment" content="!">
  <title>卷库管理系统</title>
  <link rel="stylesheet" type="text/css" href="${ctx}/resources/css/app/bootstrap.min.css">
  <link rel="stylesheet" type="text/css" href="${ctx}/resources/css/app/app.css">
  <link rel="stylesheet" href="${ctx}/resources/css/app/font-awesome.min.css" type="text/css" />
  <link rel="stylesheet" href="${ctx}/resources/css/app/simple-line-icons.css" type="text/css" />
  <link rel="stylesheet" href="${ctx}/resources/css/app/font.css" type="text/css" />
  <link rel="stylesheet" href="${ctx}/resources/css/app/animate.css" type="text/css" />
  <link rel="stylesheet" type="text/css" href="${ctx}/resources/css/app/select.min.css">
  <link rel="stylesheet" type="text/css" href="${ctx}/resources/css/app/angular-busy.min.css">
  <link rel="stylesheet" type="text/css" href="${ctx}/resources/css/app/xeditable.css">
  <link rel="stylesheet" type="text/css" href="${ctx}/resources/css/app/bootstrap-additions.min.css">
  <link rel="stylesheet" type="text/css" href="${ctx}/resources/css/app/angular-motion.min.css">
  <link rel="stylesheet" type="text/css" href="${ctx}/resources/css/app/angular-toaster.min.css">
  
  <style type="text/css">
    html{
      /**background: url('images/login_bg2.gif');**/
      background-color: #fafafa;
    }
    .navbar-inverse {
  background-image: none;
  background-color: #1199c4;
  /*box-shadow: 0 1px 15px rgba(0,0,0,.2);*/
  float: left;
}
	.navbar-inverse .navbar-brand{
		color:#fff;
	}
	.navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:focus, .navbar-inverse .navbar-nav>.open>a:hover {
		color:#555;
		background-color: #fff;
	}
	.content{
		top:100px;
		position: absolute;
		bottom:0;
		left:50px;
		right:0;
		z-index:980;
		overflow: auto;
	}
	.table td.clip{
		text-overflow:ellipsis;
		overflow: hidden;
		white-space:nowrap;
	}
  	.h1,.h2,.h3,h4,h5,h6,.navbar-nav,.breadcrumb{
      font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", STHeiti, "Microsoft YaHei";
      
    }
    .st-sort-ascent:before{
    content: '\25B2';
  }

  .st-sort-descent:before{
    content: '\25BC';
  }
  .req{
  	color:red;
  }
  .ngscroll-content-container{
  	width:100%;
  }
  
  .panel.mg{
  
  	margin-top:8px;
  	margin-left:8px;
  	margin-right:8px;
  }
	.supply-table{
		border-spacing: 0;
   		border-collapse: collapse;
	}
	.supply-table td,.supply-table th{
		border:solid 1px #eee;
		border-width:thin;
	}
	.supply-table th{
		text-align: center;
		color:#777;
	}
	.supply-table td a{
		color:#337ab7;
		padding:0 3px;
	}
	.supply-table tr:hover{
		background-color: #ecfbff;
	}
		.paper-table{
		border-spacing: 0;
   		border-collapse: collapse;
	}
	.paper-table td,.paper-table th{
		border:solid 1px #eee;
		border-width:thin;
		text-align: center;
	}
	.paper-table th{
		color:#777;
	}
	.paper-table td a{
		color:#337ab7;
		padding:0 3px;
	}
	.paper-table tr:hover{
		background-color: #ecfbff;
	}
	
	
	.btn-mark{
		float:right;
		margin-right:30px;
	}
	.btn-mark a{
	
		padding:0 10px;
	}
	.breadcrumb>li+li.btn-mark:before {
		content:'';
	}
	
	.am-short {
	  -webkit-animation-duration: 0.3s;
	  -webkit-animation-delay: 0s;
	}
  </style>
  <!--[if lte IE 8]
<script src="js/json2.js"></script>
<![endif]-->

<!-- lib js -->
<script src="${ctx}/resources/js/lib/jquery.min.js"></script>
<script src="${ctx}/resources/js/lib/angular.min.js"></script>
<script src="${ctx}/resources/js/lib/angular-resource.min.js"></script>
<script src="${ctx}/resources/js/lib/angular-cookies.min.js"></script>
<script src="${ctx}/resources/js/lib/angular-animate.min.js"></script>
<script src="${ctx}/resources/js/lib/angular-locale_zh-ch.js"></script>
<script src="${ctx}/resources/js/lib/angular-ui-router.min.js"></script>
<script src="${ctx}/resources/js/lib/angular-file-upload.min.js"></script>
<script src="${ctx}/resources/js/lib/angular-busy.min.js"></script>
<script src="${ctx}/resources/js/lib/angular-xeditable.min.js"></script>
<script src="${ctx}/resources/js/lib/angular-strap.min.js"></script>
<script src="${ctx}/resources/js/lib/angular-strap.tpl.min.js"></script>
<script src="${ctx}/resources/js/lib/select.min.js"></script>
<script src="${ctx}/resources/js/lib/smart-table.min.js"></script>
<script src="${ctx}/resources/js/lib/ngscrollbar.js"></script>
<script src="${ctx}/resources/js/lib/underscore.min.js"></script>
<script src="${ctx}/resources/js/lib/bootstrap.min.js"></script>
<script src="${ctx}/resources/js/lib/angular-toaster.min.js"></script>
<script src="${ctx}/resources/js/lib/angular-breadcrumb.min.js"></script>

<script src="${ctx}/resources/js/highcharts.js"></script>
<script src="${ctx}/resources/js/data.js"></script>

<!-- 全局设置，路由 -->
<script src="${ctx}/resources/js/app/service.js"></script>
<script src="${ctx}/resources/js/app/config.js"></script>
<script src="${ctx}/resources/js/app/config-batch-use.js"></script>

<!-- app js -->
<script src="${ctx}/resources/js/app/filters.js"></script>
<script src="${ctx}/resources/js/app/directives.js"></script>

<!-- controller js -->
<script src="${ctx}/resources/js/app/controller.js"></script>
<!-- 备份还原、密码本管理 -->
<script src="${ctx}/resources/js/app/controller-settings.js"></script>
<!-- 供卷 -->
<script src="${ctx}/resources/js/app/controller-batch-supply.js"></script>
<!-- 启用 -->
<script src="${ctx}/resources/js/app/controller-batch-use.js"></script>
<!-- 用户管理 -->
<script src="${ctx}/resources/js/app/controller-user.js"></script>
<script src="${ctx}/resources/js/app/controller-confidential.js"></script>
<!--<script src="${ctx}/resources/js/app/controller-paper-analysis.js"></script>-->
</head>
<body ng-controller="RootCtrl" >
<nav class="navbar navbar-fixed-top navbar-inverse">
      <div class="container-fluid">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand h1" href="#home">自学考试命题电子工作平台</a><span class="text-xlg text-light">{{appTitle}}</span>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
        
          <ul class="nav navbar-nav navbar-right">
            <li><a target="_blank" href="#"><span class="glyphicon glyphicon-user" aria-hidden="true"></span> ${user.name }</a></li>
        <li class="dropdown" ng-if="userMarks.length > 0">
            <a href="" class="dropdown-toggle" data-toggle="dropdown">
              <i class="icon icon-star"></i>
              <span>书签</span> <span class="caret"></span>
            </a>
            <ul class="dropdown-menu" role="menu">
              <li ng-repeat="m in userMarks"><a href="{{'#'+m.url}}" >{{m.name}}</a></li>
              
            </ul>
          </li>
        <li><a href="${ctx }/j_spring_security_logout"><span class="glyphicon glyphicon-off" aria-hidden="true"></span> 退出</a></li>
          </ul>
          
        </div>
      </div><!-- /.container -->
    </nav><!-- /.navbar -->
	<toaster-container></toaster-container>
	<div ncy-breadcrumb></div>
	<div ng-if="$state.$current.name != 'home'" style="font-size:14px;position: fixed;top:55px;right:30px;z-index:999;padding:8px 0">
		<a ng-click="showModal()" >
			<i class="icon icon-star"></i>
        	收藏本页
        </a>
	</div>
	<div style="font-size:14px;position: fixed;top:55px;right:130px;z-index:999;padding:8px 0">
		<a ng-click="showChangePasswordModal()" >
			<i class="icon icon-lock"></i>
        	修改密码
        </a>
	</div>
<div class="sidemenu bg-dark" style="width:50px;" >
	<div class="sidemenu-wrap">
		<ul class="nav">
			<li><a ui-sref="home" class="bg-dark lter" >
				<i class="icon icon-home"></i>
			</a></li>
			<li ng-repeat="m in menus" ng-class="{'active':$state.includes(m.top)}" ng-show="!m.ngShow || m.ngShow == appType">
				<a ui-sref="{{m.state}}" data-title="{{m.title}}" data-animation="am-flip-x" data-placement="right"  bs-tooltip >      
			      <i class="{{m.icon}}" ></i>
			    </a>
			</li>
    		
    	</ul>
	</div>
</div>
<div class="container-fluid content">
	<div class="row">
	
	
	<div ui-view ></div>
	</div>
    
</div>
</body>
</html>
