Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
0f00ed47
Verified
Commit
0f00ed47
authored
Jan 19, 2021
by
Sven-Hendrik Haase
Browse files
keycloak: Upgrade theme
parent
f96dfe78
Pipeline
#4659
passed with stage
in 42 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
roles/keycloak/files/theme/archlinux/account/index.ftl
View file @
0f00ed47
...
...
@@ -45,7 +45,8 @@
isLinkedAccountsEnabled
:
$
{
realm
.
identityFederationEnabled
?
c
},
isEventsEnabled
:
$
{
isEventsEnabled
?
c
},
isMyResourcesEnabled
:
$
{(
realm
.
userManagedAccessAllowed
&&
isAuthorizationEnabled
)?
c
},
isTotpConfigured
:
$
{
isTotpConfigured
?
c
}
isTotpConfigured
:
$
{
isTotpConfigured
?
c
},
deleteAccountAllowed
:
$
{
deleteAccountAllowed
?
c
}
}
var
availableLocales
=
[];
...
...
@@ -109,20 +110,20 @@
</
#
list>
</
#
if>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"${resource
Url}/public
/base.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"${resource
Url}/public
/app.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"${resource
CommonUrl}/web_modules/@patternfly/react-core/dist/styles
/base.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"${resource
CommonUrl}/web_modules/@patternfly/react-core/dist/styles
/app.css"
/>
<link
href=
"${resourceUrl}/public/layout.css"
rel=
"stylesheet"
/>
</head>
<body>
<script>
var
keycloak
=
Keycloak
({
const
keycloak
=
Keycloak
({
authServerUrl
:
authUrl
,
realm
:
realm
,
clientId
:
'
account-console
'
});
keycloak
.
init
({
onLoad
:
'
check-sso
'
,
pkceMethod
:
'
S256
'
}).
success
(
function
(
authenticated
)
{
keycloak
.
init
({
onLoad
:
'
check-sso
'
,
pkceMethod
:
'
S256
'
,
promiseType
:
'
native
'
}).
then
(
(
authenticated
)
=>
{
isReactLoading
=
true
;
toggleReact
();
if
(
!
keycloak
.
authenticated
)
{
...
...
@@ -135,8 +136,7 @@
}
loadjs
(
"
/Main.js
"
);
}).
error
(
function
()
{
}).
catch
(()
=>
{
alert
(
'
failed to initialize keycloak
'
);
});
</script>
...
...
roles/keycloak/files/theme/archlinux/account/theme.properties
View file @
0f00ed47
parent
=
keycloak
-preview
parent
=
keycloak
.v2
logo
=
/public/archlinux-logo-light.svg
logoDark
=
/public/archlinux-logo-dark.svg
favIcon
=
/public/archlinux-favicon.ico
Kristian Klausen
🎉
@klausenbusk
mentioned in issue
#229 (closed)
·
Mar 05, 2021
mentioned in issue
#229 (closed)
mentioned in issue #229
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment