Skip to content

Commit

Permalink
Integrations: show different params for shields.io
Browse files Browse the repository at this point in the history
  • Loading branch information
notarock committed Jun 20, 2024
1 parent 9c1e8b9 commit cd13e28
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions views/settings.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -721,14 +721,12 @@ <h3 class="inline-block font-semibold text-gray-300">Add Rule</h3>
<div class="flex gap-x-4 mt-4">
<div class="flex items-center w-1/3">
<img class="with-url-src"
src="https://img.shields.io/endpoint?url=%s/api/compat/shields/v1/{{
.User.ID }}/interval:30_days&label=last%2030d"
src="https://img.shields.io/endpoint?url=%s/api/compat/shields/v1/{{ .User.ID }}/interval:all_time&label=All%20time&color=blue"
alt="Shields.io badge"/>
</div>
<input
class="with-url-value w-2/3 font-mono text-xs appearance-none bg-gray-850 text-gray-500 outline-none rounded py-2 px-4 cursor-not-allowed"
value="https://img.shields.io/endpoint?url=%s/api/compat/shields/v1/{{
.User.ID }}/interval:30_days&label=last%2030d"
value="https://img.shields.io/endpoint?url=%s/api/compat/shields/v1/{{ .User.ID }}/interval:all_time&label=All%20time&color=blue"
readonly>
</div>
{{ end }}
Expand Down

0 comments on commit cd13e28

Please sign in to comment.