Change default icon for the Log in with Elasticsearch
login selector button. (#65282)
This commit is contained in:
parent
23282a2f37
commit
af8f9fa05f
|
@ -407,7 +407,7 @@ describe('config schema', () => {
|
||||||
"basic1": Object {
|
"basic1": Object {
|
||||||
"description": "Log in with Elasticsearch",
|
"description": "Log in with Elasticsearch",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"icon": "logoElastic",
|
"icon": "logoElasticsearch",
|
||||||
"order": 0,
|
"order": 0,
|
||||||
"showInSelector": true,
|
"showInSelector": true,
|
||||||
},
|
},
|
||||||
|
@ -467,7 +467,7 @@ describe('config schema', () => {
|
||||||
"token1": Object {
|
"token1": Object {
|
||||||
"description": "Log in with Elasticsearch",
|
"description": "Log in with Elasticsearch",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"icon": "logoElastic",
|
"icon": "logoElasticsearch",
|
||||||
"order": 0,
|
"order": 0,
|
||||||
"showInSelector": true,
|
"showInSelector": true,
|
||||||
},
|
},
|
||||||
|
@ -746,14 +746,14 @@ describe('config schema', () => {
|
||||||
"basic1": Object {
|
"basic1": Object {
|
||||||
"description": "Log in with Elasticsearch",
|
"description": "Log in with Elasticsearch",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"icon": "logoElastic",
|
"icon": "logoElasticsearch",
|
||||||
"order": 0,
|
"order": 0,
|
||||||
"showInSelector": true,
|
"showInSelector": true,
|
||||||
},
|
},
|
||||||
"basic2": Object {
|
"basic2": Object {
|
||||||
"description": "Log in with Elasticsearch",
|
"description": "Log in with Elasticsearch",
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
"icon": "logoElastic",
|
"icon": "logoElasticsearch",
|
||||||
"order": 1,
|
"order": 1,
|
||||||
"showInSelector": true,
|
"showInSelector": true,
|
||||||
},
|
},
|
||||||
|
|
|
@ -62,7 +62,7 @@ const providersConfigSchema = schema.object(
|
||||||
defaultMessage: 'Log in with Elasticsearch',
|
defaultMessage: 'Log in with Elasticsearch',
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
icon: schema.string({ defaultValue: 'logoElastic' }),
|
icon: schema.string({ defaultValue: 'logoElasticsearch' }),
|
||||||
showInSelector: schema.boolean({
|
showInSelector: schema.boolean({
|
||||||
defaultValue: true,
|
defaultValue: true,
|
||||||
validate: value => {
|
validate: value => {
|
||||||
|
@ -78,7 +78,7 @@ const providersConfigSchema = schema.object(
|
||||||
defaultMessage: 'Log in with Elasticsearch',
|
defaultMessage: 'Log in with Elasticsearch',
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
icon: schema.string({ defaultValue: 'logoElastic' }),
|
icon: schema.string({ defaultValue: 'logoElasticsearch' }),
|
||||||
showInSelector: schema.boolean({
|
showInSelector: schema.boolean({
|
||||||
defaultValue: true,
|
defaultValue: true,
|
||||||
validate: value => {
|
validate: value => {
|
||||||
|
|
|
@ -252,7 +252,7 @@ describe('Login view routes', () => {
|
||||||
name: 'basic1',
|
name: 'basic1',
|
||||||
type: 'basic',
|
type: 'basic',
|
||||||
usesLoginForm: true,
|
usesLoginForm: true,
|
||||||
icon: 'logoElastic',
|
icon: 'logoElasticsearch',
|
||||||
description: 'Log in with Elasticsearch',
|
description: 'Log in with Elasticsearch',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -264,7 +264,7 @@ describe('Login view routes', () => {
|
||||||
name: 'token1',
|
name: 'token1',
|
||||||
type: 'token',
|
type: 'token',
|
||||||
usesLoginForm: true,
|
usesLoginForm: true,
|
||||||
icon: 'logoElastic',
|
icon: 'logoElasticsearch',
|
||||||
description: 'Log in with Elasticsearch',
|
description: 'Log in with Elasticsearch',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -309,7 +309,7 @@ describe('Login view routes', () => {
|
||||||
name: 'basic1',
|
name: 'basic1',
|
||||||
type: 'basic',
|
type: 'basic',
|
||||||
usesLoginForm: true,
|
usesLoginForm: true,
|
||||||
icon: 'logoElastic',
|
icon: 'logoElasticsearch',
|
||||||
description: 'Log in with Elasticsearch',
|
description: 'Log in with Elasticsearch',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -325,7 +325,7 @@ describe('Login view routes', () => {
|
||||||
name: 'basic1',
|
name: 'basic1',
|
||||||
type: 'basic',
|
type: 'basic',
|
||||||
usesLoginForm: true,
|
usesLoginForm: true,
|
||||||
icon: 'logoElastic',
|
icon: 'logoElasticsearch',
|
||||||
description: 'Log in with Elasticsearch',
|
description: 'Log in with Elasticsearch',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -340,7 +340,7 @@ describe('Login view routes', () => {
|
||||||
order: 0,
|
order: 0,
|
||||||
description: 'some-desc1',
|
description: 'some-desc1',
|
||||||
hint: 'some-hint1',
|
hint: 'some-hint1',
|
||||||
icon: 'logoElastic',
|
icon: 'logoElasticsearch',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
saml: {
|
saml: {
|
||||||
|
@ -355,7 +355,7 @@ describe('Login view routes', () => {
|
||||||
name: 'basic1',
|
name: 'basic1',
|
||||||
description: 'some-desc1',
|
description: 'some-desc1',
|
||||||
hint: 'some-hint1',
|
hint: 'some-hint1',
|
||||||
icon: 'logoElastic',
|
icon: 'logoElasticsearch',
|
||||||
usesLoginForm: true,
|
usesLoginForm: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue