You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

home.tmpl 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {{template "base/head" .}}
  2. <div role="main" aria-label="{{if .IsSigned}}{{ctx.Locale.Tr "dashboard"}}{{else}}{{ctx.Locale.Tr "home"}}{{end}}" class="page-content home">
  3. <div class="gt-mb-5 gt-px-5">
  4. <div class="center">
  5. <img class="logo" width="220" height="220" src="{{AssetUrlPrefix}}/img/logo.svg" alt="{{ctx.Locale.Tr "logo"}}">
  6. <div class="hero">
  7. <h1 class="ui icon header title">
  8. {{AppName}}
  9. </h1>
  10. <h2>{{ctx.Locale.Tr "startpage.app_desc"}}</h2>
  11. </div>
  12. </div>
  13. </div>
  14. <div class="ui stackable middle very relaxed page grid">
  15. <div class="eight wide center column">
  16. <h1 class="hero ui icon header">
  17. {{svg "octicon-flame"}} {{ctx.Locale.Tr "startpage.install"}}
  18. </h1>
  19. <p class="large">
  20. {{ctx.Locale.Tr "startpage.install_desc" | Str2html}}
  21. </p>
  22. </div>
  23. <div class="eight wide center column">
  24. <h1 class="hero ui icon header">
  25. {{svg "octicon-device-desktop"}} {{ctx.Locale.Tr "startpage.platform"}}
  26. </h1>
  27. <p class="large">
  28. {{ctx.Locale.Tr "startpage.platform_desc" | Str2html}}
  29. </p>
  30. </div>
  31. </div>
  32. <div class="ui stackable middle very relaxed page grid">
  33. <div class="eight wide center column">
  34. <h1 class="hero ui icon header">
  35. {{svg "octicon-rocket"}} {{ctx.Locale.Tr "startpage.lightweight"}}
  36. </h1>
  37. <p class="large">
  38. {{ctx.Locale.Tr "startpage.lightweight_desc" | Str2html}}
  39. </p>
  40. </div>
  41. <div class="eight wide center column">
  42. <h1 class="hero ui icon header">
  43. {{svg "octicon-code"}} {{ctx.Locale.Tr "startpage.license"}}
  44. </h1>
  45. <p class="large">
  46. {{ctx.Locale.Tr "startpage.license_desc" | Str2html}}
  47. </p>
  48. </div>
  49. </div>
  50. </div>
  51. {{template "base/footer" .}}