deleted templates folder

This commit is contained in:
2024-07-23 13:10:38 +02:00
parent 58f37a4602
commit 061b92c8e3
486 changed files with 0 additions and 0 deletions
admin
api/packages/pypi
base
custom
devtest
explore
home.tmplinstall.tmpl
mail
org
package
post-install.tmpl
projects
repo
actions
activity.tmplblame.tmpl
branch
branch_dropdown.tmpl
cite
clone_buttons.tmplclone_script.tmpl
code
code_frequency.tmplcommit_load_branches_and_tags.tmplcommit_page.tmplcommit_status.tmplcommit_statuses.tmplcommits.tmplcommits_list.tmplcommits_list_small.tmplcommits_search_dropdown.tmplcommits_table.tmplcontributors.tmplcreate.tmplcreate_helper.tmpl
diff
editor
empty.tmplfile_info.tmpl
find
forks.tmplgraph.tmpl
graph
header.tmplhome.tmplicon.tmpl
issue
latest_commit.tmpl
migrate
navbar.tmplpackages.tmpl
projects
pulls
pulse.tmplrecent_commits.tmpl
release
release_tag_header.tmplsearch.tmplsearch_name.tmpl
settings
shabox_badge.tmplstar_unstar.tmplsub_menu.tmpl
tag
unicode_escape_prompt.tmplupload.tmpluser_cards.tmplview_file.tmplview_list.tmplwatch_unwatch.tmplwatchers.tmpl
wiki
shared
status
swagger
user
webhook

27
shared/webhook/icon.tmpl Normal file

@ -0,0 +1,27 @@
{{$size := 26}}
{{if .Size}}
{{$size = .Size}}
{{end}}
{{if eq .HookType "gitea"}}
{{svg "gitea-gitea" $size "img"}}
{{else if eq .HookType "gogs"}}
<img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/gogs.ico">
{{else if eq .HookType "slack"}}
<img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/slack.png">
{{else if eq .HookType "discord"}}
<img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/discord.png">
{{else if eq .HookType "dingtalk"}}
<img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/dingtalk.ico">
{{else if eq .HookType "telegram"}}
<img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/telegram.png">
{{else if eq .HookType "msteams"}}
<img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/msteams.png">
{{else if eq .HookType "feishu"}}
<img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/feishu.png">
{{else if eq .HookType "matrix"}}
{{svg "gitea-matrix" $size "img"}}
{{else if eq .HookType "wechatwork"}}
<img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/wechatwork.png">
{{else if eq .HookType "packagist"}}
<img width="{{$size}}" height="{{$size}}" src="{{AssetUrlPrefix}}/img/packagist.png">
{{end}}