Permalink
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
shib-idp-conftree/views/client-storage/client-storage-read.vm
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
53 lines (53 sloc)
2.22 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
## Velocity template to read from local storage. | |
## | |
## Velocity context will contain the following properties | |
## flowExecutionUrl - the form action location | |
## flowRequestContext - the Spring Web Flow RequestContext | |
## flowExecutionKey - the SWF execution key (this is built into the flowExecutionUrl) | |
## profileRequestContext - root of context tree | |
## loadContext - context with details about the storage keys to load | |
## encoder - HTMLEncoder class | |
## request - HttpServletRequest | |
## response - HttpServletResponse | |
## environment - Spring Environment object for property resolution | |
#set ($title = $springMacroRequestContext.getMessage("idp.title", "Web Login Service")) | |
#set ($titleSuffix = $springMacroRequestContext.getMessage("idp.client-storage-read.suffix", "Loading Session Information")) | |
## | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width,initial-scale=1.0"> | |
<title>$title - $titleSuffix</title> | |
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/main.css"> | |
<script> | |
<!-- | |
#include( "client-storage/local-storage-read.js" ) | |
// --> | |
</script> | |
</head> | |
<body onload="doLoad()"> | |
<div class="wrapper"> | |
<div class="container"> | |
<header> | |
<h3>$title - $titleSuffix</h3> | |
</header> | |
<div class="content"> | |
$springMacroRequestContext.getMessage("idp.client-storage-read.text", "Loading login session information from the browser...") | |
</div> | |
<noscript> | |
<div class="content"> | |
$springMacroRequestContext.getMessage("idp.client-storage.no-js", "Since your browser does not support JavaScript, you must press the Continue button once to proceed.") | |
</div> | |
</noscript> | |
#parse( "client-storage/read.vm" ) | |
</div> | |
<footer> | |
<div class="container container-footer"> | |
<p class="footer-text">#springMessageText("idp.footer", "Insert your footer text here.")</p> | |
</div> | |
</footer> | |
</div> | |
</body> | |
</html> |