s2i2s-theme/welcome/index.ftl

126 lines
5.2 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--
~ JBoss, Home of Professional Open Source.
~ Copyright (c) 2011, Red Hat, Inc., and individual contributors
~ as indicated by the @author tags. See the copyright.txt file in the
~ distribution for a full listing of individual contributors.
~
~ This is free software; you can redistribute it and/or modify it
~ under the terms of the GNU Lesser General Public License as
~ published by the Free Software Foundation; either version 2.1 of
~ the License, or (at your option) any later version.
~
~ This software is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
~ Lesser General Public License for more details.
~
~ You should have received a copy of the GNU Lesser General Public
~ License along with this software; if not, write to the Free
~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
<html>
<head>
<title>Welcome to ISTI-CNR authentication manager</title>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="robots" content="noindex, nofollow">
<link rel="icon" href="${resourcesPath}/favicon.ico">
<#if properties.styles?has_content>
<#list properties.styles?split(' ') as style>
<link href="${resourcesPath}/${style}" rel="stylesheet" />
</#list>
</#if>
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2 col-lg-8 col-lg-offset-2">
<div class="welcome-header">
<img src="${resourcesPath}/logo-isti.png" alt="ISTI-CNR" border="0" />
<h1>Welcome to <strong>ISTI-CNR authentication service</strong></h1>
</div>
<div class="row">
<div class="col-xs-12 col-sm-5">
<div class="card-pf h-l">
<h3><a href="${properties.linkIPA}" target="_blank"><img class="doc-img" src="welcome-content/admin-console.png"> ISTI Account Manager </a></h3>
<div class="description">
Manage your ISTI account
</div>
</div>
</div>
<div class="col-xs-12 col-sm-5">
<div class="card-pf h-l">
<h3><a href="https://accounts.isti.cnr.it/auth/realms/CNR-ISTI/account" target="_blank"><img class="doc-img" src="welcome-content/user.png">Account Access</a></h3>
<div class="description">
Manage your ISTI sessions and your 2FA settings.
</div>
</div>
</div>
</div>
<!-- <div class="row">
<div class="col-xs-12 col-sm-2">
<div class="card-pf h-l">
<#if successMessage?has_content>
<p class="alert success">${successMessage}</p>
<#elseif errorMessage?has_content>
<p class="alert error">${errorMessage}</p>
<h3><img src="${resourcesPath}/admin2.png">Administration</h3>
<#elseif bootstrap>
<#if localUser>
<h3><img src="${resourcesPath}/admin2.png">Administration</h3>
<p>Please create an initial admin user to get started.</p>
<#else>
<p class="welcome-message">
<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>
<br>or use the add-user-keycloak script.
</p>
</#if>
</#if>
<#if bootstrap && localUser>
<form method="post" class="welcome-form">
<p>
<label for="username">Username</label>
<input id="username" name="username" />
</p>
<p>
<label for="password">Password</label>
<input id="password" name="password" type="password" />
</p>
<p>
<label for="passwordConfirmation">Password confirmation</label>
<input id="passwordConfirmation" name="passwordConfirmation" type="password" />
</p>
<input id="stateChecker" name="stateChecker" type="hidden" value="${stateChecker}" />
<button id="create-button" type="submit" class="btn btn-primary">Create</button>
</form>
</#if>
</div>
</div>
</div>
-->
<div class='footer-admin'>
<a href="${adminUrl}"><img src="${resourcesPath}/admin2.png" alt="admin console"></a>
</div>
<div class='footer'>
<#if properties.displayCommunityLinks = "true">
<a href="https://www.keycloak.org/"><img src="${resourcesPath}/keycloak-logo-text.png" alt="KeyCloak"></a>
<a href="http://www.jboss.org"><img src="welcome-content/jboss_community.png" alt="JBoss and JBoss Community"></a>
</#if>
</div>
</div>
</div>
</div>
</body>
</html>