diff options
author | silverwind <me@silverwind.io> | 2024-03-04 04:33:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-04 03:33:20 +0000 |
commit | a2e90014ec20a1085449a66061389cfe0d12260f (patch) | |
tree | 1c0433015657b5ae0afa13080e2c4949f685b040 /templates/user | |
parent | fe6792dff3d167e87b0c4476f7e7a7ce15742855 (diff) | |
download | gitea-a2e90014ec20a1085449a66061389cfe0d12260f.tar.gz gitea-a2e90014ec20a1085449a66061389cfe0d12260f.zip |
Replace some `gt-` classes with `tw-` (#29570)
Replace 18 `gt-` prefixes with `tw-` with perl replacement. I manually
checked them all with `rg` afterwards.
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/auth/captcha.tmpl | 2 | ||||
-rw-r--r-- | templates/user/dashboard/issues.tmpl | 2 | ||||
-rw-r--r-- | templates/user/notification/notification_div.tmpl | 2 | ||||
-rw-r--r-- | templates/user/settings/applications.tmpl | 4 | ||||
-rw-r--r-- | templates/user/settings/repos.tmpl | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/templates/user/auth/captcha.tmpl b/templates/user/auth/captcha.tmpl index 1c3379e629..d4d1a82418 100644 --- a/templates/user/auth/captcha.tmpl +++ b/templates/user/auth/captcha.tmpl @@ -24,7 +24,7 @@ <div id="captcha" data-captcha-type="m-captcha" data-sitekey="{{.McaptchaSitekey}}" data-instance-url="{{.McaptchaURL}}"></div> </div> {{else if eq .CaptchaType "cfturnstile"}} - <div class="inline field gt-text-center"> + <div class="inline field tw-text-center"> <div id="captcha" data-captcha-type="cf-turnstile" data-sitekey="{{.CfTurnstileSitekey}}"></div> </div> <script src='https://challenges.cloudflare.com/turnstile/v0/api.js'></script> diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl index 82622366e7..fd5960c31e 100644 --- a/templates/user/dashboard/issues.tmpl +++ b/templates/user/dashboard/issues.tmpl @@ -57,7 +57,7 @@ </form> <!-- Sort --> <div class="list-header-sort ui small dropdown type jump item"> - <span class="text gt-whitespace-nowrap"> + <span class="text tw-whitespace-nowrap"> {{ctx.Locale.Tr "repo.issues.filter_sort"}} {{svg "octicon-triangle-down" 14 "dropdown icon"}} </span> diff --git a/templates/user/notification/notification_div.tmpl b/templates/user/notification/notification_div.tmpl index d8f8d462d3..431aca0975 100644 --- a/templates/user/notification/notification_div.tmpl +++ b/templates/user/notification/notification_div.tmpl @@ -36,7 +36,7 @@ {{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-icon gt-ml-3 gt-mr-2 gt-self-start gt-mt-2"> + <div class="notifications-icon gt-ml-3 gt-mr-2 tw-self-start gt-mt-2"> {{if .Issue}} {{template "shared/issueicon" .Issue}} {{else}} diff --git a/templates/user/settings/applications.tmpl b/templates/user/settings/applications.tmpl index 7ce9a4b70f..e43cf2ebbe 100644 --- a/templates/user/settings/applications.tmpl +++ b/templates/user/settings/applications.tmpl @@ -61,11 +61,11 @@ </div> <div class="field"> <label>{{ctx.Locale.Tr "settings.repo_and_org_access"}}</label> - <label class="gt-cursor-pointer"> + <label class="tw-cursor-pointer"> <input class="enable-system gt-mt-2 gt-mr-2" type="radio" name="scope" value="{{$.AccessTokenScopePublicOnly}}"> {{ctx.Locale.Tr "settings.permissions_public_only"}} </label> - <label class="gt-cursor-pointer"> + <label class="tw-cursor-pointer"> <input class="enable-system gt-mt-2 gt-mr-2" type="radio" name="scope" value="" checked> {{ctx.Locale.Tr "settings.permissions_access_all"}} </label> diff --git a/templates/user/settings/repos.tmpl b/templates/user/settings/repos.tmpl index 5aabec547a..eeb2b6cbdd 100644 --- a/templates/user/settings/repos.tmpl +++ b/templates/user/settings/repos.tmpl @@ -32,7 +32,7 @@ {{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> - <div class="gt-float-right"> + <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> <div class="ui g-modal-confirm modal" id="adopt-unadopted-modal-{{$dirI}}"> |