diff options
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/auth/signin_inner.tmpl | 6 | ||||
-rw-r--r-- | templates/user/auth/signup_inner.tmpl | 6 | ||||
-rw-r--r-- | templates/user/auth/webauthn.tmpl | 2 | ||||
-rw-r--r-- | templates/user/dashboard/feeds.tmpl | 2 | ||||
-rw-r--r-- | templates/user/dashboard/milestones.tmpl | 2 | ||||
-rw-r--r-- | templates/user/notification/notification_div.tmpl | 12 | ||||
-rw-r--r-- | templates/user/notification/notification_subscriptions.tmpl | 6 | ||||
-rw-r--r-- | templates/user/settings/account.tmpl | 2 | ||||
-rw-r--r-- | templates/user/settings/applications_oauth2_list.tmpl | 2 | ||||
-rw-r--r-- | templates/user/settings/repos.tmpl | 4 | ||||
-rw-r--r-- | templates/user/settings/security/openid.tmpl | 2 |
11 files changed, 23 insertions, 23 deletions
diff --git a/templates/user/auth/signin_inner.tmpl b/templates/user/auth/signin_inner.tmpl index d7d3649a4d..f8eb81423c 100644 --- a/templates/user/auth/signin_inner.tmpl +++ b/templates/user/auth/signin_inner.tmpl @@ -54,10 +54,10 @@ {{ctx.Locale.Tr "sign_in_or"}} </div> <div id="oauth2-login-navigator" class="gt-py-2"> - <div class="gt-df gt-fc gt-jc"> - <div id="oauth2-login-navigator-inner" class="gt-df gt-fc gt-fw gt-ac gt-gap-3"> + <div class="tw-flex tw-flex-col tw-justify-center"> + <div id="oauth2-login-navigator-inner" class="tw-flex tw-flex-col tw-flex-wrap tw-content-center gt-gap-3"> {{range $provider := .OAuth2Providers}} - <a class="{{$provider.Name}} ui button gt-df gt-ac gt-jc gt-py-3 tw-w-full oauth-login-link" href="{{AppSubUrl}}/user/oauth2/{{$provider.DisplayName}}"> + <a class="{{$provider.Name}} ui button tw-flex tw-content-center tw-justify-center gt-py-3 tw-w-full oauth-login-link" href="{{AppSubUrl}}/user/oauth2/{{$provider.DisplayName}}"> {{$provider.IconHTML 28}} {{ctx.Locale.Tr "sign_in_with_provider" $provider.DisplayName}} </a> diff --git a/templates/user/auth/signup_inner.tmpl b/templates/user/auth/signup_inner.tmpl index cfd826a0ce..a911537996 100644 --- a/templates/user/auth/signup_inner.tmpl +++ b/templates/user/auth/signup_inner.tmpl @@ -59,10 +59,10 @@ {{ctx.Locale.Tr "sign_in_or"}} </div> <div id="oauth2-login-navigator" class="gt-py-2"> - <div class="gt-df gt-fc gt-jc"> - <div id="oauth2-login-navigator-inner" class="gt-df gt-fc gt-fw gt-ac gt-gap-3"> + <div class="tw-flex tw-flex-col tw-justify-center"> + <div id="oauth2-login-navigator-inner" class="tw-flex tw-flex-col tw-flex-wrap tw-content-center gt-gap-3"> {{range $provider := .OAuth2Providers}} - <a class="{{$provider.Name}} ui button gt-df gt-ac gt-jc gt-py-3 tw-w-full oauth-login-link" href="{{AppSubUrl}}/user/oauth2/{{$provider.DisplayName}}"> + <a class="{{$provider.Name}} ui button tw-flex tw-content-center tw-justify-center gt-py-3 tw-w-full oauth-login-link" href="{{AppSubUrl}}/user/oauth2/{{$provider.DisplayName}}"> {{$provider.IconHTML 28}} {{ctx.Locale.Tr "sign_in_with_provider" $provider.DisplayName}} </a> diff --git a/templates/user/auth/webauthn.tmpl b/templates/user/auth/webauthn.tmpl index 722da02f54..375ebba9ae 100644 --- a/templates/user/auth/webauthn.tmpl +++ b/templates/user/auth/webauthn.tmpl @@ -10,7 +10,7 @@ {{template "base/alert" .}} <p>{{ctx.Locale.Tr "webauthn_sign_in"}}</p> </div> - <div class="ui attached segment gt-df gt-ac gt-jc gt-gap-2 gt-py-3"> + <div class="ui attached segment tw-flex tw-content-center tw-justify-center gt-gap-2 gt-py-3"> <div class="is-loading" style="width: 40px; height: 40px"></div> {{ctx.Locale.Tr "webauthn_press_button"}} </div> diff --git a/templates/user/dashboard/feeds.tmpl b/templates/user/dashboard/feeds.tmpl index 0e7371ad83..382b0d4542 100644 --- a/templates/user/dashboard/feeds.tmpl +++ b/templates/user/dashboard/feeds.tmpl @@ -84,7 +84,7 @@ {{$push := ActionContent2Commits .}} {{$repoLink := (.GetRepoLink ctx)}} {{$repo := .Repo}} - <div class="gt-df gt-fc gt-gap-2"> + <div class="tw-flex tw-flex-col gt-gap-2"> {{range $push.Commits}} {{$commitLink := printf "%s/commit/%s" $repoLink .Sha1}} <div class="flex-text-block"> diff --git a/templates/user/dashboard/milestones.tmpl b/templates/user/dashboard/milestones.tmpl index 214081d423..05f2b30efb 100644 --- a/templates/user/dashboard/milestones.tmpl +++ b/templates/user/dashboard/milestones.tmpl @@ -79,7 +79,7 @@ {{svg "octicon-milestone" 16}} <a class="muted" href="{{.Repo.Link}}/milestone/{{.ID}}">{{.Name}}</a> </h3> - <div class="gt-df gt-ac"> + <div class="tw-flex tw-content-center"> <span class="gt-mr-3">{{.Completeness}}%</span> <progress value="{{.Completeness}}" max="100"></progress> </div> diff --git a/templates/user/notification/notification_div.tmpl b/templates/user/notification/notification_div.tmpl index 431aca0975..9da9e16d93 100644 --- a/templates/user/notification/notification_div.tmpl +++ b/templates/user/notification/notification_div.tmpl @@ -1,7 +1,7 @@ <div role="main" aria-label="{{.Title}}" class="page-content user notification" id="notification_div" data-sequence-number="{{.SequenceNumber}}"> <div class="ui container"> {{$notificationUnreadCount := call .NotificationUnreadCount}} - <div class="gt-df gt-ac gt-sb gt-mb-4"> + <div class="tw-flex tw-content-center tw-justify-between gt-mb-4"> <div class="small-menu-items ui compact tiny menu"> <a class="{{if eq .Status 1}}active {{end}}item" href="{{AppSubUrl}}/notifications?q=unread"> {{ctx.Locale.Tr "notification.unread"}} @@ -25,7 +25,7 @@ <div class="gt-p-0"> <div id="notification_table"> {{if not .Notifications}} - <div class="gt-df gt-ac gt-fc gt-p-4"> + <div class="tw-flex tw-content-center tw-flex-col gt-p-4"> {{svg "octicon-inbox" 56 "gt-mb-4"}} {{if eq .Status 1}} {{ctx.Locale.Tr "notification.no_unread"}} @@ -35,7 +35,7 @@ </div> {{else}} {{range $notification := .Notifications}} - <div class="notifications-item gt-df gt-ac gt-fw gt-gap-3 gt-p-3" id="notification_{{.ID}}" data-status="{{.Status}}"> + <div class="notifications-item tw-flex tw-content-center tw-flex-wrap gt-gap-3 gt-p-3" id="notification_{{.ID}}" data-status="{{.Status}}"> <div class="notifications-icon gt-ml-3 gt-mr-2 tw-self-start gt-mt-2"> {{if .Issue}} {{template "shared/issueicon" .Issue}} @@ -43,7 +43,7 @@ {{svg "octicon-repo" 16 "text grey"}} {{end}} </div> - <a class="notifications-link gt-df gt-f1 gt-fc silenced" href="{{.Link ctx}}"> + <a class="notifications-link tw-flex tw-flex-1 tw-flex-col silenced" href="{{.Link ctx}}"> <div class="notifications-top-row gt-font-13"> {{.Repository.FullName}} {{if .Issue}}<span class="text light-3">#{{.Issue.Index}}</span>{{end}} {{if eq .Status 3}} @@ -60,14 +60,14 @@ </span> </div> </a> - <div class="notifications-updated gt-ac gt-mr-3"> + <div class="notifications-updated tw-content-center gt-mr-3"> {{if .Issue}} {{TimeSinceUnix .Issue.UpdatedUnix ctx.Locale}} {{else}} {{TimeSinceUnix .UpdatedUnix ctx.Locale}} {{end}} </div> - <div class="notifications-buttons gt-ac gt-je gt-gap-2 gt-px-2"> + <div class="notifications-buttons tw-content-center tw-justify-end gt-gap-2 gt-px-2"> {{if ne .Status 3}} <form action="{{AppSubUrl}}/notifications/status" method="post"> {{$.CsrfTokenHtml}} diff --git a/templates/user/notification/notification_subscriptions.tmpl b/templates/user/notification/notification_subscriptions.tmpl index d39e628263..eb71621d92 100644 --- a/templates/user/notification/notification_subscriptions.tmpl +++ b/templates/user/notification/notification_subscriptions.tmpl @@ -11,8 +11,8 @@ </div> <div class="ui bottom attached active tab segment"> {{if eq .Status 1}} - <div class="gt-df gt-sb"> - <div class="gt-df"> + <div class="tw-flex tw-justify-between"> + <div class="tw-flex"> <div class="small-menu-items ui compact tiny menu"> <a class="{{if eq .State "all"}}active {{end}}item" href="?sort={{$.SortType}}&state=all&issueType={{$.IssueType}}&labels={{$.Labels}}"> {{ctx.Locale.Tr "all"}} @@ -27,7 +27,7 @@ </a> </div> </div> - <div class="gt-df gt-sb"> + <div class="tw-flex tw-justify-between"> <div class="ui right aligned secondary filter menu labels"> <!-- Type --> <div class="ui dropdown type jump item"> diff --git a/templates/user/settings/account.tmpl b/templates/user/settings/account.tmpl index 515e79d739..efc09156e6 100644 --- a/templates/user/settings/account.tmpl +++ b/templates/user/settings/account.tmpl @@ -46,7 +46,7 @@ <form action="{{AppSubUrl}}/user/settings/account/email" class="ui form" method="post"> {{$.CsrfTokenHtml}} <input name="_method" type="hidden" value="NOTIFICATION"> - <div class="gt-df gt-fw gt-gap-3"> + <div class="tw-flex tw-flex-wrap gt-gap-3"> <div class="ui selection dropdown"> <input name="preference" type="hidden" value="{{.EmailNotificationsPreference}}"> {{svg "octicon-triangle-down" 14 "dropdown icon"}} diff --git a/templates/user/settings/applications_oauth2_list.tmpl b/templates/user/settings/applications_oauth2_list.tmpl index bf6b28ec5f..1125a66d47 100644 --- a/templates/user/settings/applications_oauth2_list.tmpl +++ b/templates/user/settings/applications_oauth2_list.tmpl @@ -4,7 +4,7 @@ {{ctx.Locale.Tr "settings.oauth2_application_create_description"}} </div> {{range .Applications}} - <div class="flex-item gt-ac"> + <div class="flex-item tw-content-center"> <div class="flex-item-leading"> {{svg "octicon-apps" 32}} </div> diff --git a/templates/user/settings/repos.tmpl b/templates/user/settings/repos.tmpl index eeb2b6cbdd..41cdae2968 100644 --- a/templates/user/settings/repos.tmpl +++ b/templates/user/settings/repos.tmpl @@ -30,8 +30,8 @@ <span><a href="{{$repo.BaseRepo.Link}}">{{$repo.BaseRepo.OwnerName}}/{{$repo.BaseRepo.Name}}</a></span> {{end}} {{else}} - <span class="icon gt-dib gt-pt-3">{{svg "octicon-file-directory-fill"}}</span> - <span class="name gt-dib gt-pt-3">{{$.ContextUser.Name}}/{{$dir}}</span> + <span class="icon tw-inline-block gt-pt-3">{{svg "octicon-file-directory-fill"}}</span> + <span class="name tw-inline-block gt-pt-3">{{$.ContextUser.Name}}/{{$dir}}</span> <div class="tw-float-right"> {{if $.allowAdopt}} <button class="ui button primary show-modal gt-p-3" data-modal="#adopt-unadopted-modal-{{$dirI}}"><span class="icon">{{svg "octicon-plus"}}</span><span class="label">{{ctx.Locale.Tr "repo.adopt_preexisting_label"}}</span></button> diff --git a/templates/user/settings/security/openid.tmpl b/templates/user/settings/security/openid.tmpl index 0e9b4adcbe..63bc56ba9b 100644 --- a/templates/user/settings/security/openid.tmpl +++ b/templates/user/settings/security/openid.tmpl @@ -7,7 +7,7 @@ {{ctx.Locale.Tr "settings.openid_desc"}} </div> {{range .OpenIDs}} - <div class="flex-item gt-ac"> + <div class="flex-item tw-content-center"> <div class="flex-item-leading"> {{svg "fontawesome-openid" 20}} </div> |