2015-11-16 16:11:59 +00:00
|
|
|
{{template "base/head" .}}
|
2023-02-01 22:56:10 +00:00
|
|
|
<div role="main" aria-label="{{.Title}}" class="page-content user profile">
|
2015-12-07 22:30:52 +00:00
|
|
|
<div class="ui container">
|
2017-12-31 00:47:52 +00:00
|
|
|
<div class="ui stackable grid">
|
2023-05-23 17:55:51 +00:00
|
|
|
<div class="ui four wide column">
|
2023-07-06 18:59:24 +00:00
|
|
|
{{template "shared/user/profile_big_avatar" .}}
|
2015-12-07 22:30:52 +00:00
|
|
|
</div>
|
2023-05-23 17:55:51 +00:00
|
|
|
<div class="ui twelve wide column">
|
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 16:42:49 +00:00
|
|
|
<div class="tw-mb-4">
|
2023-05-09 05:57:24 +00:00
|
|
|
{{template "user/overview/header" .}}
|
2015-12-07 22:30:52 +00:00
|
|
|
</div>
|
2016-12-29 14:58:24 +00:00
|
|
|
|
|
|
|
{{if eq .TabName "activity"}}
|
2023-04-20 17:33:30 +00:00
|
|
|
{{if .ContextUser.KeepActivityPrivate}}
|
2020-06-05 20:01:53 +00:00
|
|
|
<div class="ui info message">
|
2023-09-25 08:56:50 +00:00
|
|
|
<p>{{ctx.Locale.Tr "user.disabled_public_activity"}}</p>
|
2020-06-05 20:01:53 +00:00
|
|
|
</div>
|
|
|
|
{{end}}
|
2020-11-18 22:00:16 +00:00
|
|
|
{{template "user/heatmap" .}}
|
2023-08-31 21:28:45 +00:00
|
|
|
{{template "user/dashboard/feeds" .}}
|
2016-12-29 14:58:24 +00:00
|
|
|
{{else if eq .TabName "stars"}}
|
|
|
|
<div class="stars">
|
2024-03-03 10:18:34 +00:00
|
|
|
{{template "shared/repo_search" .}}
|
2016-12-29 14:58:24 +00:00
|
|
|
{{template "explore/repo_list" .}}
|
2017-02-07 11:54:16 +00:00
|
|
|
{{template "base/paginate" .}}
|
2016-12-29 14:58:24 +00:00
|
|
|
</div>
|
2020-02-09 20:18:01 +00:00
|
|
|
{{else if eq .TabName "following"}}
|
|
|
|
{{template "repo/user_cards" .}}
|
|
|
|
{{else if eq .TabName "followers"}}
|
|
|
|
{{template "repo/user_cards" .}}
|
2023-07-06 18:59:24 +00:00
|
|
|
{{else if eq .TabName "overview"}}
|
2024-03-01 07:11:51 +00:00
|
|
|
<div id="readme_profile" class="markup">{{.ProfileReadme}}</div>
|
2023-07-06 18:59:24 +00:00
|
|
|
{{else}}
|
2024-03-03 10:18:34 +00:00
|
|
|
{{template "shared/repo_search" .}}
|
2016-12-29 14:58:24 +00:00
|
|
|
{{template "explore/repo_list" .}}
|
|
|
|
{{template "base/paginate" .}}
|
2015-12-07 22:30:52 +00:00
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-03-02 13:47:55 +00:00
|
|
|
</div>
|
2015-12-07 22:30:52 +00:00
|
|
|
{{template "base/footer" .}}
|