You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates/repo
silverwind 2ab5f05f40
Add svg linter and fix incorrect svgs (#30086)
Fixes https://github.com/go-gitea/gitea/issues/30082.

Adds a new linter that searches for non-existant SVG images in
templates. Output before the fix was:

```
$ make lint-templates
SVG "octicon-warning" not found, used in templates/devtest/flex-list.tmpl
SVG "octicon-warning" not found, used in templates/devtest/flex-list.tmpl
SVG "octicon-markup" not found, used in templates/repo/diff/comment_form.tmpl
make: *** [Makefile:438: lint-templates] Error 1
```

<img width="306" alt="Screenshot 2024-03-25 at 23 31 05"
src="https://github.com/go-gitea/gitea/assets/115237/1052d1a9-bfec-4d5a-9cae-f895f78f7c93">
11 months ago
..
actions Migrate margin and padding helpers to tailwind (#30043) 11 months ago
branch Migrate margin and padding helpers to tailwind (#30043) 11 months ago
cite Fix Citation modal responsiveness and clipboard copy (#29799) 12 months ago
code Migrate margin and padding helpers to tailwind (#30043) 11 months ago
diff Add svg linter and fix incorrect svgs (#30086) 11 months ago
editor Migrate `gt-hidden` to `tw-hidden` (#30046) 11 months ago
find Migrate `gt-hidden` to `tw-hidden` (#30046) 11 months ago
graph Migrate margin and padding helpers to tailwind (#30043) 11 months ago
issue Fix menu buttons in issues and release (#30056) 11 months ago
migrate Migrate `gt-hidden` to `tw-hidden` (#30046) 11 months ago
projects Migrate margin and padding helpers to tailwind (#30043) 11 months ago
pulls Migrate margin and padding helpers to tailwind (#30043) 11 months ago
release Migrate margin and padding helpers to tailwind (#30043) 11 months ago
settings Migrate `gt-hidden` to `tw-hidden` (#30046) 11 months ago
tag Migrate margin and padding helpers to tailwind (#30043) 11 months ago
wiki Migrate `gt-hidden` to `tw-hidden` (#30046) 11 months ago
activity.tmpl Implement recent commits graph (#29210) 1 year ago
blame.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 11 months ago
branch_dropdown.tmpl Migrate margin and padding helpers to tailwind (#30043) 11 months ago
clone_buttons.tmpl Refactor clone-panel styles (#29861) 12 months ago
clone_script.tmpl Fix URL calculation in clone input box (#29470) 1 year ago
code_frequency.tmpl Implement code frequency graph (#29191) 1 year ago
commit_load_branches_and_tags.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 11 months ago
commit_page.tmpl Migrate margin and padding helpers to tailwind (#30043) 11 months ago
commit_status.tmpl Restore warning commit status (#27504) 1 year ago
commit_statuses.tmpl Replace 10 more gt- classes with tw- (#29945) 11 months ago
commits.tmpl Migrate margin and padding helpers to tailwind (#30043) 11 months ago
commits_list.tmpl Add muted class to author name in repo commit list (#29989) 11 months ago
commits_list_small.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 11 months ago
commits_search_dropdown.tmpl Unify search boxes (#29530) 12 months ago
commits_table.tmpl Migrate margin and padding helpers to tailwind (#30043) 11 months ago
contributors.tmpl Deduplicate translations for contributors graph (#29256) 1 year ago
create.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 11 months ago
create_helper.tmpl Remove incorrect and unnecessary Escape from templates (#29394) 1 year ago
empty.tmpl Migrate margin and padding helpers to tailwind (#30043) 11 months ago
file_info.tmpl Migrate margin and padding helpers to tailwind (#30043) 11 months ago
forks.tmpl Migrate margin and padding helpers to tailwind (#30043) 11 months ago
graph.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 11 months ago
header.tmpl Migrate margin and padding helpers to tailwind (#30043) 11 months ago
home.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 11 months ago
icon.tmpl Replace 10 more gt- classes with tw- (#29945) 11 months ago
latest_commit.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 11 months ago
navbar.tmpl Implement recent commits graph (#29210) 1 year ago
packages.tmpl Fix inconsistent user profile layout across tabs (#25625) 2 years ago
pulse.tmpl Migrate margin and padding helpers to tailwind (#30043) 11 months ago
recent_commits.tmpl Implement recent commits graph (#29210) 1 year ago
release_tag_header.tmpl Fix menu buttons in issues and release (#30056) 11 months ago
search.tmpl Unify search boxes (#29530) 12 months ago
search_name.tmpl Clean template/helper.go (#23922) 2 years ago
shabox_badge.tmpl cleanup locale function usage (#27227) 1 year ago
star_unstar.tmpl Refactor star/watch button (#29576) 1 year ago
sub_menu.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 11 months ago
unicode_escape_prompt.tmpl Replace some `gt-` classes with `tw-` (#29570) 1 year ago
upload.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
user_cards.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 1 year ago
view_file.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 11 months ago
view_list.tmpl Migrate margin and padding helpers to tailwind (#30043) 11 months ago
watch_unwatch.tmpl Refactor star/watch button (#29576) 1 year ago
watchers.tmpl Fix user-cards format (#24428) 2 years ago