index.ftl 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <!--
  2. ~ JBoss, Home of Professional Open Source.
  3. ~ Copyright (c) 2011, Red Hat, Inc., and individual contributors
  4. ~ as indicated by the @author tags. See the copyright.txt file in the
  5. ~ distribution for a full listing of individual contributors.
  6. ~
  7. ~ This is free software; you can redistribute it and/or modify it
  8. ~ under the terms of the GNU Lesser General Public License as
  9. ~ published by the Free Software Foundation; either version 2.1 of
  10. ~ the License, or (at your option) any later version.
  11. ~
  12. ~ This software is distributed in the hope that it will be useful,
  13. ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. ~ Lesser General Public License for more details.
  16. ~
  17. ~ You should have received a copy of the GNU Lesser General Public
  18. ~ License along with this software; if not, write to the Free
  19. ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  20. ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  21. -->
  22. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  23.  
  24. <html>
  25. <head>
  26. <title>Welcome to ${productNameFull}</title>
  27. <meta charset="utf-8">
  28. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  29. <meta name="robots" content="noindex, nofollow">
  30. <link rel="shortcut icon" href="${resourcesPath}/img/favicon.ico" />
  31. <#if properties.stylesCommon?has_content>
  32. <#list properties.stylesCommon?split(' ') as style>
  33. <link href="${resourcesCommonPath}/${style}" rel="stylesheet" />
  34. </#list>
  35. </#if>
  36. <#if properties.styles?has_content>
  37. <#list properties.styles?split(' ') as style>
  38. <link href="${resourcesPath}/${style}" rel="stylesheet" />
  39. </#list>
  40. </#if>
  41. </head>
  42. <body>
  43. <div class="container-fluid">
  44. <div class="row">
  45. <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2 col-lg-8 col-lg-offset-2">
  46. <div class="welcome-header">
  47. <img src="${resourcesPath}/logo.png" alt="${productName}" border="0" />
  48. <h1>Welcome to <strong>${productNameFull}</strong></h1>
  49. </div>
  50. <div class="row">
  51. <div class="col-xs-12 col-sm-4">
  52. <div class="card-pf h-l">
  53. <#if successMessage?has_content>
  54. <p class="alert success">${successMessage}</p>
  55. <#elseif errorMessage?has_content>
  56. <p class="alert error">${errorMessage}</p>
  57. <h3><img src="welcome-content/user.png">Administration Console</h3>
  58. <#elseif bootstrap>
  59. <#if localUser>
  60. <h3><img src="welcome-content/user.png">Administration Console</h3>
  61. <p>Please create an initial admin user to get started.</p>
  62. <#else>
  63. <p class="welcome-message">
  64. <img src="welcome-content/alert.png">You need local access to create the initial admin user. <br><br>Open <a href="http://localhost:8080/auth">http://localhost:8080/auth</a>
  65. <br>or use the add-user-keycloak script.
  66. </p>
  67. </#if>
  68. </#if>
  69. <#if bootstrap && localUser>
  70. <form method="post" class="welcome-form">
  71. <p>
  72. <label for="username">Username</label>
  73. <input id="username" name="username" />
  74. </p>
  75. <p>
  76. <label for="password">Password</label>
  77. <input id="password" name="password" type="password" />
  78. </p>
  79. <p>
  80. <label for="passwordConfirmation">Password confirmation</label>
  81. <input id="passwordConfirmation" name="passwordConfirmation" type="password" />
  82. </p>
  83. <input id="stateChecker" name="stateChecker" type="hidden" value="${stateChecker}" />
  84. <button id="create-button" type="submit" class="btn btn-primary">Create</button>
  85. </form>
  86. </#if>
  87. <div class="welcome-primary-link">
  88. <h3><a href="${adminUrl}"><img src="welcome-content/user.png">Administration Console <i class="fa fa-angle-right link" aria-hidden="true"></i></a></h3>
  89. <div class="description">
  90. Centrally manage all aspects of the ${productNameFull} server
  91. </div>
  92. </div>
  93. </div>
  94. </div>
  95. <div class="col-xs-12 col-sm-4">
  96. <div class="card-pf h-l">
  97. <h3><a href="${properties.documentationUrl}"><img class="doc-img" src="welcome-content/admin-console.png">Documentation <i class="fa fa-angle-right link" aria-hidden="true"></i></a></h3>
  98. <div class="description">
  99. User Guide, Admin REST API and Javadocs
  100. </div>
  101. </div>
  102. </div>
  103. <div class="col-xs-12 col-sm-4">
  104. <#if properties.displayCommunityLinks = "true">
  105. <div class="card-pf h-m">
  106. <h3><a href="http://www.keycloak.org"><img src="welcome-content/keycloak-project.png">Keycloak Project <i class="fa fa-angle-right link" aria-hidden="true"></i></a></h3>
  107. </div>
  108. <div class="card-pf h-m">
  109. <h3><a href="https://groups.google.com/forum/#!forum/keycloak-user"><img src="welcome-content/mail.png">Mailing List <i class="fa fa-angle-right link" aria-hidden="true"></i></a></h3>
  110. </div>
  111. <div class="card-pf h-m">
  112. <h3><a href="https://issues.jboss.org/browse/KEYCLOAK"><img src="welcome-content/bug.png">Report an issue <i class="fa fa-angle-right link" aria-hidden="true"></i></a></h3>
  113. </div>
  114. </#if>
  115. </div>
  116. </div>
  117. <div class='footer'>
  118. <#if properties.displayCommunityLinks = "true">
  119. <a href="http://www.jboss.org"><img src="welcome-content/jboss_community.png" alt="JBoss and JBoss Community"></a>
  120. </#if>
  121. </div>
  122. </div>
  123. </div>
  124. </div>
  125. </body>
  126. </html>