error-template.html 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  6. <meta name="viewport" content="width=device-width" />
  7. <meta name="theme-color" content="#000" />
  8. <title>[[.AppTitle]] - Error</title>
  9. <base href="[[.AppSubUrl]]/" />
  10. [[ if eq .Theme "light" ]]
  11. <link rel="stylesheet" href="public/build/<%= htmlWebpackPlugin.files.cssChunks.light %>" />
  12. [[ else ]]
  13. <link rel="stylesheet" href="public/build/<%= htmlWebpackPlugin.files.cssChunks.dark %>" />
  14. [[ end ]]
  15. <link rel="icon" type="image/png" href="public/img/fav32.png" />
  16. <link rel="mask-icon" href="public/img/grafana_mask_icon.svg" color="#F05A28" />
  17. </head>
  18. <body class="theme-[[ .Theme ]]">
  19. <div class="main-view">
  20. <div class="page-container">
  21. <div class="page-header">
  22. <div class="page-header__inner">
  23. <span class="page-header__logo">
  24. <i class="page-header__icon fa fa-frown-o"></i>
  25. </span>
  26. <div class="page-header__info-block">
  27. <h1 class="page-header__title">
  28. <a class="text-link" href="login">Grafana</a><span> / Server Error</span><span></span>
  29. </h1>
  30. <div class="page-header__sub-title">Sadly something went wrong</div>
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. <div class="page-container page-body ng-scope" style="padding: 2rem">
  36. <div class="alert">
  37. <div class="alert-icon"><icon name="'exclamation-triangle'"></icon></div>
  38. <div class="alert-body">
  39. <div class="alert-title">[[.Title]]</div>
  40. </div>
  41. </div>
  42. <br />
  43. [[if .ErrorMsg]]
  44. <h4 class="page-heading">Error details</h4>
  45. <div class="alert-text">
  46. <pre>[[.ErrorMsg]]</pre>
  47. </div>
  48. [[end]]
  49. <div style="padding: 2rem 0 0">
  50. <p>Check the Grafana server logs for the detailed error message.</p>
  51. </div>
  52. </div>
  53. </div>
  54. </body>
  55. </html>