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
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>
2 months ago
..
admin Replace 10 more gt- classes with tw- (#29945) 2 months ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 1 year ago
base Replace 10 more gt- classes with tw- (#29945) 2 months ago
custom Add footer extra links template (#9576) 4 years ago
devtest Replace 10 more gt- classes with tw- (#29945) 2 months ago
explore Replace 10 more gt- classes with tw- (#29945) 2 months ago
mail Remove unnecessary SanitizeHTML from code (#29575) 3 months ago
org Replace 10 more gt- classes with tw- (#29945) 2 months ago
package Replace 10 more gt- classes with tw- (#29945) 2 months ago
projects Replace 10 more gt- classes with tw- (#29945) 2 months ago
repo Replace 10 more gt- classes with tw- (#29945) 2 months ago
shared Replace 10 more gt- classes with tw- (#29945) 2 months ago
status Replace 10 more gt- classes with tw- (#29945) 2 months ago
swagger Fix lint-swagger warning (#29787) 3 months ago
user Replace 10 more gt- classes with tw- (#29945) 2 months ago
webhook Replace 10 more gt- classes with tw- (#29945) 2 months ago
home.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 3 months ago
install.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 3 months ago
post-install.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 8 months ago