summaryrefslogtreecommitdiff
path: root/idp/templates/views/layout.vm
blob: cbad88688a3eb5a459a37525379fb5a33e76ac00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#macro(layout)
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">

    <title>#springMessageText("idp.title", "Web Login Service") #if ($titleSuffix) -$titleSuffix #end </title>
    <link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/main.css">
  </head>

  <body>
    <div class="wrapper">
        <header>
          <div class="container">
            <img src="$request.getContextPath()#springMessage("idp.logo")" alt="#springMessageText("idp.logo.alt-text", "logo")">
          </div>
        </header>
      <div class="container flex-group">
        <nav>
          <ul class="list list-help">
            <li class="list-title">
              About
            </li>
            <li class="list-help-item">
              <a href="#springMessageText("idp.url.home", "#")"><span class="item-marker">&rsaquo;</span> #springMessageText("idp.home", "Homepage")
              </a>
            </li>
            <li class="list-help-item">
              <a href="#springMessageText("idp.url.aup", "#")"><span class="item-marker">&rsaquo;</span> #springMessageText("idp.aup", "Acceptable Use Policy")
              </a>
            </li>
            <li class="list-help-item">
              <a href="#springMessageText("idp.url.privacy", "#")"><span class="item-marker">&rsaquo;</span> #springMessageText("idp.privacy", "Privacy Policy")
              </a>
            </li>
            <li class="list-title">
              Tools
            </li>
              <li class="list-help-item"><a href="#springMessageText("idp.url.password.change", "#")"><span class="item-marker">&rsaquo;</span> #springMessageText("idp.login.change.password", "Change your password")</a></li>
          </ul>
        </nav>
        <div class="content flex-container">
            #if ($titleSuffix)
              <h3>#springMessageText("idp.title", "Web Login Service") - $titleSuffix</h3>
            #end
          $!bodyContent
        </div>
      </div>
      <footer>
        <div class="container container-footer">
          <p class="footer-text">#springMessageText("idp.footer", "Your footer here.")</p>
        </div>
      </footer>
    </div>
  </body>
</html>
#end