diff --git a/docker-compose.yml b/docker-compose.yml index 87782e80..5df8b407 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -250,7 +250,11 @@ services: logging: *default-logging volumes: - ./docker/kratos-selfservice-ui-node/main.hbs:/usr/src/app/views/layouts/main.hbs:ro + - ./docker/kratos-selfservice-ui-node/login.hbs:/usr/src/app/views/views/login.hbs:ro + - ./docker/kratos-selfservice-ui-node/registration.hbs:/usr/src/app/views/views/registration.hbs:ro + - ./docker/kratos-selfservice-ui-node/icon_logo.hbs:/usr/src/app/views/partials/icon_logo.hbs:ro - ./docker/kratos-selfservice-ui-node/branding.css:/usr/src/app/public/branding.css:ro + - ./docker/kratos-selfservice-ui-node/favico.png:/usr/src/app/public/favico.png:ro environment: - PORT=4435 - SECURITY_MODE=jwks diff --git a/docker/kratos-selfservice-ui-node/branding.css b/docker/kratos-selfservice-ui-node/branding.css index 3799c122..91fe5848 100644 --- a/docker/kratos-selfservice-ui-node/branding.css +++ b/docker/kratos-selfservice-ui-node/branding.css @@ -6,9 +6,13 @@ --base-dark: #19191d; --base-black: #000000; --primary-light: #ecfdfe; - --primary-half: #95e1f9; - --primary-main: #3dacfc; + --primary-half: #4ea156; + --primary-main: #57b560; --primary-dark: #2e0473; --red-strong: #f44336; --green-strong: #43a047; } + +.logo { + margin: 0 auto; +} diff --git a/docker/kratos-selfservice-ui-node/favico.ico b/docker/kratos-selfservice-ui-node/favico.ico new file mode 100644 index 00000000..30c2af53 Binary files /dev/null and b/docker/kratos-selfservice-ui-node/favico.ico differ diff --git a/docker/kratos-selfservice-ui-node/icon_logo.hbs b/docker/kratos-selfservice-ui-node/icon_logo.hbs new file mode 100644 index 00000000..e5ee2e5c --- /dev/null +++ b/docker/kratos-selfservice-ui-node/icon_logo.hbs @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/docker/kratos-selfservice-ui-node/login.hbs b/docker/kratos-selfservice-ui-node/login.hbs new file mode 100644 index 00000000..42fb184d --- /dev/null +++ b/docker/kratos-selfservice-ui-node/login.hbs @@ -0,0 +1,28 @@ +
+
+ {{> icon_logo}} +
Welcome to siasky.net!
+ + {{> messages messages=messages className="global"}} + + {{#if password}} +
+ {{> form submitLabel="Sign in" form=password}} +
+ {{/if}} + + {{#if oidc}} +
+ {{> form form=oidc}} +
+ {{/if}} + +
+ + +
+
\ No newline at end of file diff --git a/docker/kratos-selfservice-ui-node/registration.hbs b/docker/kratos-selfservice-ui-node/registration.hbs new file mode 100644 index 00000000..51d7cf57 --- /dev/null +++ b/docker/kratos-selfservice-ui-node/registration.hbs @@ -0,0 +1,27 @@ +
+
+ {{> icon_logo}} +
Welcome to siasky.net!
+ Use the form below to sign up:
+ + {{> messages messages=messages className="global"}} + + {{#if password}} +
+ {{> form submitLabel="Sign up" form=password}} +
+ {{/if}} + + {{#if oidc}} +
+ {{> form form=oidc}} +
+ {{/if}} + +
+ + +
+
\ No newline at end of file