github.com/greenpau/go-authcrunch@v1.1.4/assets/portal/templates/basic/whoami.template (about) 1 <!DOCTYPE html> 2 <html lang="en" class="h-full bg-blue-100"> 3 <head> 4 <title>{{ .MetaTitle }} - {{ .PageTitle }}</title> 5 <!-- Required meta tags --> 6 <meta charset="utf-8" /> 7 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> 8 <meta name="description" content="{{ .MetaDescription }}" /> 9 <meta name="author" content="{{ .MetaAuthor }}" /> 10 <link rel="shortcut icon" href="{{ pathjoin .ActionEndpoint "/assets/images/favicon.png" }}" type="image/png" /> 11 <link rel="icon" href="{{ pathjoin .ActionEndpoint "/assets/images/favicon.png" }}" type="image/png" /> 12 <link rel="stylesheet" href="{{ pathjoin .ActionEndpoint "/assets/google-webfonts/roboto.css" }}" /> 13 <link rel="stylesheet" href="{{ pathjoin .ActionEndpoint "/assets/line-awesome/line-awesome.css" }}" /> 14 <link rel="stylesheet" href="{{ pathjoin .ActionEndpoint "/assets/highlight.js/css/atom-one-dark.min.css" }}" /> 15 <link rel="stylesheet" href="{{ pathjoin .ActionEndpoint "/assets/css/whoami.css" }}" /> 16 {{ if eq .Data.ui_options.custom_css_required "yes" }} 17 <link rel="stylesheet" href="{{ pathjoin .ActionEndpoint "/assets/css/custom.css" }}" /> 18 {{ end }} 19 </head> 20 21 <body class="h-full"> 22 <div class="app-page"> 23 <div class="app-content md:max-w-2xl lg:max-w-4xl"> 24 <div class="app-container"> 25 <div class="logo-col-box justify-center"> 26 {{ if .LogoURL }} 27 <div> 28 <img class="logo-img" src="{{ .LogoURL }}" alt="{{ .LogoDescription }}" /> 29 </div> 30 {{ end }} 31 <div> 32 <h2 class="logo-col-txt">{{ .PageTitle }}</h2> 33 </div> 34 </div> 35 36 <div class="mt-3"> 37 <pre><code class="language-json hljs">{{ .Data.token }}</code></pre> 38 </div> 39 40 <div class="flex flex-wrap pt-6 justify-center gap-4"> 41 <div id="forgot_username_link"> 42 <a class="text-primary-600" href="{{ pathjoin .ActionEndpoint "/portal" }}"> 43 <i class="las la-layer-group"></i> 44 <span class="text-lg">Portal</span> 45 </a> 46 </div> 47 <div id="contact_support_link"> 48 <a class="text-primary-600" href="{{ pathjoin .ActionEndpoint "/logout" }}"> 49 <i class="las la-times-circle"></i> 50 <span class="text-lg">Sign Out</span> 51 </a> 52 </div> 53 </div> 54 </div> 55 </div> 56 </div> 57 <!-- JavaScript --> 58 <script src="{{ pathjoin .ActionEndpoint "/assets/highlight.js/js/highlight.js" }}"></script> 59 <script src="{{ pathjoin .ActionEndpoint "/assets/highlight.js/js/languages/json.min.js" }}"></script> 60 <script src="{{ pathjoin .ActionEndpoint "/assets/js/whoami.js" }}"></script> 61 {{ if eq .Data.ui_options.custom_js_required "yes" }} 62 <script src="{{ pathjoin .ActionEndpoint "/assets/js/custom.js" }}"></script> 63 {{ end }} 64 <script> 65 hljs.initHighlightingOnLoad(); 66 </script> 67 </body> 68 </html>