admin.jsp 6.76 KB
Newer Older
1
<%@ include file="/WEB-INF/jsp/init.jsp" %>
Matija Obreza's avatar
Matija Obreza committed
2 3 4 5 6

<!DOCTYPE html>

<html lang="${pageContext.response.locale.language}" dir="${pageContext.response.locale.language=='fa' || pageContext.response.locale.language=='ar' ? 'rtl' : 'ltr'}"
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:schema="http://schema.org/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dwc="http://rs.tdwg.org/dwc/terms/"
Matija Obreza's avatar
Matija Obreza committed
7
	xmlns:germplasm="http://purl.org/germplasm/germplasmTerm#" xmlns:germplasmType="http://purl.org/germplasm/germplasmType#">
Matija Obreza's avatar
Matija Obreza committed
8 9 10 11 12 13
<head>
<title><sitemesh:write property="title" /></title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="language" content="${pageContext.response.locale.language}" />
14
<meta name="robots" content="noindex, nofollow" />
Matija Obreza's avatar
Matija Obreza committed
15 16 17 18 19 20 21 22 23 24 25

<!-- CSRF protection-->
<meta name="_csrf" content="${_csrf.token}" />
<!-- default header name is X-CSRF-TOKEN -->
<meta name="_csrf_header" content="${_csrf.headerName}" />

<!-- Links -->
<link rel="shortcut icon" href="<c:url value="/html/0/images/genesys.png" />" />

<!-- opensearch.org -->
<link rel="search" hreflang="${pageContext.response.locale.language}" type="application/opensearchdescription+xml" href="<c:url value="/acn/opensearch/desc" />"
Matija Obreza's avatar
Matija Obreza committed
26
	title="<spring:message code="search.input.placeholder" />" />
Matija Obreza's avatar
Matija Obreza committed
27 28 29 30 31 32 33 34 35 36 37 38 39

<!-- l10n -->
<link rel="alternate" hreflang="en" href="<c:url value="/en${pageContext.request.getAttribute('org.genesys2.server.servlet.filter.LocaleURLFilter.INTERNALURL')}" />" />
<link rel="alternate" hreflang="ar" href="<c:url value="/ar${pageContext.request.getAttribute('org.genesys2.server.servlet.filter.LocaleURLFilter.INTERNALURL')}" />" />
<link rel="alternate" hreflang="de" href="<c:url value="/de${pageContext.request.getAttribute('org.genesys2.server.servlet.filter.LocaleURLFilter.INTERNALURL')}" />" />
<link rel="alternate" hreflang="es" href="<c:url value="/es${pageContext.request.getAttribute('org.genesys2.server.servlet.filter.LocaleURLFilter.INTERNALURL')}" />" />
<link rel="alternate" hreflang="fa" href="<c:url value="/fa${pageContext.request.getAttribute('org.genesys2.server.servlet.filter.LocaleURLFilter.INTERNALURL')}" />" />
<link rel="alternate" hreflang="fr" href="<c:url value="/fr${pageContext.request.getAttribute('org.genesys2.server.servlet.filter.LocaleURLFilter.INTERNALURL')}" />" />
<link rel="alternate" hreflang="pt" href="<c:url value="/pt${pageContext.request.getAttribute('org.genesys2.server.servlet.filter.LocaleURLFilter.INTERNALURL')}" />" />
<link rel="alternate" hreflang="ru" href="<c:url value="/ru${pageContext.request.getAttribute('org.genesys2.server.servlet.filter.LocaleURLFilter.INTERNALURL')}" />" />
<link rel="alternate" hreflang="zh" href="<c:url value="/zh${pageContext.request.getAttribute('org.genesys2.server.servlet.filter.LocaleURLFilter.INTERNALURL')}" />" />

<!-- Custom styles for this template -->
40
<%@ include file="css.jsp" %>
Matija Obreza's avatar
Matija Obreza committed
41 42 43 44 45 46 47 48 49 50 51 52 53 54

<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
	  <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
	  <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
	<![endif]-->

<sitemesh:write property="head" />
<meta name="author" content="Global Crop Diversity Trust" />
</head>

<security:authentication var="user" property="principal" />

<body>
55
	<%@ include file="header.jsp" %>
Matija Obreza's avatar
Matija Obreza committed
56 57 58 59 60 61 62 63 64 65

	<nav class="navbar navbar-default navbar-inverse navbar-fixed-top">
		<div class="container-fluid">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-admin" 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>
Matija Obreza's avatar
Matija Obreza committed
66
				<a class="navbar-brand" href="<c:url value="/1/admin/" />"> <spring:message code="page.home.title" />
Matija Obreza's avatar
Matija Obreza committed
67 68 69 70 71
				</a>
			</div>
			<div id="navbar-admin" class="collapse navbar-collapse">
				<ul class="nav navbar-nav">
					<li class="hidden-sm">
Matija Obreza's avatar
Matija Obreza committed
72
						<a href="<c:url value="/1/welcome" />" title="<spring:message code="menu.home" />"> <spring:message code="menu.home" />
Matija Obreza's avatar
Matija Obreza committed
73 74 75
						</a>
					</li>
					<li>
Matija Obreza's avatar
Matija Obreza committed
76
						<a class="" href="<c:url value="/1/admin/cache/" />"> <spring:message code="menu.admin.caches" />
Matija Obreza's avatar
Matija Obreza committed
77 78 79
						</a>
					</li>
					<li class="dropdown">
Matija Obreza's avatar
Matija Obreza committed
80
						<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> <spring:message code="menu.admin.usermanagement" /> <span class="caret"></span>
Matija Obreza's avatar
Matija Obreza committed
81 82 83
						</a>
						<ul class="dropdown-menu pull-left">
							<li>
Matija Obreza's avatar
Matija Obreza committed
84
								<a href="<c:url value="/1/admin/users/" />"> <spring:message code="user.pulldown.users" />
Matija Obreza's avatar
Matija Obreza committed
85 86 87
								</a>
							</li>
							<li>
Matija Obreza's avatar
Matija Obreza committed
88
								<a href="<c:url value="/1/admin/teams/" />"> <spring:message code="user.pulldown.teams" />
Matija Obreza's avatar
Matija Obreza committed
89 90 91 92
								</a>
							</li>
						</ul>
					</li>
Matija Obreza's avatar
Matija Obreza committed
93
					<li class="dropdown">
Matija Obreza's avatar
Matija Obreza committed
94
						<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> <spring:message code="menu.admin.repository" /> <span class="caret"></span>
Matija Obreza's avatar
Matija Obreza committed
95
						</a>
Matija Obreza's avatar
Matija Obreza committed
96 97
						<ul class="dropdown-menu pull-left">
							<li>
Matija Obreza's avatar
Matija Obreza committed
98
								<a href="<c:url value="/1/admin/r/files/" />"> <spring:message code="menu.admin.repository.files" />
Matija Obreza's avatar
Matija Obreza committed
99 100 101
								</a>
							</li>
							<li>
Matija Obreza's avatar
Matija Obreza committed
102
								<a href="<c:url value="/1/admin/r/g" />"> <spring:message code="menu.admin.repository.galleries" />
Matija Obreza's avatar
Matija Obreza committed
103 104 105
								</a>
							</li>
						</ul>
Matija Obreza's avatar
Matija Obreza committed
106
					</li>
Matija Obreza's avatar
Matija Obreza committed
107
					<li>
Matija Obreza's avatar
Matija Obreza committed
108
						<a class="" href="<c:url value="/1/admin/logger/" />"> <spring:message code="menu.admin.loggers" />
Matija Obreza's avatar
Matija Obreza committed
109 110 111
						</a>
					</li>
					<li>
Matija Obreza's avatar
Matija Obreza committed
112
						<a class="" href="<c:url value="/1/admin/ds2/" />"> <spring:message code="menu.admin.ds2" />
Matija Obreza's avatar
Matija Obreza committed
113 114 115
						</a>
					</li>
					<li>
Matija Obreza's avatar
Matija Obreza committed
116
						<a class="" href="<c:url value="/1/admin/kpi/" />"> <spring:message code="menu.admin.kpi" />
Matija Obreza's avatar
Matija Obreza committed
117 118 119
						</a>
					</li>
				</ul>
Matija Obreza's avatar
Matija Obreza committed
120
				<ul class="nav navbar-nav navbar-right">
121
					<%@ include file="languages.jspf" %>
Matija Obreza's avatar
Matija Obreza committed
122
				</ul>
Matija Obreza's avatar
Matija Obreza committed
123 124 125 126 127 128 129 130 131 132 133
			</div>
		</div>
	</nav>

	<!-- Begin page content -->
	<div id="content" class="<sitemesh:write property="body.class" />">
		<div class="container-fluid">
			<div id="content-header" class="row">
				<sitemesh:write property="page.header" />
			</div>
			<div id="content-body" class="">
Matija Obreza's avatar
Matija Obreza committed
134 135 136 137 138
				<div class="row">
					<h1 class="col-xs-12 page-title">
						<sitemesh:write property="title" />
					</h1>
				</div>
Matija Obreza's avatar
Matija Obreza committed
139 140 141 142 143 144 145 146
				<div id="dialog" class="row"></div>
				<div id="content-body-content" class="" typeof="<sitemesh:write property="body.typeof" />">
					<sitemesh:write property="body" />
				</div>
			</div>
		</div>
	</div>

147
	<%@ include file="footer.jsp" %>
Matija Obreza's avatar
Matija Obreza committed
148
	<sitemesh:write property="page.javascript" />
149
	<%@ include file="ga.jsp" %>
Matija Obreza's avatar
Matija Obreza committed
150 151
</body>
</html>