1
|
##
|
2
|
## Velocity Template for user preferences view
|
3
|
##
|
4
|
## Velocity context will contain the following properties
|
5
|
## request - HttpServletRequest
|
6
|
## response - HttpServletResponse
|
7
|
## environment - Spring Environment object for property resolution
|
8
|
## custom - arbitrary object injected by deployer
|
9
|
##
|
10
|
<!DOCTYPE html>
|
11
|
<html>
|
12
|
<head>
|
13
|
<meta charset="utf-8">
|
14
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
15
|
<title>#springMessageText("idp.userprefs.title", "Web Login Service") - #springMessageText("idp.userprefs.title.suffix", "Login Preferences")</title>
|
16
|
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/main.css">
|
17
|
<script language="Javascript">
|
18
|
<!--
|
19
|
#parse( "user-prefs.js" )
|
20
|
// -->
|
21
|
</script>
|
22
|
</head>
|
23
|
<body onLoad="document.getElementById('content').style.display='block'; load('spnego')">
|
24
|
<div class="wrapper">
|
25
|
<div class="container">
|
26
|
<header>
|
27
|
<img src="$request.getContextPath()#springMessage("idp.logo")" alt="#springMessageText("idp.logo.alt-text", "logo")">
|
28
|
<h3>#springMessageText("idp.title", "Web Login Service") - #springMessageText("idp.userprefs.title.suffix", "Login Preferences")</h3>
|
29
|
<p>
|
30
|
#springMessage("idp.userprefs.info")
|
31
|
</p>
|
32
|
</header>
|
33
|
|
34
|
<noscript>
|
35
|
<div id="content" class="content">
|
36
|
$springMacroRequestContext.getMessage("idp.userprefs.no-js", "This feature requires Javascript.")
|
37
|
</div>
|
38
|
</noscript>
|
39
|
|
40
|
<div id="content" class="content" style="display:none">
|
41
|
<div class="form-element-wrapper">
|
42
|
<h4>#springMessageText("idp.userprefs.options", "The following options are available:")</h4>
|
43
|
</div>
|
44
|
|
45
|
<div class="form-element-wrapper">
|
46
|
<input type="checkbox" id="spnego" name="_idp_spnego_autologin" value="1" onClick="check(this)">
|
47
|
#springMessageText("idp.userprefs.spnego", "Automatically try desktop login when available.")
|
48
|
</div>
|
49
|
</div>
|
50
|
</div>
|
51
|
|
52
|
<footer>
|
53
|
<div class="container container-footer">
|
54
|
<p class="footer-text">#springMessageText("idp.footer", "Insert your footer text here.")</p>
|
55
|
</div>
|
56
|
</footer>
|
57
|
</div>
|
58
|
|
59
|
</body>
|
60
|
</html>
|