File tree Expand file tree Collapse file tree 17 files changed +32
-38
lines changed
fomantic/build/components Expand file tree Collapse file tree 17 files changed +32
-38
lines changed Original file line number Diff line number Diff line change 4
4
<div class="ui container">
5
5
{{template "base/alert" .}}
6
6
{{if .IsOrganizationOwner}}
7
- <div class="tw -text-right ">
7
+ <div class="flex -text-block tw-justify-end ">
8
8
<a class="ui primary button" href="{{.OrgLink}}/teams/new">{{svg "octicon-plus"}} {{ctx.Locale.Tr "org.create_new_team"}}</a>
9
9
</div>
10
10
<div class="divider"></div>
Original file line number Diff line number Diff line change 1
1
{{if and $.CanWriteProjects (not $.Repository.IsArchived)}}
2
- <div class="tw- flex tw-justify-between tw-mb-4">
2
+ <div class="flex-text-block tw-justify-between tw-mb-4">
3
3
<div class="small-menu-items ui compact tiny menu list-header-toggle">
4
4
<a class="item{{if not .IsShowClosed}} active{{end}}" href="?state=open&q={{$.Keyword}}">
5
5
{{svg "octicon-project-symlink" 16 "tw-mr-2"}}
10
10
{{ctx.Locale.PrettyNumber .ClosedCount}} {{ctx.Locale.Tr "repo.issues.closed_title"}}
11
11
</a>
12
12
</div>
13
- <div class="tw-text-right">
14
- <a class="ui small primary button" href="{{$.Link}}/new">{{ctx.Locale.Tr "repo.projects.new"}}</a>
15
- </div>
13
+ <a class="ui small primary button" href="{{$.Link}}/new">{{ctx.Locale.Tr "repo.projects.new"}}</a>
16
14
</div>
17
15
{{end}}
18
16
Original file line number Diff line number Diff line change 64
64
</div>
65
65
</div>
66
66
<div class="divider"></div>
67
- <div class="tw -text-right ">
67
+ <div class="flex -text-block tw-justify-end ">
68
68
<a class="ui cancel button" href="{{$.CancelLink}}">
69
69
{{ctx.Locale.Tr "repo.milestones.cancel"}}
70
70
</a>
Original file line number Diff line number Diff line change 223
223
{{if and (not $.Repository.IsArchived) (not .DiffNotAvailable)}}
224
224
<template id="issue-comment-editor-template">
225
225
<form class="ui form comment">
226
+ <div class="field">
226
227
{{template "shared/combomarkdowneditor" (dict
227
228
"CustomInit" true
228
229
"MarkdownPreviewInRepo" $.Repository
229
230
"MarkdownPreviewMode" "comment"
230
231
"TextareaName" "content"
231
232
"DropzoneParentContainer" ".ui.form"
232
233
)}}
234
+ </div>
233
235
{{if .IsAttachmentEnabled}}
234
236
<div class="field">
235
237
{{template "repo/upload" .}}
236
238
</div>
237
239
{{end}}
238
- <div class="tw -text-right edit buttons ">
240
+ <div class="field flex -text-block tw-justify-end ">
239
241
<button class="ui cancel button">{{ctx.Locale.Tr "repo.issues.cancel"}}</button>
240
242
<button class="ui primary button">{{ctx.Locale.Tr "repo.issues.save"}}</button>
241
243
</div>
Original file line number Diff line number Diff line change 27
27
{{end}}
28
28
29
29
<div class="field footer">
30
- <div class="tw -text-right ">
30
+ <div class="flex -text-block tw-justify-end ">
31
31
{{if $.reply}}
32
32
<button class="ui submit primary tiny button btn-reply" type="submit">{{ctx.Locale.Tr "repo.diff.comment.reply"}}</button>
33
33
<input type="hidden" name="reply" value="{{$.reply}}">
Original file line number Diff line number Diff line change 3
3
{{template "repo/header" .}}
4
4
<div class="ui container">
5
5
{{template "base/alert" .}}
6
- <div class="tw-flex">
7
- <h1 class="tw-mb-2 ">{{.Milestone.Name}}</h1>
6
+ <div class="flex-text-block tw-flex-wrap tw-mb-2 ">
7
+ <h1 class="tw-flex-1 tw-m-0 ">{{.Milestone.Name}}</h1>
8
8
{{if not .Repository.IsArchived}}
9
- <div class="tw-text-right tw-flex-1" >
9
+ <div>
10
10
{{if or .CanWriteIssues .CanWritePulls}}
11
11
{{if .Milestone.IsClosed}}
12
12
<a class="ui primary basic button link-action" href data-url="{{$.RepoLink}}/milestones/{{.MilestoneID}}/open">{{ctx.Locale.Tr "repo.milestones.open"}}
Original file line number Diff line number Diff line change 44
44
"TextareaPlaceholder" (ctx.Locale.Tr "repo.milestones.desc")
45
45
)}}
46
46
</div>
47
- <div class="tw -text-right ">
47
+ <div class="flex -text-block tw-justify-end ">
48
48
{{if .PageIsEditMilestone}}
49
49
<a class="ui primary basic button" href="{{.RepoLink}}/milestones">
50
50
{{ctx.Locale.Tr "repo.milestones.cancel"}}
Original file line number Diff line number Diff line change 33
33
{{else}}
34
34
{{template "repo/issue/comment_tab" .}}
35
35
{{end}}
36
- <div class="tw -text-right ">
36
+ <div class="flex -text-block tw-justify-end ">
37
37
<button class="ui primary button">
38
38
{{if .PageIsComparePull}}
39
39
{{ctx.Locale.Tr "repo.pulls.create"}}
Original file line number Diff line number Diff line change 83
83
{{template "repo/issue/comment_tab" .}}
84
84
{{.CsrfTokenHtml}}
85
85
<div class="field footer">
86
- <div class="tw -text-right ">
86
+ <div class="flex -text-block tw-justify-end ">
87
87
{{if and (or .HasIssuesOrPullsWritePermission .IsIssuePoster) (not .DisableStatusChange)}}
88
88
{{if .Issue.IsClosed}}
89
89
<button id="status-button" class="ui primary basic button" data-status="{{ctx.Locale.Tr "repo.issues.reopen_issue"}}" data-status-and-comment="{{ctx.Locale.Tr "repo.issues.reopen_comment_issue"}}" name="status" value="reopen">
157
157
{{end}}
158
158
159
159
<div class="field">
160
- <div class="tw -text-right edit ">
160
+ <div class="flex -text-block tw-justify-end ">
161
161
<button type="button" class="ui cancel button">{{ctx.Locale.Tr "repo.issues.cancel"}}</button>
162
162
<button type="submit" class="ui primary button">{{ctx.Locale.Tr "repo.issues.save"}}</button>
163
163
</div>
Original file line number Diff line number Diff line change 20
20
<label><strong>{{ctx.Locale.Tr "repo.issues.reference_issue.body"}}</strong></label>
21
21
<textarea name="content"></textarea>
22
22
</div>
23
- <div class="tw -text-right ">
23
+ <div class="flex -text-block tw-justify-end ">
24
24
<button class="ui primary button">{{ctx.Locale.Tr "repo.issues.create"}}</button>
25
25
</div>
26
26
</form>
You can’t perform that action at this time.
0 commit comments