Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
HAWKULAR-444 : Apply styles and integrate timeout page
Browse files Browse the repository at this point in the history
  • Loading branch information
ammendonca committed Jul 22, 2015
1 parent 286cf43 commit bde7e00
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
1 change: 1 addition & 0 deletions console/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
<directory>target/gulp-build/</directory>
<includes>
<include>index.html</include>
<include>time-out.html</include>
<include>libs/**</include>
<include>dist/**</include>
</includes>
Expand Down
2 changes: 1 addition & 1 deletion console/src/main/scripts/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ gulp.task('set-server-path', function(done) {
gulp.task('bower', function () {
var cacheBuster = Date.now();

gulp.src('index.html')
gulp.src('*.html')
.pipe(wiredep({
fileTypes: {
html: {
Expand Down
20 changes: 17 additions & 3 deletions console/src/main/webapp/time-out.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,23 @@

<head>
<title>Hawkular - The OpenSource monitoring platform</title>
<base href='${hawkular.console.index.html.base.href}'>
<meta charset="UTF8">

<!-- bower:css -->
<!-- endbower -->
<link href="dist/hawkular-console.css?v=${hawkular.console.timestamp}" rel="stylesheet">

<!-- ES6/ES6 shim -->
<!--[if IE 8]>
<script src="libs/es5-dom-shim/__COMIPLE/a.ie8.js"></script>
<![endif]-->
<script src="libs/es5-dom-shim/__COMPILE/a.js"></script>
<script src="libs/patternfly/components/jquery/dist/jquery.js"></script>
<script src="libs/patternfly/components/bootstrap/dist/js/bootstrap.js"></script>

<!-- bower:js -->
<!-- endbower -->
</head>

<body style="background-color: #232122;" class="ng-cloak time-out">
Expand All @@ -20,17 +34,17 @@
</nav>

<div class="container">
<div class="modal fade" id="time-out" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static">
<div class="" id="time-out" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="myModalLabel">Session Expired</h4>
</div>
<div class="modal-body">
<p>Due to inactivity, we closed your session. To start a new session, please <a href="#">log in</a> again.</p>
<p>Due to inactivity, we closed your session. To start a new session, please <a href="/hawkular-ui/">log in</a> again.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary">OK</button>
<a class="btn btn-primary" href="/hawkular-ui/">OK</a>
</div>
</div>
</div>
Expand Down

0 comments on commit bde7e00

Please sign in to comment.