0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-21 23:31:40 +01:00
gitea/templates
silverwind f88ad5424f
Replace 10 more gt- classes with tw- (#29945)
Likely the biggest change of the tailwind refactors. Only thing of note
is that `tw-flex-1` resolves to `flex: 1 1 0%` while our `gt-f1` was
`flex: 1 1 0`, I don't think it will make any difference. Commands I've
ran:

```sh
perl -p -i -e 's#gt-vm#tw-align-middle#g' web_src/js/**/* templates/**/* models/**/*
perl -p -i -e 's#gt-fw#tw-flex-wrap#g' web_src/js/**/* templates/**/* models/**/*
perl -p -i -e 's#gt-f1#tw-flex-1#g' web_src/js/**/* templates/**/* models/**/*
perl -p -i -e 's#gt-fc#tw-flex-col#g' web_src/js/**/* templates/**/* models/**/*
perl -p -i -e 's#gt-sb#tw-justify-between#g' web_src/js/**/* templates/**/* models/**/*
perl -p -i -e 's#gt-je#tw-justify-end#g' web_src/js/**/* templates/**/* models/**/*
perl -p -i -e 's#gt-jc#tw-justify-center#g' web_src/js/**/* templates/**/* models/**/*
perl -p -i -e 's#gt-ac#tw-content-center#g' web_src/js/**/* templates/**/* models/**/* tests/**/*
perl -p -i -e 's#gt-df#tw-flex#g' web_src/js/**/* templates/**/* models/**/* tests/**/*
perl -p -i -e 's#gt-dib#tw-inline-block#g' web_src/js/**/* templates/**/* models/**/* tests/**/*

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-03-22 13:45:10 +00:00
..
admin Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
custom
devtest Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
explore Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
mail Remove unnecessary SanitizeHTML from code (#29575) 2024-03-04 12:02:45 +00:00
org Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
package Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
projects Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
repo Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
shared Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
status Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
swagger Fix lint-swagger warning (#29787) 2024-03-14 04:59:52 +00:00
user Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
webhook Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
home.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 2024-02-22 18:05:47 +00:00
install.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-22 17:02:33 +00:00
post-install.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00