index.jsp 2.33 KB
Newer Older
Matija Obreza's avatar
Matija Obreza committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>

<%@include file="../init.jsp"%>

<html>
<head>
    <%@include file="../head-init.jsp"%>

    <title><spring:message code="sample.message.index.title"/></title>

    <link type="text/css" href="/html/css/jquery-ui.css" rel="stylesheet"/>
    <link type="text/css" href="/html/css/jquery.dataTables.css" rel="stylesheet"/>

    <%--Fallback for older browsers--%>
    <script type="text/javascript" src="/html/js/json2.js"></script>

    <script type="text/javascript" src="/html/js/globalize.js"></script>
    <script type="text/javascript" src="/html/js/jquery-ui.min.js"></script>
    <script type="text/javascript" src="/html/js/jquery.dataTables.js"></script>
    <script type="text/javascript" src="/html/js/handlebars.js"></script>
    <script type="text/javascript" src="/html/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="/html/js/main.js"></script>

</head>
<body>
    <div class="container">
    <div id="header">
        <div class="page-header clearfix">

            <h4 class="pull-left"><spring:message code="sample.message.welcome"/></h4>

            <div class="navbar pull-right">
            <div class="nav-collapse">
                <ul class="nav">
                    <li class="dropdown">
                        <a class="dropdown-toggle" data-toggle="dropdown" title="<spring:message code="sample.message.change.locale"/>">
                            <spring:message code="sample.message.current.locale"/>
                            <b class="caret"></b>
                        </a>
                        <ul class="dropdown-menu">
                            <li><a href="?lang=en"><spring:message code="sample.message.locale.en"/></a></li>
                            <li><a href="?lang=ru"><spring:message code="sample.message.locale.ru"/></a></li>
                        </ul>
                    </li>
                </ul>
            </div>
            </div>
        </div>
    </div>

    <div id="content">
        <div class="page-header">
            <a id="show-users" href="#" class="btn">Users</a>
        </div>

        <div id="dialog"></div>

        <c:forEach items="${descriptors}" var="descriptor" varStatus="status">
	        <h3><c:out value="${descriptor.name}" /></h3>
	        <p><c:out value="${descriptor.description}" /></p>
        </c:forEach>

    </div>
    </div>
</body>
</html>