File: index.html

package info (click to toggle)
golang-github-yohcop-openid-go 0.0~git20170901.0.cfc72ed-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 184 kB
  • sloc: makefile: 3
file content (16 lines) | stat: -rw-r--r-- 345 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<html>
  <head>
    <title>go OpenID sample app</title>
  </head>
  <body>
    <h1>go OpenID sample app</h1>

    {{if .user}}
      <p>Welcome {{.user}}.</p>
      <p>Devs: set a cookie, or this kind of things to
         identify the user across different pages.</p>
    {{else}}
      <a href="/login">Login</a>
    {{end}}
  </body>
</html>