|
34 | 34 | </div>
|
35 | 35 | </div>
|
36 | 36 | <div class="ui dividing header">
|
37 |
| - <div class="ui stackable grid"> |
38 |
| - <div class="eight wide column"> |
| 37 | + <div class="flex-text-block tw-flex-wrap tw-justify-end"> |
| 38 | + <div class="flex-text-block tw-flex-1 tw-min-w-[300px]"> |
39 | 39 | <a class="file-revisions-btn ui basic button" title="{{ctx.Locale.Tr "repo.wiki.file_revision"}}" href="{{.RepoLink}}/wiki/{{.PageURL}}?action=_revision" ><span>{{.CommitCount}}</span> {{svg "octicon-history"}}</a>
|
40 |
| - {{$title}} |
41 |
| - <div class="ui sub header"> |
42 |
| - {{$timeSince := DateUtils.TimeSince .Author.When}} |
43 |
| - {{ctx.Locale.Tr "repo.wiki.last_commit_info" .Author.Name $timeSince}} |
| 40 | + <div class="tw-flex-1 gt-ellipsis"> |
| 41 | + {{$title}} |
| 42 | + <div class="ui sub header gt-ellipsis"> |
| 43 | + {{$timeSince := DateUtils.TimeSince .Author.When}} |
| 44 | + {{ctx.Locale.Tr "repo.wiki.last_commit_info" .Author.Name $timeSince}} |
| 45 | + </div> |
44 | 46 | </div>
|
45 | 47 | </div>
|
46 |
| - <div class="eight wide right aligned column"> |
| 48 | + <div class="flex-text-block tw-flex-wrap tw-justify-end"> |
47 | 49 | {{if .EscapeStatus.Escaped}}
|
48 |
| - <a class="ui small button unescape-button tw-hidden">{{ctx.Locale.Tr "repo.unescape_control_characters"}}</a> |
49 |
| - <a class="ui small button escape-button">{{ctx.Locale.Tr "repo.escape_control_characters"}}</a> |
| 50 | + <a class="ui small button unescape-button tw-m-0 tw-hidden">{{ctx.Locale.Tr "repo.unescape_control_characters"}}</a> |
| 51 | + <a class="ui small button escape-button tw-m-0">{{ctx.Locale.Tr "repo.escape_control_characters"}}</a> |
50 | 52 | {{end}}
|
51 | 53 | {{if and .CanWriteWiki (not .Repository.IsMirror)}}
|
52 |
| - <div class="ui right"> |
53 |
| - <a class="ui small button" href="{{.RepoLink}}/wiki/{{.PageURL}}?action=_edit">{{ctx.Locale.Tr "repo.wiki.edit_page_button"}}</a> |
54 |
| - <a class="ui small primary button" href="{{.RepoLink}}/wiki?action=_new">{{ctx.Locale.Tr "repo.wiki.new_page_button"}}</a> |
55 |
| - <a class="ui small red button delete-button" href="" data-url="{{.RepoLink}}/wiki/{{.PageURL}}?action=_delete" data-id="{{.PageURL}}">{{ctx.Locale.Tr "repo.wiki.delete_page_button"}}</a> |
56 |
| - </div> |
| 54 | + <a class="ui small button" href="{{.RepoLink}}/wiki/{{.PageURL}}?action=_edit">{{ctx.Locale.Tr "repo.wiki.edit_page_button"}}</a> |
| 55 | + <a class="ui small primary button" href="{{.RepoLink}}/wiki?action=_new">{{ctx.Locale.Tr "repo.wiki.new_page_button"}}</a> |
| 56 | + <a class="ui small red button tw-m-0 delete-button" href="" data-url="{{.RepoLink}}/wiki/{{.PageURL}}?action=_delete" data-id="{{.PageURL}}">{{ctx.Locale.Tr "repo.wiki.delete_page_button"}}</a> |
57 | 57 | {{end}}
|
58 | 58 | </div>
|
59 | 59 | </div>
|
|
0 commit comments