Skip to content

Commit 9800494

Browse files
committed
New help page to test remote domain resources loading
1 parent fee57b9 commit 9800494

File tree

11 files changed

+220
-0
lines changed

11 files changed

+220
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package org.hdivsamples.controllers;
2+
3+
import org.springframework.stereotype.Controller;
4+
import org.springframework.ui.Model;
5+
import org.springframework.web.bind.annotation.RequestMapping;
6+
7+
@Controller
8+
@RequestMapping(value = "/help")
9+
public class HelpController {
10+
11+
@RequestMapping
12+
public String admin(final Model model) {
13+
14+
return "help";
15+
}
16+
17+
}

src/main/webapp/WEB-INF/jsp/accountActivity.jsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@
157157
</div>
158158

159159
</div>
160+
<%@ include file="/WEB-INF/jsp/template/bottom.jsp"%>
160161
</div>
161162
<!-- END MAIN CONTENT -->
162163
</div>

src/main/webapp/WEB-INF/jsp/admin.jsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@
130130

131131

132132
</div>
133+
<%@ include file="/WEB-INF/jsp/template/bottom.jsp"%>
133134
</div>
134135
<!-- END MAIN CONTENT -->
135136
</div>

src/main/webapp/WEB-INF/jsp/creditActivity.jsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@
127127
</div>
128128

129129
</div>
130+
<%@ include file="/WEB-INF/jsp/template/bottom.jsp"%>
130131
</div>
131132
<!-- END MAIN CONTENT -->
132133
</div>

src/main/webapp/WEB-INF/jsp/dashboard.jsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@
176176
</div>
177177

178178
</div>
179+
<%@ include file="/WEB-INF/jsp/template/bottom.jsp"%>
179180
</div>
180181
<!-- END MAIN CONTENT -->
181182
</div>
Lines changed: 183 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,183 @@
1+
<%@ include file="/WEB-INF/jsp/template/tags.jsp"%>
2+
3+
4+
<!DOCTYPE html>
5+
<!--[if IE 9 ]><html class="ie ie9" lang="en" class="no-js"> <![endif]-->
6+
<!--[if !(IE)]><!--><html lang="en" class="no-js"> <!--<![endif]-->
7+
<head>
8+
<title>Insecure Bank</title>
9+
<meta charset="utf-8">
10+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
11+
<meta name="description" content="HDIV-EE-BANK">
12+
<meta name="author" content="The Develovers">
13+
14+
<!-- CSS -->
15+
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" type="text/css">
16+
<link href="${pageContext.request.contextPath}/resources/css/ionicons.min.css" rel="stylesheet" type="text/css">
17+
<link href="${pageContext.request.contextPath}/resources/css/main.css" rel="stylesheet" type="text/css">
18+
<link href="${pageContext.request.contextPath}/resources/css/skins/blue-light-nav.css" rel="stylesheet" type="text/css">
19+
<link href="${pageContext.request.contextPath}/resources/css/font-awesome.min.css" rel="stylesheet" type="text/css">
20+
21+
<!-- Google Fonts -->
22+
<link href='${pageContext.request.contextPath}/resources/css/google-fonts.css' rel='stylesheet' type='text/css'>
23+
24+
<!-- Fav and touch icons -->
25+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="${pageContext.request.contextPath}/resources/ico/queenadmin-favicon144x144.png">
26+
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="${pageContext.request.contextPath}/resources/ico/queenadmin-favicon114x114.png">
27+
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="${pageContext.request.contextPath}/resources/ico/queenadmin-favicon72x72.png">
28+
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="${pageContext.request.contextPath}/resources/ico/queenadmin-favicon57x57.png">
29+
<link rel="shortcut icon" href="${pageContext.request.contextPath}/resources/ico/favicon.ico">
30+
31+
</head>
32+
33+
<body class="static-tables">
34+
35+
<!-- WRAPPER -->
36+
<div class="wrapper">
37+
<div class="container-fluid">
38+
<!-- TOP BAR -->
39+
<nav class="top-bar navbar-fixed-top" role="navigation">
40+
<div class="row">
41+
<div class="col-md-2 col-sm-4 col-xs-7">
42+
<a class="btn btn-link btn-off-canvas pull-left"><i class="icon ion-navicon"></i></a>
43+
<div class="logo pull-left">
44+
<i class="fa fa-university fa-logo"></i> <span class="logo-text">Insecure Bank </span>
45+
</div>
46+
</div>
47+
<div class="col-md-10 col-sm-8 col-xs-5">
48+
<div class="row">
49+
<div class="col-md-4 col-sm-4">
50+
</div>
51+
<div class="col-md-8 col-sm-8">
52+
<div class="top-bar-right pull-right">
53+
54+
<!-- logged user and the menu -->
55+
<div class="logged-user">
56+
<div class="btn-group">
57+
<a href="#" class="btn btn-link dropdown-toggle" data-toggle="dropdown">
58+
<i class="icon ion-android-social-user"></i><span class="name"><c:out value="${account.name}"/> <c:out value="${account.surname}"/> <i class="icon ion-ios7-arrow-down"></i></span>
59+
</a>
60+
<ul class="dropdown-menu" role="menu">
61+
<li>
62+
<spring:url value="/dashboard/userDetail" var="userDetail" htmlEscape="true" >
63+
<spring:param name="username" value="${account.username}"></spring:param>
64+
</spring:url>
65+
<a href="${userDetail}">
66+
<i class="icon ion-android-social-user"></i>
67+
<span class="text">Profile</span>
68+
</a>
69+
</li>
70+
<li>
71+
<a href="#">
72+
<i class="icon ion-android-settings"></i>
73+
<span class="text">Settings</span>
74+
</a>
75+
</li>
76+
<li><spring:url value="/j_spring_security_logout" var="logout" />
77+
<a href="${logout}">
78+
<i class="icon ion-power"></i>
79+
<span class="text">Logout</span>
80+
</a>
81+
</li>
82+
</ul>
83+
</div>
84+
</div>
85+
</div>
86+
</div>
87+
</div>
88+
</div>
89+
</div>
90+
</nav>
91+
<!-- END TOP BAR -->
92+
<div class="row">
93+
<div class="col-lg-2 col-left">
94+
<!-- LEFT CONTENT -->
95+
<div class="left-content">
96+
<nav id="main-nav" class="main-nav">
97+
98+
<h3>MAIN</h3>
99+
<ul class="main-menu">
100+
<spring:url value="/dashboard" var="index" />
101+
<spring:url value="/activity" var="activity" />
102+
103+
<li class="active"><a href="${index}"><i class="icon ion-ios7-speedometer"></i><span class="text">Dashboard</span></a></li>
104+
<li><a href="${activity}"><i class="icon ion-clipboard"></i><span class="text">Accounts activity</span></a></li>
105+
<li class="has-submenu">
106+
<a href="#" class="submenu-toggle"><i class="icon ion-android-note"></i><span class="text">Transfers</span></a>
107+
<ul class="list-unstyled sub-menu collapse">
108+
<spring:url var="transfer" value="/transfer"></spring:url>
109+
<li><a href="${transfer}"><span class="text">Make a transfer</span></a></li>
110+
</ul>
111+
</li>
112+
</ul>
113+
</nav>
114+
</div>
115+
</div>
116+
<div class="col-lg-10 col-right ">
117+
<div class="right-content">
118+
<!-- MAIN CONTENT -->
119+
<div class="main-content">
120+
<div class="primary-content">
121+
<div class="heading clearfix">
122+
<h2>HELP</h2>
123+
<ul class="breadcrumb pull-left">
124+
<li><i class="icon ion-home"></i><a href="${index}">Home</a></li>
125+
<li><a href="#">Help</a></li>
126+
</ul>
127+
</div>
128+
<!-- RESPONSIVE TABLE -->
129+
<div class="widget">
130+
<div class="widget-header clearfix">
131+
<h3><i class="icon ion-clipboard"></i> <span>Help</span></h3>
132+
</div>
133+
<div class="widget-content">
134+
Please, select an option in the left menu to test the application.
135+
</div>
136+
</div>
137+
138+
</div>
139+
</div>
140+
</div>
141+
<%@ include file="/WEB-INF/jsp/template/bottom.jsp"%>
142+
</div>
143+
<!-- END MAIN CONTENT -->
144+
</div>
145+
</div>
146+
147+
</div>
148+
<div class="left-content-bg col-md-2"></div>
149+
<!-- END WRAPPER -->
150+
151+
<!-- Javascript -->
152+
<script src="${pageContext.request.contextPath}/resources/js/jquery/jquery-2.1.0.min.js"></script>
153+
<script src="${pageContext.request.contextPath}/resources/js/bootstrap/bootstrap.js"></script>
154+
<script src="${pageContext.request.contextPath}/resources/js/plugins/jquery-slimscroll/jquery.slimscroll.min.js"></script>
155+
<script src="${pageContext.request.contextPath}/resources/js/plugins/stat/jquery-easypiechart/jquery.easypiechart.min.js"></script>
156+
<script src="${pageContext.request.contextPath}/resources/js/plugins/bootstrap-multiselect/bootstrap-multiselect.js"></script>
157+
<script src="${pageContext.request.contextPath}/resources/js/queen-common.js"></script>
158+
</body>
159+
<style>
160+
table {
161+
table-layout: fixed;
162+
}
163+
164+
table th,table td {
165+
overflow: hidden;
166+
}
167+
168+
.fa-logo {
169+
color: #fff;
170+
font-size: 18px;
171+
}
172+
173+
.logo-text {
174+
color: #fff;
175+
font-family: 'Oswald';
176+
font-size: 16px;
177+
}
178+
179+
.top-bar .logged-user {
180+
padding-top: 3px;
181+
}
182+
</style>
183+
<%@ include file="/WEB-INF/jsp/template/footer.jsp"%>

src/main/webapp/WEB-INF/jsp/newTransfer.jsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@
162162
</div>
163163
</div>
164164
</div>
165+
<%@ include file="/WEB-INF/jsp/template/bottom.jsp"%>
165166
</div>
166167
<!-- END MAIN CONTENT -->
167168
</div>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<%@ include file="/WEB-INF/jsp/template/tags.jsp"%>
2+
3+
<div class="footer">
4+
<div class="row">
5+
<div class="col-lg-12 text-center">
6+
<p>
7+
<spring:url var="help" value="/help"></spring:url>
8+
<a class="btn btn-link" href="${help}" rel="nofollow">Help</a>
9+
</p>
10+
</div>
11+
</div>
12+
</div>

src/main/webapp/WEB-INF/jsp/transferCheck.jsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@
145145
</div>
146146
</div>
147147
</div>
148+
<%@ include file="/WEB-INF/jsp/template/bottom.jsp"%>
148149
</div>
149150
<!-- END MAIN CONTENT -->
150151
</div>

src/main/webapp/WEB-INF/jsp/transferConfirmation.jsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@
150150
</div>
151151
</div>
152152
</div>
153+
<%@ include file="/WEB-INF/jsp/template/bottom.jsp"%>
153154
</div>
154155
<!-- END MAIN CONTENT -->
155156
</div>

0 commit comments

Comments
 (0)