Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Genesys Backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
18
Issues
18
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Genesys PGR
Genesys Backend
Commits
6a3bdf93
Commit
6a3bdf93
authored
Aug 29, 2013
by
Matija Obreza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sitemesh3
parent
da52b1a1
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
98 additions
and
115 deletions
+98
-115
pom.xml
pom.xml
+5
-0
src/main/webapp/WEB-INF/decorator/main.jsp
src/main/webapp/WEB-INF/decorator/main.jsp
+77
-0
src/main/webapp/WEB-INF/jsp/dataset/index.jsp
src/main/webapp/WEB-INF/jsp/dataset/index.jsp
+2
-51
src/main/webapp/WEB-INF/jsp/head-init.jsp
src/main/webapp/WEB-INF/jsp/head-init.jsp
+0
-14
src/main/webapp/WEB-INF/jsp/index.jsp
src/main/webapp/WEB-INF/jsp/index.jsp
+0
-49
src/main/webapp/WEB-INF/sitemesh3.xml
src/main/webapp/WEB-INF/sitemesh3.xml
+5
-0
src/main/webapp/WEB-INF/web.xml
src/main/webapp/WEB-INF/web.xml
+9
-1
No files found.
pom.xml
View file @
6a3bdf93
...
...
@@ -354,6 +354,11 @@
<artifactId>
opencsv
</artifactId>
<version>
2.3
</version>
</dependency>
<dependency>
<groupId>
org.sitemesh
</groupId>
<artifactId>
sitemesh
</artifactId>
<version>
3.0-alpha-2
</version>
</dependency>
</dependencies>
<build>
...
...
src/main/webapp/WEB-INF/decorator/main.jsp
0 → 100644
View file @
6a3bdf93
<%@include
file=
"/WEB-INF/jsp/init.jsp"
%>
<html>
<head>
<title><sitemesh:write
property=
"title"
/></title>
<%@include
file=
"/WEB-INF/jsp/head-init.jsp"
%>
<meta
charset=
"utf-8"
>
<%--Locked Compatible Mode for IE--%>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<meta
name=
"description"
content=
""
>
<meta
name=
"viewport"
content=
"width=device-width"
>
<link
type=
"text/css"
href=
"/html/css/bootstrap.css"
rel=
"stylesheet"
/>
<link
type=
"text/css"
href=
"/html/css/custom.css"
rel=
"stylesheet"
/>
<script
type=
"text/javascript"
src=
"/html/js/jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"/html/js/modernizr-2.6.2.min.js"
></script>
<script
type=
"text/javascript"
src=
"/html/js/plugins.js"
></script>
<script
type=
"text/javascript"
src=
"/html/js/jquery.validate.js"
></script>
<script
type=
"text/javascript"
src=
"/html/js/custom.js"
></script>
<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>
<sitemesh:write
property=
"head"
/>
</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
href=
"
<c:url
value=
"/"
/>
"
>
Home
</a>
<a
href=
"
<c:url
value=
"/data"
/>
"
>
Datasets
</a>
</div>
<div
id=
"dialog"
></div>
<sitemesh:write
property=
"body"
/>
</div>
</div>
</body>
</html>
src/main/webapp/WEB-INF/jsp/dataset/index.jsp
View file @
6a3bdf93
<!DOCTYPE html>
<%@include
file=
"
..
/init.jsp"
%>
<%@include
file=
"
/WEB-INF/jsp
/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=
"
${
datasets
}
"
var=
"dataset"
varStatus=
"status"
>
<h3><a
href=
"/data/view/${dataset.id}"
><c:out
value=
"
${
dataset
.
name
}
"
/></a></h3>
<p><c:out
value=
"
${
dataset
.
uploadDate
}
"
/></p>
</c:forEach>
</div>
</div>
</body>
</html>
\ No newline at end of file
src/main/webapp/WEB-INF/jsp/head-init.jsp
View file @
6a3bdf93
<meta
charset=
"utf-8"
>
<%--Locked Compatible Mode for IE--%>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<meta
name=
"description"
content=
""
>
<meta
name=
"viewport"
content=
"width=device-width"
>
<link
type=
"text/css"
href=
"/html/css/bootstrap.css"
rel=
"stylesheet"
/>
<link
type=
"text/css"
href=
"/html/css/custom.css"
rel=
"stylesheet"
/>
<script
type=
"text/javascript"
src=
"/html/js/jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"/html/js/modernizr-2.6.2.min.js"
></script>
<script
type=
"text/javascript"
src=
"/html/js/plugins.js"
></script>
<script
type=
"text/javascript"
src=
"/html/js/jquery.validate.js"
></script>
<script
type=
"text/javascript"
src=
"/html/js/custom.js"
></script>
\ No newline at end of file
src/main/webapp/WEB-INF/jsp/index.jsp
View file @
6a3bdf93
...
...
@@ -4,23 +4,7 @@
<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>
<%@include
file=
"handelbars-scripts.jsp"
%>
<script
type=
""
>
...
...
@@ -41,37 +25,6 @@
<%@include
file=
"index-user-js.jsp"
%>
</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>
<table
id=
"jqTable"
class=
"table table-bordered table-striped"
></table>
...
...
@@ -81,7 +34,5 @@
</div>
<%--</security:authorize>--%>
</div>
</div>
</body>
</html>
\ No newline at end of file
src/main/webapp/WEB-INF/sitemesh3.xml
0 → 100644
View file @
6a3bdf93
<?xml version="1.0" encoding="UTF-8"?>
<sitemesh>
<mapping
path=
"/*"
decorator=
"/WEB-INF/decorator/main.jsp"
/>
<mapping
path=
"/html/*"
exclude=
"true"
/>
</sitemesh>
\ No newline at end of file
src/main/webapp/WEB-INF/web.xml
View file @
6a3bdf93
...
...
@@ -25,7 +25,15 @@
<filter-name>
org.springframework.security.filterChainProxy
</filter-name>
<url-pattern>
/*
</url-pattern>
</filter-mapping>
<filter>
<filter-name>
sitemesh
</filter-name>
<filter-class>
org.sitemesh.config.ConfigurableSiteMeshFilter
</filter-class>
</filter>
<filter-mapping>
<filter-name>
sitemesh
</filter-name>
<url-pattern>
/*
</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>
mvc
</servlet-name>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment