Project

General

Profile

1
##
2
## Velocity template to read from local storage.
3
##
4
## Velocity context will contain the following properties
5
## flowExecutionUrl - the form action location
6
## flowRequestContext - the Spring Web Flow RequestContext
7
## flowExecutionKey - the SWF execution key (this is built into the flowExecutionUrl)
8
## profileRequestContext - root of context tree
9
## loadContext - context with details about the storage keys to load
10
## encoder - HTMLEncoder class
11
## request - HttpServletRequest
12
## response - HttpServletResponse
13
## environment - Spring Environment object for property resolution
14
#set ($title = $springMacroRequestContext.getMessage("idp.title", "Web Login Service"))
15
#set ($titleSuffix = $springMacroRequestContext.getMessage("idp.client-storage-read.suffix", "Loading Session Information"))
16
##
17
<!DOCTYPE html>
18
<html>
19
    <head>
20
        <meta charset="utf-8" />
21
        <meta name="viewport" content="width=device-width,initial-scale=1.0">
22
        <title>$title - $titleSuffix</title>
23
        <link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/main.css">
24
        <script>
25
        <!--
26
        #include( "client-storage/local-storage-read.js" )
27
        // -->
28
        </script>
29
    </head>
30
    <body onload="doLoad()">
31
        <div class="wrapper">
32
            <div class="container">
33
                <header>
34
                    <h3>$title - $titleSuffix</h3>
35
                </header>
36
                <div class="content">
37
                $springMacroRequestContext.getMessage("idp.client-storage-read.text", "Loading login session information from the browser...")
38
                </div>
39
                <noscript>
40
                    <div class="content">
41
                    $springMacroRequestContext.getMessage("idp.client-storage.no-js", "Since your browser does not support JavaScript, you must press the Continue button once to proceed.")
42
                    </div>
43
                </noscript>
44
                #parse( "client-storage/read.vm" )
45
            </div>
46
            <footer>
47
                <div class="container container-footer">
48
                    <p class="footer-text">#springMessageText("idp.footer", "Insert your footer text here.")</p>
49
                </div>
50
            </footer>
51
        </div>
52
    </body>
53
</html>
(1-1/2)