c7ee9f7ab04b28ac55bb7cc5ad5ddd323d825069
[vfc/nfvo/wfengine.git] / winery / org.eclipse.winery.repository / src / main / webapp / jsp / admin / adminindex.jsp
1 <%--
2 /*******************************************************************************
3  * Copyright (c) 2012-2013 University of Stuttgart.
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * and the Apache License 2.0 which both accompany this distribution,
7  * and are available at http://www.eclipse.org/legal/epl-v10.html
8  * and http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Contributors:
11  *    Oliver Kopp - initial API and implementation and/or initial documentation
12  *******************************************************************************/
13 --%>
14 <%@taglib prefix="t" tagdir="/WEB-INF/tags" %>
15 <%@page import="org.eclipse.winery.repository.resources.SubMenuData"%>
16
17 <%
18 java.util.List<SubMenuData> subMenus = new java.util.ArrayList<SubMenuData>();
19
20 SubMenuData data;
21
22 data = new SubMenuData("#namespaces", "Namespaces");
23 subMenus.add(data);
24
25 data = new SubMenuData("#repository", "Repository");
26 subMenus.add(data);
27
28 data = new SubMenuData("#planlanguages", "Plan Languages");
29 subMenus.add(data);
30
31 data = new SubMenuData("#plantypes", "Plan Types");
32 subMenus.add(data);
33
34 data = new SubMenuData("#constrainttypes", "Constraint Types");
35 subMenus.add(data);
36 %>
37
38 <%-- TODO: do not use componentinstance, but introduce a layer inbetween componentinstance.tag and genericpage.tag --%>
39
40 <t:componentinstance windowtitle="Admin" cssClass="mainContentContainer admin" selected="admin" subMenus="<%=subMenus%>">
41 </t:componentinstance>