Add class to page content to unify top margin (#13766)

* Add class to page content to unify top margin

Previously pages would individually set this margin but some didn't so
content would stick to the header without any space. Resolve this by
adding a new class that is added on all pages. The only place where we
remove this margin again is on the pages with menu or wrapper in the
header.

* fix admin notices

* fix team pages

* fix loading segment on gitgraph for arc-green

* fix last missing case

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
tokarchuk/v1.17
silverwind 4 years ago committed by GitHub
parent 14e8ef9ecb
commit b1cf7f4df1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      templates/admin/auth/edit.tmpl
  2. 2
      templates/admin/auth/list.tmpl
  3. 2
      templates/admin/auth/new.tmpl
  4. 2
      templates/admin/config.tmpl
  5. 2
      templates/admin/dashboard.tmpl
  6. 2
      templates/admin/emails/list.tmpl
  7. 2
      templates/admin/hook_new.tmpl
  8. 2
      templates/admin/hooks.tmpl
  9. 2
      templates/admin/monitor.tmpl
  10. 2
      templates/admin/notice.tmpl
  11. 2
      templates/admin/org/list.tmpl
  12. 2
      templates/admin/queue.tmpl
  13. 2
      templates/admin/repo/list.tmpl
  14. 2
      templates/admin/repo/unadopted.tmpl
  15. 2
      templates/admin/user/edit.tmpl
  16. 2
      templates/admin/user/list.tmpl
  17. 2
      templates/admin/user/new.tmpl
  18. 2
      templates/explore/code.tmpl
  19. 2
      templates/explore/navbar.tmpl
  20. 2
      templates/explore/organizations.tmpl
  21. 2
      templates/explore/repos.tmpl
  22. 2
      templates/explore/users.tmpl
  23. 2
      templates/home.tmpl
  24. 2
      templates/install.tmpl
  25. 2
      templates/org/create.tmpl
  26. 2
      templates/org/home.tmpl
  27. 2
      templates/org/member/members.tmpl
  28. 2
      templates/org/settings/delete.tmpl
  29. 2
      templates/org/settings/hook_new.tmpl
  30. 2
      templates/org/settings/hooks.tmpl
  31. 2
      templates/org/settings/labels.tmpl
  32. 2
      templates/org/settings/options.tmpl
  33. 2
      templates/org/team/members.tmpl
  34. 2
      templates/org/team/new.tmpl
  35. 2
      templates/org/team/repositories.tmpl
  36. 2
      templates/org/team/teams.tmpl
  37. 2
      templates/post-install.tmpl
  38. 2
      templates/repo/activity.tmpl
  39. 2
      templates/repo/branch/list.tmpl
  40. 2
      templates/repo/commit_page.tmpl
  41. 2
      templates/repo/commits.tmpl
  42. 2
      templates/repo/create.tmpl
  43. 2
      templates/repo/diff/compare.tmpl
  44. 2
      templates/repo/editor/delete.tmpl
  45. 2
      templates/repo/editor/edit.tmpl
  46. 2
      templates/repo/editor/upload.tmpl
  47. 2
      templates/repo/empty.tmpl
  48. 2
      templates/repo/forks.tmpl
  49. 2
      templates/repo/graph.tmpl
  50. 2
      templates/repo/home.tmpl
  51. 2
      templates/repo/issue/choose.tmpl
  52. 2
      templates/repo/issue/labels.tmpl
  53. 2
      templates/repo/issue/list.tmpl
  54. 2
      templates/repo/issue/milestone_issues.tmpl
  55. 2
      templates/repo/issue/milestone_new.tmpl
  56. 2
      templates/repo/issue/milestones.tmpl
  57. 2
      templates/repo/issue/new.tmpl
  58. 2
      templates/repo/issue/view.tmpl
  59. 2
      templates/repo/migrate/git.tmpl
  60. 2
      templates/repo/migrate/gitea.tmpl
  61. 2
      templates/repo/migrate/github.tmpl
  62. 2
      templates/repo/migrate/gitlab.tmpl
  63. 2
      templates/repo/migrate/migrate.tmpl
  64. 2
      templates/repo/migrate/migrating.tmpl
  65. 2
      templates/repo/projects/list.tmpl
  66. 2
      templates/repo/projects/new.tmpl
  67. 2
      templates/repo/projects/view.tmpl
  68. 2
      templates/repo/pulls/commits.tmpl
  69. 2
      templates/repo/pulls/files.tmpl
  70. 2
      templates/repo/pulls/fork.tmpl
  71. 2
      templates/repo/release/list.tmpl
  72. 2
      templates/repo/release/new.tmpl
  73. 2
      templates/repo/search.tmpl
  74. 2
      templates/repo/settings/branches.tmpl
  75. 2
      templates/repo/settings/collaboration.tmpl
  76. 2
      templates/repo/settings/deploy_keys.tmpl
  77. 2
      templates/repo/settings/githook_edit.tmpl
  78. 2
      templates/repo/settings/githooks.tmpl
  79. 2
      templates/repo/settings/lfs.tmpl
  80. 2
      templates/repo/settings/lfs_file.tmpl
  81. 2
      templates/repo/settings/lfs_file_find.tmpl
  82. 2
      templates/repo/settings/lfs_locks.tmpl
  83. 2
      templates/repo/settings/lfs_pointers.tmpl
  84. 2
      templates/repo/settings/options.tmpl
  85. 2
      templates/repo/settings/protected_branch.tmpl
  86. 2
      templates/repo/settings/webhook/base.tmpl
  87. 2
      templates/repo/settings/webhook/new.tmpl
  88. 2
      templates/repo/watchers.tmpl
  89. 2
      templates/repo/wiki/new.tmpl
  90. 2
      templates/repo/wiki/pages.tmpl
  91. 2
      templates/repo/wiki/revision.tmpl
  92. 2
      templates/repo/wiki/start.tmpl
  93. 2
      templates/repo/wiki/view.tmpl
  94. 16
      templates/status/404.tmpl
  95. 2
      templates/status/500.tmpl
  96. 2
      templates/user/auth/activate.tmpl
  97. 2
      templates/user/auth/change_passwd.tmpl
  98. 2
      templates/user/auth/finalize_openid.tmpl
  99. 2
      templates/user/auth/forgot_passwd.tmpl
  100. 2
      templates/user/auth/grant.tmpl
  101. Some files were not shown because too many files have changed in this diff Show More

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="admin edit authentication">
<div class="page-content admin edit authentication">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="admin authentication">
<div class="page-content admin authentication">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="admin new authentication">
<div class="page-content admin new authentication">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="admin config">
<div class="page-content admin config">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="admin dashboard">
<div class="page-content admin dashboard">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="admin user">
<div class="page-content admin user">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="admin new webhook">
<div class="page-content admin new webhook">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="admin hooks">
<div class="page-content admin hooks">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "repo/settings/webhook/list" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="admin monitor">
<div class="page-content admin monitor">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="admin notice">
<div class="page-content admin notice">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="admin user">
<div class="page-content admin user">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="admin monitor">
<div class="page-content admin monitor">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="admin user">
<div class="page-content admin user">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="admin user">
<div class="page-content admin user">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="admin edit user">
<div class="page-content admin edit user">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="admin user">
<div class="page-content admin user">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="admin new user">
<div class="page-content admin new user">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="explore users">
<div class="page-content explore users">
{{template "explore/navbar" .}}
<div class="ui container">
<form class="ui form ignore-dirty" style="max-width: 100%">

@ -1,4 +1,4 @@
<div class="ui secondary pointing tabular top attached borderless stackable menu navbar">
<div class="ui secondary pointing tabular top attached borderless stackable menu new-menu navbar">
<a class="{{if .PageIsExploreRepositories}}active{{end}} item" href="{{AppSubUrl}}/explore/repos">
{{svg "octicon-repo"}} {{.i18n.Tr "explore.repos"}}
</a>

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="explore users">
<div class="page-content explore users">
{{template "explore/navbar" .}}
<div class="ui container">
{{template "explore/search" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="explore repositories">
<div class="page-content explore repositories">
{{template "explore/navbar" .}}
<div class="ui container">
{{template "explore/repo_search" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="explore users">
<div class="page-content explore users">
{{template "explore/navbar" .}}
<div class="ui container">
{{template "explore/search" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="home">
<div class="page-content home">
<div class="ui stackable middle very relaxed page grid">
<div class="sixteen wide center aligned centered column">
<div>

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="install">
<div class="page-content install">
<div class="ui middle very relaxed page grid">
<div class="sixteen wide center aligned centered column">
<h3 class="ui top attached header">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="organization new org">
<div class="page-content organization new org">
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form" action="{{.Link}}" method="post">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="organization profile mt-5">
<div class="page-content organization profile">
{{/* overflow: auto is the clearfix - this avoids the image going beyond
the container where it is supposed to stay inside. */}}
<div class="ui container" style="overflow: auto">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="organization members">
<div class="page-content organization members">
{{template "org/header" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="organization settings delete">
<div class="page-content organization settings delete">
{{template "org/header" .}}
<div class="ui container">
<div class="ui grid">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="organization settings new webhook">
<div class="page-content organization settings new webhook">
{{template "org/header" .}}
<div class="ui container">
<div class="ui grid">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="organization settings webhooks">
<div class="page-content organization settings webhooks">
{{template "org/header" .}}
<div class="ui container">
<div class="ui grid">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="organization settings labels">
<div class="page-content organization settings labels">
{{template "org/header" .}}
<div class="ui container">
<div class="ui grid">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="organization settings options">
<div class="page-content organization settings options">
{{template "org/header" .}}
<div class="ui container">
<div class="ui grid">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="organization teams">
<div class="page-content organization teams">
{{template "org/header" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="organization new team">
<div class="page-content organization new team">
{{template "org/header" .}}
<div class="ui middle very relaxed page grid">
<div class="column">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="organization teams">
<div class="page-content organization teams">
{{template "org/header" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="organization teams">
<div class="page-content organization teams">
{{template "org/header" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="install">
<div class="page-content install">
<div class="ui container">
<div class="ui grid">
<div class="sixteen wide column content">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository commits">
<div class="page-content repository commits">
{{template "repo/header" .}}
<div class="ui container">
<h2 class="ui header">{{.DateFrom}} - {{.DateUntil}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="ui repository branches">
<div class="page-content ui repository branches">
{{template "repo/header" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository diff">
<div class="page-content repository diff">
{{template "repo/header" .}}
<div class="ui container {{if .IsSplitStyle}}fluid padded{{end}}">
{{$class := ""}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository commits">
<div class="page-content repository commits">
{{template "repo/header" .}}
<div class="ui container">
{{template "repo/sub_menu" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository new repo">
<div class="page-content repository new repo">
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form" action="{{.Link}}" method="post">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository diff {{if .PageIsComparePull}}compare pull{{end}}">
<div class="page-content repository diff {{if .PageIsComparePull}}compare pull{{end}}">
{{template "repo/header" .}}
<div class="ui container {{if .IsSplitStyle}}fluid padded{{end}}">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository file editor delete">
<div class="page-content repository file editor delete">
{{template "repo/header" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository file editor edit">
<div class="page-content repository file editor edit">
{{template "repo/header" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository file editor upload">
<div class="page-content repository file editor upload">
{{template "repo/header" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository quickstart">
<div class="page-content repository quickstart">
{{template "repo/header" .}}
<div class="ui container">
<div class="ui grid">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository forks">
<div class="page-content repository forks">
{{template "repo/header" .}}
<div class="ui container">
<h2 class="ui dividing header">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository commits">
<div class="page-content repository commits">
{{template "repo/header" .}}
<div class="ui container">
<div id="git-graph-container" class="ui segment{{if eq .Mode "monochrome"}} monochrome{{end}}">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository file list {{if .IsBlame}}blame{{end}}">
<div class="page-content repository file list {{if .IsBlame}}blame{{end}}">
{{template "repo/header" .}}
<div class="ui container {{if .IsBlame}}fluid padded{{end}}">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository new issue">
<div class="page-content repository new issue">
{{template "repo/header" .}}
<div class="ui container">
<div class="navbar">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository labels">
<div class="page-content repository labels">
{{template "repo/header" .}}
<div class="ui container">
<div class="navbar">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository">
<div class="page-content repository">
{{template "repo/header" .}}
<div class="ui container">
<div class="ui three column stackable grid">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository">
<div class="page-content repository">
{{template "repo/header" .}}
<div class="ui container">
<div class="ui three column stackable grid">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository new milestone">
<div class="page-content repository new milestone">
{{template "repo/header" .}}
<div class="ui container">
<div class="navbar">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository milestones">
<div class="page-content repository milestones">
{{template "repo/header" .}}
<div class="ui container">
<div class="navbar">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository new issue">
<div class="page-content repository new issue">
{{template "repo/header" .}}
<div class="ui container">
<div class="navbar">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository view issue pull">
<div class="page-content repository view issue pull">
{{template "repo/header" .}}
<div class="ui container">
<div class="ui two column stackable grid">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository new migrate">
<div class="page-content repository new migrate">
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form" action="{{.Link}}" method="post">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository new migrate">
<div class="page-content repository new migrate">
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form" action="{{.Link}}" method="post">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository new migrate">
<div class="page-content repository new migrate">
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form" action="{{.Link}}" method="post">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository new migrate">
<div class="page-content repository new migrate">
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form" action="{{.Link}}" method="post">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository new migrate">
<div class="page-content repository new migrate">
<div class="ui middle very relaxed page grid">
<div class="column">
<div class="ui three stackable cards">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository quickstart">
<div class="page-content repository quickstart">
{{template "repo/header" .}}
<div class="ui container">
<div class="ui grid">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository milestones">
<div class="page-content repository milestones">
{{template "repo/header" .}}
<div class="ui container">
<div class="navbar">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository new milestone">
<div class="page-content repository new milestone">
{{template "repo/header" .}}
<div class="ui container">
<div class="navbar">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository">
<div class="page-content repository">
{{template "repo/header" .}}
<div class="ui container">
<div class="ui three column stackable grid">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository view issue pull commits">
<div class="page-content repository view issue pull commits">
{{template "repo/header" .}}
<div class="ui container">
<div class="navbar">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository view issue pull files diff">
<div class="page-content repository view issue pull files diff">
{{template "repo/header" .}}
<div class="ui container {{if .IsSplitStyle}}fluid padded{{end}}">
<div class="navbar">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository new fork">
<div class="page-content repository new fork">
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form" action="{{.Link}}" method="post">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository release">
<div class="page-content repository release">
{{template "repo/header" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository new release">
<div class="page-content repository new release">
{{template "repo/header" .}}
<div class="ui container">
<h2 class="ui dividing header">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository file list">
<div class="page-content repository file list">
{{template "repo/header" .}}
<div class="ui container">
<div class="ui repo-search">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository settings edit">
<div class="page-content repository settings edit">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository settings collaboration">
<div class="page-content repository settings collaboration">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository settings">
<div class="page-content repository settings">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository settings edit githook">
<div class="page-content repository settings edit githook">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository settings githooks">
<div class="page-content repository settings githooks">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository settings lfs">
<div class="page-content repository settings lfs">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository settings lfs">
<div class="page-content repository settings lfs">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container repository file list">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository settings lfs">
<div class="page-content repository settings lfs">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container repository file list">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository settings lfs">
<div class="page-content repository settings lfs">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container repository file list">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository settings lfs">
<div class="page-content repository settings lfs">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository settings options">
<div class="page-content repository settings options">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository settings branches">
<div class="page-content repository settings branches">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository settings webhooks">
<div class="page-content repository settings webhooks">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository settings new webhook">
<div class="page-content repository settings new webhook">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository watchers">
<div class="page-content repository watchers">
{{template "repo/header" .}}
{{template "repo/user_cards" .}}
</div>

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository wiki new">
<div class="page-content repository wiki new">
{{template "repo/header" .}}
<div class="ui container">
{{template "base/alert" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository wiki pages">
<div class="page-content repository wiki pages">
{{template "repo/header" .}}
<div class="ui container">
<h2 class="ui header df ac sb">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository wiki revisions">
<div class="page-content repository wiki revisions">
{{template "repo/header" .}}
{{ $title := .title}}
<div class="ui container">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository wiki start">
<div class="page-content repository wiki start">
{{template "repo/header" .}}
<div class="ui container">
<div class="ui center segment">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="repository wiki view">
<div class="page-content repository wiki view">
{{template "repo/header" .}}
{{ $title := .title}}
<div class="ui container">

@ -1,10 +1,12 @@
{{template "base/head" .}}
{{if .IsRepo}}<div class="repository">{{template "repo/header" .}}</div>{{end}}
<div class="ui container center">
<p style="margin-top: 100px"><img class="ui centered image" src="{{StaticUrlPrefix}}/img/404.png" alt="404"/></p>
<div class="ui divider"></div>
<br>
<p>{{.i18n.Tr "error404" | Safe}}
{{if .ShowFooterVersion}}<p>{{.i18n.Tr "admin.config.app_ver"}}: {{AppVer}}</p>{{end}}
<div class="page-content ui container center {{if .IsRepo}}repository{{end}}">
{{if .IsRepo}}{{template "repo/header" .}}{{end}}
<div class="ui container center">
<p style="margin-top: 100px"><img class="ui centered image" src="{{StaticUrlPrefix}}/img/404.png" alt="404"/></p>
<div class="ui divider"></div>
<br>
<p>{{.i18n.Tr "error404" | Safe}}
{{if .ShowFooterVersion}}<p>{{.i18n.Tr "admin.config.app_ver"}}: {{AppVer}}</p>{{end}}
</div>
</div>
{{template "base/footer" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="ui container center">
<div class="page-content ui container center">
<p style="margin-top: 100px"><img class="ui centered image" src="{{StaticUrlPrefix}}/img/500.png" alt="500"/></p>
<div class="ui divider"></div>
<br>

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="user activate">
<div class="page-content user activate">
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form ignore-dirty" action="{{AppSubUrl}}/user/activate" method="post">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="user signin{{if .LinkAccountMode}} icon{{end}}">
<div class="page-content user signin{{if .LinkAccountMode}} icon{{end}}">
<div class="ui container">
{{template "user/auth/change_passwd_inner" .}}
</div>

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="user signin">
<div class="page-content user signin">
<div class="ui container">
<div class="ui grid">
{{template "user/auth/finalize_openid_navbar" .}}

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="user forgot password">
<div class="page-content user forgot password">
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form ignore-dirty" action="{{.Link}}" method="post">

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="ui one column stackable center aligned page grid oauth2-authorize-application-box">
<div class="page-content ui one column stackable center aligned page grid oauth2-authorize-application-box">
<div class="column seven wide">
<div class="ui middle centered raised segments">
<h3 class="ui top attached header">

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save