A self hosted chat application with end-to-end encrypted messaging.
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.

110 lines
5.1 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. <!DOCTYPE HTML>
  2. <html xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
  3. <head>
  4. <div th:replace="fragments/head :: headFragment">
  5. <meta charset="UTF-8">
  6. <title id="pageTitle">Home</title>
  7. </div>
  8. <!-- <script th:src="@{js/my_Crypto.js}" type="text/javascript"></script> -->
  9. <script src="https://code.jquery.com/jquery-2.1.4.min.js" th:if="false"></script>
  10. <script src="http://blackpeppersoftware.github.io/thymeleaf-fragment.js/thymeleaf-fragment.js" defer="defer" th:if="false"></script>
  11. </link>
  12. </head>
  13. <body>
  14. <div th:include="fragments/navbar :: navbarFragment"></div>
  15. <header id="home-section">
  16. <div class="dark-overlay">
  17. <div class="home-inner container">
  18. <div class="row">
  19. <div class="col-lg-8 col-md-6 d-lg-block ">
  20. <!-- <div class="jumbotron bg-primary"> -->
  21. <div class="d-flex rounded">
  22. <div class="">
  23. <h1 class="display-4">Chatto - Self Hosted, Minimal E2E Chat</h1>
  24. <!-- <p th:if="${chatUser}" th:text="'username: ' + ${chatUser.userName}">You need to login</p>
  25. <th:block th:each="userName: ${userNames}">
  26. <div th:text="${userName}"></div>
  27. </th:block> -->
  28. <span th:if="${message}"> </span>
  29. <div th:switch="${#authentication.name}">
  30. <p th:case="'anonymousUser'">Welcome guest
  31. </p>
  32. <p th:case="*"><span th:text="'Welcome ' + ${#authentication.name}"></span></p>
  33. </div>
  34. <p>Chatto is a minimal, end to end encrypted chat application.</p>
  35. <!-- <button class="btn btn-secondary"> <a href="registration.html" th:href="{@/registration}">Get Started</a></button> -->
  36. <a class="btn btn-secondary" href="registration.html" th:href="@{/registration}">Get Started</a>
  37. </div>
  38. </div>
  39. </div>
  40. <div class="col-lg-4 col-md-6">
  41. <div class="card bg-primary text-justified">
  42. <h2 class="card-header text-center">Features</h2>
  43. <div class="card-body ">
  44. <p class="card-text lead">
  45. <ul class="">
  46. <li>
  47. <p class="lead">
  48. <!-- <i class="fas fa-check"></i> -->
  49. Self Hosted
  50. </p>
  51. </li>
  52. <li>
  53. <p class="lead">
  54. <!-- <i class="fas fa-check"></i> -->
  55. End To End Encrypted Messaging
  56. </p>
  57. </li>
  58. <li>
  59. <p class="lead">
  60. <!-- <i class="fas fa-check"></i> -->
  61. Free Software (AGPLv3 Licensed)</p>
  62. </li>
  63. <li>
  64. <p class="lead">
  65. <!-- <i class="fas fa-check"></i> -->
  66. Built With Java And Spring
  67. </p>
  68. </li>
  69. </ul>
  70. </p>
  71. <!-- <p class="card-text">
  72. Open Source
  73. </p>
  74. <p class="card-text">
  75. Built with Java
  76. </p> -->
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. </header>
  84. <section id="my-section">
  85. <div class="container">
  86. <div class="row">
  87. <div class="col text-center py-5">
  88. <h1 class="display-4">
  89. <p class="lead">Lorem ipsum dolor sit, amet consectetur adipisicing elit. Aliquid illum ea accusamus animi voluptate. Quam temporibus aperiam, similique in labore sint quasi harum. Praesentium enim iste dicta quaerat perspiciatis eos.</p>
  90. </h1>
  91. <a href="#" class="btn btn-secondary">Find out more</a>
  92. </div>
  93. </div>
  94. </div>
  95. </section>
  96. </body>
  97. </html>