index.jsp 1.28 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
<!DOCTYPE html>

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

<html>
<head>
    <title><spring:message code="sample.message.index.title"/></title>
    <%@include file="handelbars-scripts.jsp" %>

    <script type="">
        //Actions dockbar for data-table
        var mRenderFn = Handlebars.compile($("#editLink").html());

        //setup locales
        Globalize.addCultureInfo("<c:out value="${locale}" default="en"/>", {
            messages: {
                "sample.js.message.confirm.deleting": "<spring:message code="sample.js.message.confirm.deleting"/>",
                "sample.js.error.delete": "<spring:message code="sample.js.error.delete"/>",
                "sample.js.error.retrieve": "<spring:message code="sample.js.error.retrieve"/>",
                "sample.js.error.update": "<spring:message code="sample.js.error.update"/>"
            }
        });
    </script>

    <%@include file="index-user-js.jsp"%>
</head>
<body>

        <table id="jqTable" class="table table-bordered table-striped"></table>

        <%--<security:authorize access="hasAnyRole('ADMINISTRATOR,,NETWORK_ADMINISTRATOR')">--%>
        <div>
            <input type="button" value="<spring:message code="sample.message.add"/>" class="edit btn" data-id="0">
        </div>
        <%--</security:authorize>--%>

</body>
</html>