Skip to content

Commit 67dafb0

Browse files
committed
Add credential type icons
- Add keychain.png for keychain credential type - Add raw.png for raw JSON credential type - Update paths in credential_form_component.ex Icons are placed in /priv/static/images/ alongside other static images like user.png, google.png, etc. File names without dashes avoid gitignore patterns that exclude digested build assets.
1 parent aa8a7bd commit 67dafb0

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

lib/lightning_web/live/credential_live/credential_form_component.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,12 +1079,12 @@ defmodule LightningWeb.CredentialLive.CredentialFormComponent do
10791079
{"Raw JSON", "raw",
10801080
Routes.static_path(
10811081
LightningWeb.Endpoint,
1082-
"/images/raw-square.png"
1082+
"/images/raw.png"
10831083
), nil},
10841084
{"Keychain", "keychain",
10851085
Routes.static_path(
10861086
LightningWeb.Endpoint,
1087-
"/images/keychain-square.png"
1087+
"/images/keychain.png"
10881088
), nil}
10891089
])
10901090
|> Enum.sort_by(&String.downcase(elem(&1, 0)), :asc)

priv/static/images/keychain.png

23.2 KB
Loading

priv/static/images/raw.png

8.31 KB
Loading

0 commit comments

Comments
 (0)