Skip to content

Commit

Permalink
refactor(templates): Adding ketchup logo instead of name
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed Jun 25, 2021
1 parent ed8e964 commit a66cd86
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 2 deletions.
Binary file added cmd/ketchup/static/images/docker.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 cmd/ketchup/static/images/github.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 cmd/ketchup/static/images/helm.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 cmd/ketchup/static/images/npm.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 cmd/ketchup/static/images/pypi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions cmd/ketchup/templates/ketchup.html
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ <h2 class="header">Confirmation</h2>
{{ end }}

{{ define "ketchups" }}
<style>
<style type="text/css">
{{ range .Ketchups }}
#delete-modal-{{ .Repository.ID }}:target,
#edit-modal-{{ .Repository.ID }}:target,
Expand Down Expand Up @@ -316,7 +316,10 @@ <h2 class="header">Confirmation</h2>
{{ end }}

{{ $ketchupType = .Repository.Kind.String }}
<h2 class="separator full">{{ $ketchupType }}</h2>
<h2 class="separator full">
<img class="icon-large" src="{{ url "/svg/" }}{{ $ketchupType }}?fill=silver" alt="{{ $ketchupType }} Logo" title="{{ $ketchupType }}">
</h2>

<section class="ketchups">
{{ end }}

Expand Down

0 comments on commit a66cd86

Please sign in to comment.