aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-05-25 19:41:26 +0200
committerMax Magorsch <arzano@gentoo.org>2020-05-25 19:41:26 +0200
commit2aff5aa62a0ffec868402fdcd9ce004f68b966c9 (patch)
tree0a88626e3220982cb8c4fb08b3066facf173bb2e /account/account.ftl
parentAdd docker-compose file for development purposes (diff)
downloadtyrian-keycloak-theme-master.tar.gz
tyrian-keycloak-theme-master.tar.bz2
tyrian-keycloak-theme-master.zip
account: Rework the account designHEADmaster
Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'account/account.ftl')
-rw-r--r--account/account.ftl28
1 files changed, 14 insertions, 14 deletions
diff --git a/account/account.ftl b/account/account.ftl
index 9254b96..b0ac59e 100644
--- a/account/account.ftl
+++ b/account/account.ftl
@@ -3,7 +3,7 @@
<div class="row">
<div class="col-md-10">
- <h2>${msg("editAccountHtmlTitle")}</h2>
+ <h1 class="first-header">${msg("editAccountHtmlTitle")}</h1>
</div>
<div class="col-md-2 subtitle">
<span class="subtitle"><span class="required">*</span> ${msg("requiredFields")}</span>
@@ -15,49 +15,49 @@
<input type="hidden" id="stateChecker" name="stateChecker" value="${stateChecker}">
<#if !realm.registrationEmailAsUsername>
- <div class="form-group ${messagesPerField.printIfExists('username','has-error')}">
- <div class="col-sm-2 col-md-2">
+ <div class="form-group row ${messagesPerField.printIfExists('username','has-error')}">
+ <div class="col-2 col-md-2">
<label for="username" class="control-label">${msg("username")}</label> <#if realm.editUsernameAllowed><span class="required">*</span></#if>
</div>
- <div class="col-sm-10 col-md-10">
+ <div class="col-10 col-md-10">
<input type="text" class="form-control" id="username" name="username" <#if !realm.editUsernameAllowed>disabled="disabled"</#if> value="${(account.username!'')}"/>
</div>
</div>
</#if>
- <div class="form-group ${messagesPerField.printIfExists('email','has-error')}">
- <div class="col-sm-2 col-md-2">
+ <div class="form-group row ${messagesPerField.printIfExists('email','has-error')}">
+ <div class="col-2 col-md-2">
<label for="email" class="control-label">${msg("email")}</label> <span class="required">*</span>
</div>
- <div class="col-sm-10 col-md-10">
+ <div class="col-10 col-md-10">
<input type="text" class="form-control" id="email" name="email" autofocus value="${(account.email!'')}"/>
</div>
</div>
- <div class="form-group ${messagesPerField.printIfExists('firstName','has-error')}">
- <div class="col-sm-2 col-md-2">
+ <div class="form-group row ${messagesPerField.printIfExists('firstName','has-error')}">
+ <div class="col-2 col-md-2">
<label for="firstName" class="control-label">${msg("firstName")}</label> <span class="required">*</span>
</div>
- <div class="col-sm-10 col-md-10">
+ <div class="col-10 col-md-10">
<input type="text" class="form-control" id="firstName" name="firstName" value="${(account.firstName!'')}"/>
</div>
</div>
- <div class="form-group ${messagesPerField.printIfExists('lastName','has-error')}">
- <div class="col-sm-2 col-md-2">
+ <div class="form-group row ${messagesPerField.printIfExists('lastName','has-error')}">
+ <div class="col-2 col-md-2">
<label for="lastName" class="control-label">${msg("lastName")}</label> <span class="required">*</span>
</div>
- <div class="col-sm-10 col-md-10">
+ <div class="col-10 col-md-10">
<input type="text" class="form-control" id="lastName" name="lastName" value="${(account.lastName!'')}"/>
</div>
</div>
<div class="form-group">
- <div id="kc-form-buttons" class="col-md-offset-2 col-md-10 submit">
+ <div id="kc-form-buttons" class="offset-md-2 col-md-10 px-0 submit">
<div class="">
<#if url.referrerURI??><a href="${url.referrerURI}">${kcSanitize(msg("backToApplication")?no_esc)}</a></#if>
<button type="submit" class="${properties.kcButtonClass!} ${properties.kcButtonPrimaryClass!} ${properties.kcButtonLargeClass!}" name="submitAction" value="Save">${msg("doSave")}</button>