activate.html 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns:th="http://www.thymeleaf.org">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="format-detection" content="telephone=no" />
  6. <meta content="email=no" name="format-detection" />
  7. <title>Title</title>
  8. <style>
  9. html,body,div,header,h2,article,button,p {
  10. margin: 0; padding: 0;
  11. }
  12. html,body{
  13. height: 100%;
  14. width: 100%;
  15. }
  16. .container {
  17. width: 100%;
  18. height: 100%;
  19. background-color: #EAEDF1;
  20. display: flex;
  21. justify-content: center;
  22. align-items: center;
  23. }
  24. .wrapper {
  25. width: 420px;
  26. display: flex;
  27. flex-direction: column;
  28. text-align: center;
  29. }
  30. header{
  31. flex:0;
  32. background-color: #1B98E0;
  33. border-radius: 2px 2px 0 0;
  34. line-height: 56px;
  35. height: 56px;
  36. color: #fff;
  37. }
  38. article {
  39. flex: 1;
  40. background-color: #fff;
  41. border-radius: 0 0 2px 2px;
  42. padding: 32px;
  43. }
  44. .title {
  45. color: #444444;
  46. font-size: 24px;
  47. font-weight: 600;
  48. margin-bottom: 16px;
  49. }
  50. .sure{
  51. font-size: 16px;
  52. outline: none;
  53. display: inline-block;
  54. margin-bottom: 32px;
  55. padding: 8px 48px;
  56. border-radius: 4px 4px;
  57. background-color: #1B98E0;
  58. color: #fff;
  59. cursor: pointer;
  60. text-decoration:none;
  61. -webkit-touch-callout: none;
  62. -webkit-user-select: none;
  63. -khtml-user-select: none;
  64. -moz-user-select: none;
  65. -ms-user-select: none;
  66. user-select: none;
  67. }
  68. .detail {
  69. font-size: 14px;
  70. color: rgba(0,0,0,.59);
  71. }
  72. </style>
  73. </head>
  74. <body>
  75. <div class="container">
  76. <div class="wrapper">
  77. <header>
  78. <h2>欢迎使用davinci</h2>
  79. </header>
  80. <article>
  81. <div class="title">您好, <span th:text="${username}">username</span></div>
  82. <a class="sure" th:href="@{http://localhost:5002/(token=${token})#/activate}">激活davinci</a>
  83. <p class="detail">此邮件为注册davinci确认邮件。如非本人操作,只需删除此邮件即可。</p>
  84. </article>
  85. </div>
  86. </div>
  87. </body>
  88. </html>