github.com/greenpau/go-authcrunch@v1.1.4/assets/portal/templates/basic/generic.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/css/generic.css" }}" /> 15 {{ if eq .Data.ui_options.custom_css_required "yes" }} 16 <link rel="stylesheet" href="{{ pathjoin .ActionEndpoint "/assets/css/custom.css" }}" /> 17 {{ end }} 18 </head> 19 20 <body class="h-full"> 21 <div class="app-page"> 22 <div class="app-content md:max-w-2xl lg:max-w-2xl"> 23 <div class="bg-white py-8 px-4 shadow-lg sm:rounded-lg sm:px-10"> 24 <div class="bg-white min-h-full px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8"> 25 <div class="max-w-max mx-auto"> 26 <main class="sm:flex"> 27 {{ if .LogoURL }} 28 <img class="logo-img" src="{{ .LogoURL }}" alt="{{ .LogoDescription }}" /> 29 {{ end }} 30 <div class="sm:ml-6"> 31 <div class="app-gen-banner-box"> 32 <h1 class="app-gen-banner-header">{{ .PageTitle }}</h1> 33 <p class="app-gen-banner-message">{{ .Data.message }}</p> 34 </div> 35 {{ if .Data.go_back_url }} 36 <div class="app-gen-btn-box"> 37 <a href="{{ .Data.go_back_url }}" class="app-gen-btn-txt"> Go back </a> 38 </div> 39 {{ end }} 40 </div> 41 </main> 42 </div> 43 </div> 44 </div> 45 </div> 46 </div> 47 <!-- JavaScript --> 48 <script src="{{ pathjoin .ActionEndpoint "/assets/js/generic.js" }}"></script> 49 {{ if eq .Data.ui_options.custom_js_required "yes" }} 50 <script src="{{ pathjoin .ActionEndpoint "/assets/js/custom.js" }}"></script> 51 {{ end }} 52 </body> 53 </html>