| 27 <%@page pageEncoding="UTF-8" session="true" %> |
27 <%@page pageEncoding="UTF-8" session="true" %> |
| 28 <%@page import="de.uapcore.lightpit.Constants" %> |
28 <%@page import="de.uapcore.lightpit.Constants" %> |
| 29 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
29 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
| 30 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
30 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
| 31 |
31 |
| 32 <%-- TODO: a lot of work --%> |
32 <h2><fmt:message key="section.modlist.title"/></h2> |
| 33 <table> |
33 <table class="datatable"> |
| 34 <tr> |
34 <tr> |
| 35 <th>Module</th> |
35 <th class="hcenter"><fmt:message key="caption.active" /></th> |
| 36 <th>Path</th> |
36 <th><fmt:message key="caption.module" /></th> |
| 37 <th>Description</th> |
37 <th><fmt:message key="caption.path" /></th> |
| 38 <th>Active</th> |
38 <th><fmt:message key="caption.desc" /></th> |
| 39 <th>Class</th> |
39 <th><fmt:message key="caption.class" /></th> |
| 40 <th>Resource Bundle</th> |
40 <th><fmt:message key="caption.bundle" /></th> |
| 41 </tr> |
41 </tr> |
| 42 <c:forEach items="${modules}" var="module"> |
42 <c:forEach items="${modules}" var="module"> |
| 43 <tr> |
43 <tr> |
| 44 <td>${module.annotatedInfos.nameKey}</td> |
44 <td class="hcenter">${module.visible}</td> |
| 45 <td>${module.annotatedInfos.modulePath}</td> |
45 <fmt:bundle basename="${module.annotatedInfos.bundleBaseName}"> |
| 46 <td>${module.annotatedInfos.descKey}</td> |
46 <td class="nowrap"><fmt:message key="${module.annotatedInfos.nameKey}" /></td> |
| 47 <td align="center">${module.visible}</td> |
47 <td>/${module.annotatedInfos.modulePath}</td> |
| 48 <td>${module.classname}</td> |
48 <td><fmt:message key="${module.annotatedInfos.descKey}" /></td> |
| 49 <td>${module.annotatedInfos.bundleBaseName}</td> |
49 <td class="smalltext">${module.classname}</td> |
| |
50 <td class="smalltext">${module.annotatedInfos.bundleBaseName}</td> |
| |
51 </fmt:bundle> |
| 50 </tr> |
52 </tr> |
| 51 </c:forEach> |
53 </c:forEach> |
| 52 </table> |
54 </table> |