This repository has been archived by the owner on Dec 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use png instead of svg for font-based icons
- Loading branch information
Showing
3 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |