<%@ page language="java" session="false"
		 contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><!DOCTYPE html>
<%
	List<RuleTarget> targets = new ArrayList<>(RulesEnvironment.get().getTargets(ContractsFilteringCategories.MODEL_CONTRACT));
%>
<head>
	<title>Правила договоров - документация</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link rel="stylesheet" type="text/css" href="../rest-docs/lib/bootstrap.css" />
	<link rel="stylesheet" type="text/css" href="jquery-ui.css" />
	<%--<link rel="stylesheet" href="../rest-docs/lib/codemirror/codemirror.css">--%>
	<%--<link rel="stylesheet" href="../rest-docs/lib/codemirror/fold/foldgutter.css">--%>
	<%--<script src="../rest-docs/lib/codemirror/codemirror.js"></script>--%>
	<%--<script src="../rest-docs/lib/codemirror/fold/foldcode.js"></script>--%>
	<%--<script src="../rest-docs/lib/codemirror/fold/foldgutter.js"></script>--%>
	<%--<script src="../rest-docs/lib/codemirror/fold/brace-fold.js"></script>--%>
	<%--<script src="../rest-docs/lib/codemirror/fold/xml-fold.js"></script>--%>
	<%--<script src="../rest-docs/lib/codemirror/fold/comment-fold.js"></script>--%>
	<%--<script src="../rest-docs/lib/codemirror/javascript.js"></script>--%>
	<script src="jquery.js"></script>
	<script src="jquery-ui.js"></script>
	<script src="rules-docs.js"></script>
	<script>
		var targetsIds = [
			<%
            int n = 0;
            for (RuleTarget rt : targets) {
                if(n >0){
            %>
			,
			<%
            }
            %>
			"<%=rt.getId().replace("\"","_").replace(" ","_")%>"
			<%
            n++;
            }
            %>
		]
	</script>
</head>

<body style="padding-top: 10px">
	<div class="container-fluid">
		<div class="row-fluid" >
			<div class="span3">
				<%@ include file="left.jspf"%>
			</div>
			<div class="span9" id="content-pane">
				<!-- content start -->
				Документация по правилам начисления комиссий и сборов
				<!-- content end -->
			</div>
		</div>
	</div>
</body>

</html>