Browse Source

templates: fixes broken UI under supported resolution (1024x768) #5179 (#5182)

* Update view_list.tmpl

* Update commits_table.tmpl

* Update dashboard.tmpl

* Update list.tmpl

* Update list.tmpl

* Update list.tmpl

* Update list.tmpl

* Update notice.tmpl

* Update monitor.tmpl

* Update view_file.tmpl

* Update diff_preview.tmpl

* Update box.tmpl
pull/5207/head
rokuu 7 years ago committed by 无闻
parent
commit
c68fc4f31a
  1. 4
      templates/admin/auth/list.tmpl
  2. 4
      templates/admin/dashboard.tmpl
  3. 8
      templates/admin/monitor.tmpl
  4. 4
      templates/admin/notice.tmpl
  5. 4
      templates/admin/org/list.tmpl
  6. 4
      templates/admin/repo/list.tmpl
  7. 4
      templates/admin/user/list.tmpl
  8. 4
      templates/repo/commits_table.tmpl
  9. 2
      templates/repo/diff/box.tmpl
  10. 2
      templates/repo/editor/diff_preview.tmpl
  11. 2
      templates/repo/view_file.tmpl
  12. 2
      templates/repo/view_list.tmpl

4
templates/admin/auth/list.tmpl

@ -8,8 +8,8 @@
<h4 class="ui top attached header">
{{.i18n.Tr "admin.auths.auth_sources"}} ({{.i18n.Tr "admin.total" .Total}})
</h4>
<div class="ui attached table segment">
<table class="ui very basic striped table">
<div class="ui unstackable attached table segment">
<table class="ui unstackable very basic striped table">
<thead>
<tr>
<th>ID</th>

4
templates/admin/dashboard.tmpl

@ -16,8 +16,8 @@
<h4 class="ui top attached header">
{{.i18n.Tr "admin.dashboard.operations"}}
</h4>
<div class="ui attached table segment">
<table class="ui very basic table">
<div class="ui unstackable attached table segment">
<table class="ui unstackable very basic table">
<tbody>
<tr>
<td>{{.i18n.Tr "admin.dashboard.delete_inactivate_accounts"}}</td>

8
templates/admin/monitor.tmpl

@ -8,8 +8,8 @@
<h4 class="ui top attached header">
{{.i18n.Tr "admin.monitor.cron"}}
</h4>
<div class="ui attached table segment">
<table class="ui very basic striped table">
<div class="ui unstackable attached table segment">
<table class="ui unstackable very basic striped table">
<thead>
<tr>
<th>{{.i18n.Tr "admin.monitor.name"}}</th>
@ -36,8 +36,8 @@
<h4 class="ui top attached header">
{{.i18n.Tr "admin.monitor.process"}}
</h4>
<div class="ui attached table segment">
<table class="ui very basic striped table">
<div class="ui unstackable attached table segment">
<table class="ui unstackable very basic striped table">
<thead>
<tr>
<th>Pid</th>

4
templates/admin/notice.tmpl

@ -8,8 +8,8 @@
<h4 class="ui top attached header">
{{.i18n.Tr "admin.notices.system_notice_list"}} ({{.i18n.Tr "admin.total" .Total}})
</h4>
<div class="ui attached table segment">
<table class="ui very basic select selectable table">
<div class="ui unstackable attached table segment">
<table class="ui unstackable very basic select selectable table">
<thead>
<tr>
<th></th>

4
templates/admin/org/list.tmpl

@ -11,8 +11,8 @@
<div class="ui attached segment">
{{template "admin/base/search" .}}
</div>
<div class="ui attached table segment">
<table class="ui very basic striped table">
<div class="ui unstackable attached table segment">
<table class="ui unstackable very basic striped table">
<thead>
<tr>
<th>ID</th>

4
templates/admin/repo/list.tmpl

@ -11,8 +11,8 @@
<div class="ui attached segment">
{{template "admin/base/search" .}}
</div>
<div class="ui attached table segment">
<table class="ui very basic striped table">
<div class="ui unstackable attached table segment">
<table class="ui unstackable very basic striped table">
<thead>
<tr>
<th>ID</th>

4
templates/admin/user/list.tmpl

@ -14,8 +14,8 @@
<div class="ui attached segment">
{{template "admin/base/search" .}}
</div>
<div class="ui attached table segment">
<table class="ui very basic striped table">
<div class="ui unstackable attached table segment">
<table class="ui unstackable very basic striped table">
<thead>
<tr>
<th>ID</th>

4
templates/repo/commits_table.tmpl

@ -19,8 +19,8 @@
</h4>
{{if .Commits}}
<div class="ui attached table segment">
<table class="ui very basic striped fixed table single line" id="commits-table">
<div class="ui unstackable attached table segment">
<table id="commits-table" class="ui unstackable very basic striped fixed table single line">
<thead>
<tr>
<th class="four wide">{{.i18n.Tr "repo.commits.author"}}</th>

2
templates/repo/diff/box.tmpl

@ -77,7 +77,7 @@
</div>
{{end}}
</h4>
<div class="ui attached table segment">
<div class="ui unstackable attached table segment">
{{if not $file.IsRenamed}}
{{$isImage := (call $.IsImageFile $file.Name)}}
{{if and $isImage}}

2
templates/repo/editor/diff_preview.tmpl

@ -1,5 +1,5 @@
<div class="diff-file-box">
<div class="ui attached table segment">
<div class="ui unstackable attached table segment">
<div class="file-body file-code code-view code-diff">
<table>
<tbody>

2
templates/repo/view_file.tmpl

@ -35,7 +35,7 @@
</div>
{{end}}
</h4>
<div class="ui attached table segment">
<div class="ui unstackable attached table segment">
<div id="{{if .IsIPythonNotebook}}ipython-notebook{{end}}" class="file-view {{if .IsMarkdown}}markdown{{else if .IsIPythonNotebook}}ipython-notebook{{else if .ReadmeInList}}plain-text{{else if and .IsTextFile}}code-view{{end}} has-emoji">
{{if .IsMarkdown}}
{{if .FileContent}}{{.FileContent | Str2html}}{{end}}

2
templates/repo/view_list.tmpl

@ -1,4 +1,4 @@
<table id="repo-files-table" class="ui fixed single line table">
<table id="repo-files-table" class="ui unstackable fixed single line table">
<thead>
<tr>
<th class="four wide">

Loading…
Cancel
Save