Skip to content

Commit dead19d

Browse files
silverwindpull[bot]
authored andcommitted
Replace some gt- classes with tw- (#29570)
Replace 18 `gt-` prefixes with `tw-` with perl replacement. I manually checked them all with `rg` afterwards.
1 parent 1fd433e commit dead19d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+50
-70
lines changed

templates/admin/notice.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<tr>
3232
<th></th>
3333
<th colspan="5">
34-
<form class="gt-float-right" method="post" action="{{AppSubUrl}}/admin/notices/empty">
34+
<form class="tw-float-right" method="post" action="{{AppSubUrl}}/admin/notices/empty">
3535
{{.CsrfTokenHtml}}
3636
<button type="submit" class="ui red small button">{{ctx.Locale.Tr "admin.notices.delete_all"}}</button>
3737
</form>

templates/org/header.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{{if .Org.Visibility.IsLimited}}<span class="ui large basic horizontal label">{{ctx.Locale.Tr "org.settings.visibility.limited_shortname"}}</span>{{end}}
88
{{if .Org.Visibility.IsPrivate}}<span class="ui large basic horizontal label">{{ctx.Locale.Tr "org.settings.visibility.private_shortname"}}</span>{{end}}
99
</span>
10-
<span class="gt-df gt-ac gt-gap-2 gt-ml-auto gt-font-16 gt-whitespace-nowrap">
10+
<span class="gt-df gt-ac gt-gap-2 gt-ml-auto gt-font-16 tw-whitespace-nowrap">
1111
{{if .EnableFeed}}
1212
<a class="ui basic label button gt-mr-0" href="{{.Org.HomeLink}}.rss" data-tooltip-content="{{ctx.Locale.Tr "rss_feed"}}">
1313
{{svg "octicon-rss" 24}}

templates/package/view.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
{{end}}
8888
<div class="divider"></div>
8989
<strong>{{ctx.Locale.Tr "packages.versions"}} ({{.TotalVersionCount}})</strong>
90-
<a class="gt-float-right" href="{{$.PackageDescriptor.PackageWebLink}}/versions">{{ctx.Locale.Tr "packages.versions.view_all"}}</a>
90+
<a class="tw-float-right" href="{{$.PackageDescriptor.PackageWebLink}}/versions">{{ctx.Locale.Tr "packages.versions.view_all"}}</a>
9191
<div class="ui relaxed list">
9292
{{range .LatestVersions}}
9393
<div class="item gt-df">

templates/projects/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{{ctx.Locale.PrettyNumber .ClosedCount}}&nbsp;{{ctx.Locale.Tr "repo.issues.closed_title"}}
1111
</a>
1212
</div>
13-
<div class="gt-text-right">
13+
<div class="tw-text-right">
1414
<a class="ui small primary button" href="{{$.Link}}/new">{{ctx.Locale.Tr "repo.projects.new"}}</a>
1515
</div>
1616
</div>

templates/projects/new.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
</div>
5656
</div>
5757
<div class="divider"></div>
58-
<div class="gt-text-right">
58+
<div class="tw-text-right">
5959
<a class="ui cancel button" href="{{$.CancelLink}}">
6060
{{ctx.Locale.Tr "repo.milestones.cancel"}}
6161
</a>

templates/projects/view.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,9 @@
165165

166166
<div class="divider"></div>
167167

168-
<div class="ui cards {{if and $canWriteProject (ne .ID 0)}}{{/* ID 0 is default column which cannot be moved */}}gt-cursor-grab{{end}}" data-url="{{$.Link}}/{{.ID}}" data-project="{{$.Project.ID}}" data-board="{{.ID}}" id="board_{{.ID}}">
168+
<div class="ui cards {{if and $canWriteProject (ne .ID 0)}}{{/* ID 0 is default column which cannot be moved */}}tw-cursor-grab{{end}}" data-url="{{$.Link}}/{{.ID}}" data-project="{{$.Project.ID}}" data-board="{{.ID}}" id="board_{{.ID}}">
169169
{{range (index $.IssuesMap .ID)}}
170-
<div class="issue-card gt-word-break {{if $canWriteProject}}gt-cursor-grab{{end}}" data-issue="{{.ID}}">
170+
<div class="issue-card gt-word-break {{if $canWriteProject}}tw-cursor-grab{{end}}" data-issue="{{.ID}}">
171171
{{template "repo/issue/card" (dict "Issue" . "Page" $)}}
172172
</div>
173173
{{end}}

templates/repo/branch/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
<div class="gt-df gt-ac">
7373
{{ctx.Locale.Tr "repo.branches"}}
7474
</div>
75-
<div class="gt-whitespace-nowrap">
75+
<div class="tw-whitespace-nowrap">
7676
<form class="ignore-dirty" method="get">
7777
<div class="ui tiny search input">
7878
<input name="q" placeholder="{{ctx.Locale.Tr "repo.branch.search"}}" value="{{.Keyword}}" autofocus>

templates/repo/commit_page.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
</div>
185185
</div>
186186
{{if .Commit.Signature}}
187-
<div class="ui bottom attached message gt-text-left gt-df gt-ac gt-sb commit-header-row gt-fw gt-mb-0 {{$class}}">
187+
<div class="ui bottom attached message tw-text-left gt-df gt-ac gt-sb commit-header-row gt-fw gt-mb-0 {{$class}}">
188188
<div class="gt-df gt-ac">
189189
{{if .Verification.Verified}}
190190
{{if ne .Verification.SigningUser.ID 0}}

templates/repo/commits_list_small.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
{{$commitLink:= printf "%s/commit/%s" $.comment.Issue.PullRequest.BaseRepo.Link (PathEscape .ID.String)}}
1515

16-
<span class="shabox gt-df gt-ac gt-float-right">
16+
<span class="shabox gt-df gt-ac tw-float-right">
1717
{{template "repo/commit_statuses" dict "Status" .Status "Statuses" .Statuses}}
1818
{{$class := "ui sha label"}}
1919
{{if .Signature}}

templates/repo/commits_table.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{{ctx.Locale.Tr "repo.commits.no_commits" $.BaseBranch $.HeadBranch}}
99
{{end}}
1010
</div>
11-
<div class="commits-table-right gt-whitespace-nowrap">
11+
<div class="commits-table-right tw-whitespace-nowrap">
1212
{{if .PageIsCommits}}
1313
<form class="ignore-dirty" action="{{.RepoLink}}/commits/{{.BranchNameSubURL}}/search">
1414
<div class="ui tiny search input">

templates/repo/diff/box.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</div>
2626
<div class="diff-detail-actions">
2727
{{if and .PageIsPullFiles $.SignedUserID (not .IsArchived) (not .DiffNotAvailable)}}
28-
<div class="not-mobile gt-df gt-ac gt-fc gt-whitespace-nowrap gt-mr-2">
28+
<div class="not-mobile gt-df gt-ac gt-fc tw-whitespace-nowrap gt-mr-2">
2929
<label for="viewed-files-summary" id="viewed-files-summary-label" data-text-changed-template="{{ctx.Locale.Tr "repo.pulls.viewed_files_label"}}">
3030
{{ctx.Locale.Tr "repo.pulls.viewed_files_label" .Diff.NumViewedFiles .Diff.NumFiles}}
3131
</label>
@@ -202,7 +202,7 @@
202202
</div>
203203
{{if $showFileViewToggle}}
204204
{{/* for image or CSV, it can have a horizontal scroll bar, there won't be review comment context menu (position absolute) which would be clipped by "overflow" */}}
205-
<div id="diff-rendered-{{$file.NameHash}}" class="file-body file-code {{if $.IsSplitStyle}}code-diff-split{{else}}code-diff-unified{{end}} gt-overflow-x-scroll">
205+
<div id="diff-rendered-{{$file.NameHash}}" class="file-body file-code {{if $.IsSplitStyle}}code-diff-split{{else}}code-diff-unified{{end}} tw-overflow-x-scroll">
206206
<table class="chroma tw-w-full">
207207
{{if $isImage}}
208208
{{template "repo/diff/image_diff" dict "file" . "root" $ "blobBase" $blobBase "blobHead" $blobHead "sniffedTypeBase" $sniffedTypeBase "sniffedTypeHead" $sniffedTypeHead}}

templates/repo/diff/comment_form.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
<div class="field footer gt-mx-3">
2929
<span class="markup-info">{{svg "octicon-markup"}} {{ctx.Locale.Tr "repo.diff.comment.markdown_info"}}</span>
30-
<div class="gt-text-right">
30+
<div class="tw-text-right">
3131
{{if $.reply}}
3232
<button class="ui submit primary tiny button btn-reply" type="submit">{{ctx.Locale.Tr "repo.diff.comment.reply"}}</button>
3333
<input type="hidden" name="reply" value="{{$.reply}}">

templates/repo/diff/compare.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
<button class="ui button primary show-form">{{ctx.Locale.Tr "repo.pulls.new"}}</button>
209209
</div>
210210
{{else if .Repository.IsArchived}}
211-
<div class="ui warning message gt-text-center">
211+
<div class="ui warning message tw-text-center">
212212
{{if .Repository.ArchivedUnix.IsZero}}
213213
{{ctx.Locale.Tr "repo.archive.title"}}
214214
{{else}}

templates/repo/empty.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div class="sixteen wide column content">
77
{{template "base/alert" .}}
88
{{if .Repository.IsArchived}}
9-
<div class="ui warning message gt-text-center">
9+
<div class="ui warning message tw-text-center">
1010
{{if .Repository.ArchivedUnix.IsZero}}
1111
{{ctx.Locale.Tr "repo.archive.title"}}
1212
{{else}}

templates/repo/header.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
<div class="header">
9494
{{ctx.Locale.Tr "repo.already_forked" .Name}}
9595
</div>
96-
<div class="content gt-text-left">
96+
<div class="content tw-text-left">
9797
<div class="ui list">
9898
{{range $.UserAndOrgForks}}
9999
<div class="ui item gt-py-3">

templates/repo/home.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<input type="hidden" name="topics" value="{{range $i, $v := .Topics}}{{.Name}}{{if Eval $i "+" 1 "<" (len $.Topics)}},{{end}}{{end}}">
4242
{{range .Topics}}
4343
{{/* keey the same layout as Fomantic UI generated labels */}}
44-
<a class="ui label transition visible gt-cursor-default gt-dib" data-value="{{.Name}}">{{.Name}}{{svg "octicon-x" 16 "delete icon"}}</a>
44+
<a class="ui label transition visible tw-cursor-default gt-dib" data-value="{{.Name}}">{{.Name}}{{svg "octicon-x" 16 "delete icon"}}</a>
4545
{{end}}
4646
<div class="text"></div>
4747
</div>
@@ -53,7 +53,7 @@
5353
</div>
5454
{{end}}
5555
{{if .Repository.IsArchived}}
56-
<div class="ui warning message gt-text-center">
56+
<div class="ui warning message tw-text-center">
5757
{{if .Repository.ArchivedUnix.IsZero}}
5858
{{ctx.Locale.Tr "repo.archive.title"}}
5959
{{else}}

templates/repo/issue/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{{if .PinnedIssues}}
77
<div id="issue-pins" {{if .IsRepoAdmin}}data-is-repo-admin{{end}}>
88
{{range .PinnedIssues}}
9-
<div class="issue-card gt-word-break {{if $.IsRepoAdmin}}gt-cursor-grab{{end}}" data-move-url="{{$.Link}}/move_pin" data-issue-id="{{.ID}}">
9+
<div class="issue-card gt-word-break {{if $.IsRepoAdmin}}tw-cursor-grab{{end}}" data-move-url="{{$.Link}}/move_pin" data-issue-id="{{.ID}}">
1010
{{template "repo/issue/card" (dict "Issue" . "Page" $ "isPinnedIssueCard" true)}}
1111
</div>
1212
{{end}}

templates/repo/issue/milestone_new.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<textarea name="content">{{.content}}</textarea>
4040
</div>
4141
<div class="divider"></div>
42-
<div class="gt-text-right">
42+
<div class="tw-text-right">
4343
{{if .PageIsEditMilestone}}
4444
<a class="ui primary basic button" href="{{.RepoLink}}/milestones">
4545
{{ctx.Locale.Tr "repo.milestones.cancel"}}

templates/repo/issue/view_content.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
</div>
115115
</div>
116116
{{else if .Repository.IsArchived}}
117-
<div class="ui warning message gt-text-center">
117+
<div class="ui warning message tw-text-center">
118118
{{if .Issue.IsPull}}
119119
{{ctx.Locale.Tr "repo.archive.pull.nocomment"}}
120120
{{else}}
@@ -124,7 +124,7 @@
124124
{{end}}
125125
{{else}} {{/* not .IsSigned */}}
126126
{{if .Repository.IsArchived}}
127-
<div class="ui warning message gt-text-center">
127+
<div class="ui warning message tw-text-center">
128128
{{if .Issue.IsPull}}
129129
{{ctx.Locale.Tr "repo.archive.pull.nocomment"}}
130130
{{else}}

templates/repo/issue/view_content/comments.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@
562562
{{end}}
563563
</span>
564564
{{if and .IsForcePush $.Issue.PullRequest.BaseRepo.Name}}
565-
<span class="gt-float-right comparebox">
565+
<span class="tw-float-right comparebox">
566566
<a href="{{$.Issue.PullRequest.BaseRepo.Link}}/compare/{{PathEscape .OldCommit}}..{{PathEscape .NewCommit}}" rel="nofollow" class="ui compare label">{{ctx.Locale.Tr "repo.issues.force_push_compare"}}</a>
567567
</span>
568568
{{end}}

templates/repo/issue/view_content/comments_delete_time.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{if and .comment.Time (.ctxData.Repository.IsTimetrackerEnabled ctx)}} {{/* compatibility with time comments made before v1.14 */}}
22
{{if (not .comment.Time.Deleted)}}
33
{{if (or .ctxData.IsAdmin (and .ctxData.IsSigned (eq .ctxData.SignedUserID .comment.PosterID)))}}
4-
<span class="gt-float-right">
4+
<span class="tw-float-right">
55
<div class="ui mini modal issue-delete-time-modal" data-id="{{.comment.Time.ID}}">
66
<form method="post" class="delete-time-form" action="{{.ctxData.RepoLink}}/issues/{{.ctxData.Issue.Index}}/times/{{.comment.TimeID}}/delete">
77
{{.ctxData.CsrfTokenHtml}}

templates/repo/migrate/migrate.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
{{svg (printf "gitea-%s" .Name) 184}}
1717
{{end}}
1818
<div class="content">
19-
<div class="header gt-text-center">
19+
<div class="header tw-text-center">
2020
{{.Title}}
2121
</div>
22-
<div class="description gt-text-center">
22+
<div class="description tw-text-center">
2323
{{ctx.Locale.Tr (printf "repo.migrate.%s.description" .Name)}}
2424
</div>
2525
</div>

templates/repo/release/new.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<div class="flex-text-inline gt-f1">
6565
<input name="attachment-edit-{{.UUID}}" class="attachment_edit" required value="{{.Name}}">
6666
<input name="attachment-del-{{.UUID}}" type="hidden" value="false">
67-
<span class="ui text grey gt-whitespace-nowrap">{{.Size | FileSize}}</span>
67+
<span class="ui text grey tw-whitespace-nowrap">{{.Size | FileSize}}</span>
6868
<span data-tooltip-content="{{ctx.Locale.Tr "repo.release.download_count" (ctx.Locale.PrettyNumber .DownloadCount)}}">
6969
{{svg "octicon-info"}}
7070
</span>

templates/repo/settings/branches.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{template "repo/settings/layout_head" (dict "ctxData" . "pageClass" "repository settings edit")}}
22
<div class="repo-setting-content">
33
{{if .Repository.IsArchived}}
4-
<div class="ui warning message gt-text-center">
4+
<div class="ui warning message tw-text-center">
55
{{ctx.Locale.Tr "repo.settings.archive.branchsettings_unavailable"}}
66
</div>
77
{{else}}

templates/repo/settings/githooks.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<div class="item truncated-item-container">
1313
<span class="text {{if .IsActive}}green{{else}}grey{{end}} gt-mr-3">{{svg "octicon-dot-fill" 22}}</span>
1414
<span class="text truncate gt-f1 gt-mr-3">{{.Name}}</span>
15-
<a class="muted gt-float-right gt-p-3" href="{{$.RepoLink}}/settings/hooks/git/{{.Name|PathEscape}}">
15+
<a class="muted tw-float-right gt-p-3" href="{{$.RepoLink}}/settings/hooks/git/{{.Name|PathEscape}}">
1616
{{svg "octicon-pencil"}}
1717
</a>
1818
</div>

templates/repo/settings/lfs_pointers.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<td>{{if .InRepo}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td>
4545
<td>{{if .Exists}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td>
4646
<td>{{if .Accessible}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td>
47-
<td class="gt-text-right">
47+
<td class="tw-text-right">
4848
<a class="ui primary button" href="{{$.LFSFilesLink}}/find?oid={{.Oid}}&size={{.Size}}&sha={{.SHA}}">{{ctx.Locale.Tr "repo.settings.lfs_findcommits"}}</a>
4949
</td>
5050
</tr>

templates/repo/settings/options.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
</h4>
8181
<div class="ui attached segment">
8282
{{if .Repository.IsArchived}}
83-
<div class="ui warning message gt-text-center">
83+
<div class="ui warning message tw-text-center">
8484
{{ctx.Locale.Tr "repo.settings.archive.mirrors_unavailable"}}
8585
</div>
8686
{{else}}

templates/repo/settings/tags.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{template "repo/settings/layout_head" (dict "ctxData" . "pageClass" "repository settings edit")}}
22
<div class="repo-setting-content">
33
{{if .Repository.IsArchived}}
4-
<div class="ui warning message gt-text-center">
4+
<div class="ui warning message tw-text-center">
55
{{ctx.Locale.Tr "repo.settings.archive.tagsettings_unavailable"}}
66
</div>
77
{{else}}

templates/repo/unicode_escape_prompt.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{if .EscapeStatus}}
22
{{if .EscapeStatus.HasInvisible}}
3-
<div class="ui warning message unicode-escape-prompt gt-text-left">
3+
<div class="ui warning message unicode-escape-prompt tw-text-left">
44
<button class="btn close icon hide-panel" data-panel-closest=".message">{{svg "octicon-x" 16 "close inside"}}</button>
55
<div class="header">
66
{{ctx.Locale.Tr "repo.invisible_runes_header"}}
@@ -11,7 +11,7 @@
1111
{{end}}
1212
</div>
1313
{{else if .EscapeStatus.HasAmbiguous}}
14-
<div class="ui warning message unicode-escape-prompt gt-text-left">
14+
<div class="ui warning message unicode-escape-prompt tw-text-left">
1515
<button class="btn close icon hide-panel" data-panel-closest=".message">{{svg "octicon-x" 16 "close inside"}}</button>
1616
<div class="header">
1717
{{ctx.Locale.Tr "repo.ambiguous_runes_header"}}

templates/repo/view_file.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<div {{if .ReadmeInList}}id="readme" {{end}}class="{{TabSizeClass .Editorconfig .FileName}} non-diff-file-content">
22
{{- if .FileError}}
33
<div class="ui error message">
4-
<div class="text left gt-whitespace-pre">{{.FileError}}</div>
4+
<div class="text left tw-whitespace-pre">{{.FileError}}</div>
55
</div>
66
{{end}}
77
{{- if .FileWarning}}
88
<div class="ui warning message">
9-
<div class="text left gt-whitespace-pre">{{.FileWarning}}</div>
9+
<div class="text left tw-whitespace-pre">{{.FileWarning}}</div>
1010
</div>
1111
{{end}}
1212

templates/repo/wiki/view.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,19 +79,19 @@
7979
{{if .sidebarPresent}}
8080
<div class="markup wiki-content-sidebar">
8181
{{if and .CanWriteWiki (not .Repository.IsMirror)}}
82-
<a class="gt-float-right muted" href="{{.RepoLink}}/wiki/_Sidebar?action=_edit" aria-label="{{ctx.Locale.Tr "repo.wiki.edit_page_button"}}">{{svg "octicon-pencil"}}</a>
82+
<a class="tw-float-right muted" href="{{.RepoLink}}/wiki/_Sidebar?action=_edit" aria-label="{{ctx.Locale.Tr "repo.wiki.edit_page_button"}}">{{svg "octicon-pencil"}}</a>
8383
{{end}}
8484
{{template "repo/unicode_escape_prompt" dict "EscapeStatus" .sidebarEscapeStatus "root" $}}
8585
{{.sidebarContent | SafeHTML}}
8686
</div>
8787
{{end}}
8888

89-
<div class="gt-clear-both"></div>
89+
<div class="tw-clear-both"></div>
9090

9191
{{if .footerPresent}}
9292
<div class="markup wiki-content-footer">
9393
{{if and .CanWriteWiki (not .Repository.IsMirror)}}
94-
<a class="gt-float-right muted" href="{{.RepoLink}}/wiki/_Footer?action=_edit" aria-label="{{ctx.Locale.Tr "repo.wiki.edit_page_button"}}">{{svg "octicon-pencil"}}</a>
94+
<a class="tw-float-right muted" href="{{.RepoLink}}/wiki/_Footer?action=_edit" aria-label="{{ctx.Locale.Tr "repo.wiki.edit_page_button"}}">{{svg "octicon-pencil"}}</a>
9595
{{end}}
9696
{{template "repo/unicode_escape_prompt" dict "footerEscapeStatus" .sidebarEscapeStatus "root" $}}
9797
{{.footerContent | SafeHTML}}

templates/status/500.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<div class="ui container gt-my-5">
3939
{{if .ErrorMsg}}
4040
<p>{{ctx.Locale.Tr "error.occurred"}}:</p>
41-
<pre class="gt-whitespace-pre-wrap gt-break-all">{{.ErrorMsg}}</pre>
41+
<pre class="tw-whitespace-pre-wrap gt-break-all">{{.ErrorMsg}}</pre>
4242
{{end}}
4343
<div class="center gt-mt-5">
4444
{{if or .SignedUser.IsAdmin .ShowFooterVersion}}<p>{{ctx.Locale.Tr "admin.config.app_ver"}}: {{AppVer}}</p>{{end}}

templates/user/auth/captcha.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<div id="captcha" data-captcha-type="m-captcha" data-sitekey="{{.McaptchaSitekey}}" data-instance-url="{{.McaptchaURL}}"></div>
2525
</div>
2626
{{else if eq .CaptchaType "cfturnstile"}}
27-
<div class="inline field gt-text-center">
27+
<div class="inline field tw-text-center">
2828
<div id="captcha" data-captcha-type="cf-turnstile" data-sitekey="{{.CfTurnstileSitekey}}"></div>
2929
</div>
3030
<script src='https://challenges.cloudflare.com/turnstile/v0/api.js'></script>

templates/user/dashboard/issues.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
</form>
5858
<!-- Sort -->
5959
<div class="list-header-sort ui small dropdown type jump item">
60-
<span class="text gt-whitespace-nowrap">
60+
<span class="text tw-whitespace-nowrap">
6161
{{ctx.Locale.Tr "repo.issues.filter_sort"}}
6262
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
6363
</span>

templates/user/notification/notification_div.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
{{else}}
3737
{{range $notification := .Notifications}}
3838
<div class="notifications-item gt-df gt-ac gt-fw gt-gap-3 gt-p-3" id="notification_{{.ID}}" data-status="{{.Status}}">
39-
<div class="notifications-icon gt-ml-3 gt-mr-2 gt-self-start gt-mt-2">
39+
<div class="notifications-icon gt-ml-3 gt-mr-2 tw-self-start gt-mt-2">
4040
{{if .Issue}}
4141
{{template "shared/issueicon" .Issue}}
4242
{{else}}

templates/user/settings/applications.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@
6161
</div>
6262
<div class="field">
6363
<label>{{ctx.Locale.Tr "settings.repo_and_org_access"}}</label>
64-
<label class="gt-cursor-pointer">
64+
<label class="tw-cursor-pointer">
6565
<input class="enable-system gt-mt-2 gt-mr-2" type="radio" name="scope" value="{{$.AccessTokenScopePublicOnly}}">
6666
{{ctx.Locale.Tr "settings.permissions_public_only"}}
6767
</label>
68-
<label class="gt-cursor-pointer">
68+
<label class="tw-cursor-pointer">
6969
<input class="enable-system gt-mt-2 gt-mr-2" type="radio" name="scope" value="" checked>
7070
{{ctx.Locale.Tr "settings.permissions_access_all"}}
7171
</label>

templates/user/settings/repos.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
{{else}}
3333
<span class="icon gt-dib gt-pt-3">{{svg "octicon-file-directory-fill"}}</span>
3434
<span class="name gt-dib gt-pt-3">{{$.ContextUser.Name}}/{{$dir}}</span>
35-
<div class="gt-float-right">
35+
<div class="tw-float-right">
3636
{{if $.allowAdopt}}
3737
<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>
3838
<div class="ui g-modal-confirm modal" id="adopt-unadopted-modal-{{$dirI}}">

0 commit comments

Comments
 (0)