2015-11-25 18:10:25 -07:00
|
|
|
{{template "base/head" .}}
|
2023-02-01 15:56:10 -07:00
|
|
|
<div role="main" aria-label="{{.Title}}" class="page-content repository wiki start">
|
2015-11-25 18:10:25 -07:00
|
|
|
{{template "repo/header" .}}
|
2015-12-07 15:30:52 -07:00
|
|
|
<div class="ui container">
|
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
2024-03-24 10:42:49 -06:00
|
|
|
<div class="ui center segment tw-py-8">
|
2023-06-23 13:51:43 -06:00
|
|
|
{{svg "octicon-book" 48}}
|
2023-09-25 02:56:50 -06:00
|
|
|
<h2>{{ctx.Locale.Tr "repo.wiki.welcome"}}</h2>
|
|
|
|
<p>{{ctx.Locale.Tr "repo.wiki.welcome_desc"}}</p>
|
2018-11-28 04:26:14 -07:00
|
|
|
{{if and .CanWriteWiki (not .Repository.IsMirror)}}
|
2023-09-25 02:56:50 -06:00
|
|
|
<a class="ui primary button" href="{{.RepoLink}}/wiki?action=_new">{{ctx.Locale.Tr "repo.wiki.create_first_page"}}</a>
|
2015-12-07 15:30:52 -07:00
|
|
|
{{end}}
|
|
|
|
</div>
|
2015-11-25 18:10:25 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-12-07 15:30:52 -07:00
|
|
|
{{template "base/footer" .}}
|