Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

Commit

Permalink
fix: use png instead of svg for font-based icons
Browse files Browse the repository at this point in the history
  • Loading branch information
leg100 committed Aug 13, 2023
1 parent 1c290e9 commit eae0588
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file added internal/http/html/static/images/api_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added internal/http/html/static/images/ui_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions internal/http/html/static/templates/partials/run_source.tmpl
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{{ define "run-source" }}
{{ if .IsAPISource }}
<img class="h-5 bg-gray-300 p-0.5" id="run-trigger-api" title="run triggered via the API" src="{{ addHash "/static/images/api_icon.svg" }}">
<img class="h-5 bg-gray-300 p-0.5" id="run-trigger-api" title="run triggered via the API" src="{{ addHash "/static/images/api_icon.png" }}">
{{ else if .IsCLISource }}
<img class="h-5 bg-gray-300" id="run-trigger-cli" title="run triggered via the CLI" src="{{ addHash "/static/images/cli_icon.svg" }}">
{{ else if .IsGithubSource }}
<img class="h-5" id="run-trigger-github" title="run triggered via github" src="{{ addHash "/static/images/github_icon.svg" }}">
{{ else if .IsGitlabSource }}
<img class="h-5" id="run-trigger-gitlab" title="run triggered via gitlab" src="{{ addHash "/static/images/gitlab_icon.svg" }}">
{{ else if .IsUISource }}
<img class="h-5 bg-gray-300 p-0.5" id="run-trigger-ui" title="run triggered via the UI" src="{{ addHash "/static/images/ui_icon.svg" }}">
<img class="h-5 bg-gray-300 p-0.5" id="run-trigger-ui" title="run triggered via the UI" src="{{ addHash "/static/images/ui_icon.png" }}">
{{ end }}
{{ end }}

0 comments on commit eae0588

Please sign in to comment.