Преглед на файлове

Add main landmark to templates and adjust titles (#22670)

* Add main aria landmark to templates
 * Adjust some titles to improve understanding of location in navigation

Contributed by @Forgejo
tags/v1.19.0-rc0
Felipe Leopoldo Sologuren Gutiérrez преди 1 година
родител
ревизия
15c035775a
No account linked to committer's email address
променени са 100 файла, в които са добавени 105 реда и са изтрити 104 реда
  1. 1
    0
      routers/web/admin/hooks.go
  2. 3
    3
      routers/web/repo/setting.go
  3. 2
    2
      routers/web/repo/setting_protected_branch.go
  4. 1
    1
      routers/web/repo/tag.go
  5. 1
    1
      routers/web/user/setting/account.go
  6. 1
    1
      routers/web/user/setting/adopt.go
  7. 1
    1
      routers/web/user/setting/applications.go
  8. 1
    1
      routers/web/user/setting/keys.go
  9. 4
    4
      routers/web/user/setting/profile.go
  10. 1
    1
      routers/web/user/setting/security/security.go
  11. 1
    1
      templates/admin/applications/list.tmpl
  12. 1
    1
      templates/admin/applications/oauth2_edit.tmpl
  13. 1
    1
      templates/admin/auth/edit.tmpl
  14. 1
    1
      templates/admin/auth/list.tmpl
  15. 1
    1
      templates/admin/auth/new.tmpl
  16. 1
    1
      templates/admin/config.tmpl
  17. 1
    1
      templates/admin/dashboard.tmpl
  18. 1
    1
      templates/admin/emails/list.tmpl
  19. 1
    1
      templates/admin/hook_new.tmpl
  20. 1
    1
      templates/admin/hooks.tmpl
  21. 1
    1
      templates/admin/monitor.tmpl
  22. 1
    1
      templates/admin/notice.tmpl
  23. 1
    1
      templates/admin/org/list.tmpl
  24. 1
    1
      templates/admin/packages/list.tmpl
  25. 1
    1
      templates/admin/queue.tmpl
  26. 1
    1
      templates/admin/repo/list.tmpl
  27. 1
    1
      templates/admin/repo/unadopted.tmpl
  28. 1
    1
      templates/admin/stacktrace.tmpl
  29. 1
    1
      templates/admin/user/edit.tmpl
  30. 1
    1
      templates/admin/user/list.tmpl
  31. 1
    1
      templates/admin/user/new.tmpl
  32. 1
    1
      templates/explore/code.tmpl
  33. 1
    1
      templates/explore/organizations.tmpl
  34. 1
    1
      templates/explore/repos.tmpl
  35. 1
    1
      templates/explore/users.tmpl
  36. 1
    1
      templates/home.tmpl
  37. 1
    1
      templates/install.tmpl
  38. 1
    1
      templates/org/create.tmpl
  39. 1
    1
      templates/org/home.tmpl
  40. 1
    1
      templates/org/member/members.tmpl
  41. 1
    1
      templates/org/projects/list.tmpl
  42. 1
    1
      templates/org/projects/new.tmpl
  43. 1
    1
      templates/org/projects/view.tmpl
  44. 1
    1
      templates/org/settings/applications.tmpl
  45. 1
    1
      templates/org/settings/applications_oauth2_edit.tmpl
  46. 1
    1
      templates/org/settings/delete.tmpl
  47. 1
    1
      templates/org/settings/hook_new.tmpl
  48. 1
    1
      templates/org/settings/hooks.tmpl
  49. 1
    1
      templates/org/settings/labels.tmpl
  50. 1
    1
      templates/org/settings/options.tmpl
  51. 1
    1
      templates/org/settings/packages.tmpl
  52. 1
    1
      templates/org/settings/packages_cleanup_rules_edit.tmpl
  53. 1
    1
      templates/org/settings/packages_cleanup_rules_preview.tmpl
  54. 1
    1
      templates/org/settings/secrets.tmpl
  55. 1
    1
      templates/org/team/invite.tmpl
  56. 1
    1
      templates/org/team/members.tmpl
  57. 1
    1
      templates/org/team/new.tmpl
  58. 1
    1
      templates/org/team/repositories.tmpl
  59. 1
    1
      templates/org/team/teams.tmpl
  60. 1
    1
      templates/package/settings.tmpl
  61. 1
    1
      templates/package/view.tmpl
  62. 1
    1
      templates/post-install.tmpl
  63. 1
    1
      templates/projects/list.tmpl
  64. 1
    1
      templates/projects/new.tmpl
  65. 1
    1
      templates/projects/view.tmpl
  66. 1
    1
      templates/repo/activity.tmpl
  67. 1
    1
      templates/repo/branch/list.tmpl
  68. 1
    1
      templates/repo/commit_page.tmpl
  69. 1
    1
      templates/repo/commits.tmpl
  70. 1
    1
      templates/repo/create.tmpl
  71. 1
    1
      templates/repo/diff/compare.tmpl
  72. 1
    1
      templates/repo/editor/cherry_pick.tmpl
  73. 1
    1
      templates/repo/editor/delete.tmpl
  74. 1
    1
      templates/repo/editor/edit.tmpl
  75. 1
    1
      templates/repo/editor/patch.tmpl
  76. 1
    1
      templates/repo/editor/upload.tmpl
  77. 1
    1
      templates/repo/empty.tmpl
  78. 1
    1
      templates/repo/find/files.tmpl
  79. 1
    1
      templates/repo/forks.tmpl
  80. 1
    1
      templates/repo/graph.tmpl
  81. 1
    1
      templates/repo/home.tmpl
  82. 1
    1
      templates/repo/issue/choose.tmpl
  83. 1
    1
      templates/repo/issue/labels.tmpl
  84. 1
    1
      templates/repo/issue/list.tmpl
  85. 1
    1
      templates/repo/issue/milestone_issues.tmpl
  86. 1
    1
      templates/repo/issue/milestone_new.tmpl
  87. 1
    1
      templates/repo/issue/milestones.tmpl
  88. 1
    1
      templates/repo/issue/new.tmpl
  89. 1
    1
      templates/repo/issue/view.tmpl
  90. 1
    1
      templates/repo/migrate/codebase.tmpl
  91. 1
    1
      templates/repo/migrate/git.tmpl
  92. 1
    1
      templates/repo/migrate/gitbucket.tmpl
  93. 1
    1
      templates/repo/migrate/gitea.tmpl
  94. 1
    1
      templates/repo/migrate/github.tmpl
  95. 1
    1
      templates/repo/migrate/gitlab.tmpl
  96. 1
    1
      templates/repo/migrate/gogs.tmpl
  97. 1
    1
      templates/repo/migrate/migrate.tmpl
  98. 1
    1
      templates/repo/migrate/migrating.tmpl
  99. 1
    1
      templates/repo/migrate/onedev.tmpl
  100. 0
    0
      templates/repo/packages.tmpl

+ 1
- 0
routers/web/admin/hooks.go Целия файл

@@ -22,6 +22,7 @@ const (
func DefaultOrSystemWebhooks(ctx *context.Context) {
var err error

ctx.Data["Title"] = ctx.Tr("admin.hooks")
ctx.Data["PageIsAdminSystemHooks"] = true
ctx.Data["PageIsAdminDefaultHooks"] = true


+ 3
- 3
routers/web/repo/setting.go Целия файл

@@ -60,7 +60,7 @@ const (
// SettingsCtxData is a middleware that sets all the general context data for the
// settings template.
func SettingsCtxData(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("repo.settings")
ctx.Data["Title"] = ctx.Tr("repo.settings.options")
ctx.Data["PageIsSettingsOptions"] = true
ctx.Data["ForcePrivate"] = setting.Repository.ForcePrivate
ctx.Data["MirrorsEnabled"] = setting.Mirror.Enabled
@@ -879,7 +879,7 @@ func handleSettingRemoteAddrError(ctx *context.Context, err error, form *forms.R

// Collaboration render a repository's collaboration page
func Collaboration(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("repo.settings")
ctx.Data["Title"] = ctx.Tr("repo.settings.collaboration")
ctx.Data["PageIsSettingsCollaboration"] = true

users, err := repo_model.GetCollaborators(ctx, ctx.Repo.Repository.ID, db.ListOptions{})
@@ -1119,7 +1119,7 @@ func GitHooksEditPost(ctx *context.Context) {

// DeployKeys render the deploy keys list of a repository page
func DeployKeys(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("repo.settings.deploy_keys")
ctx.Data["Title"] = ctx.Tr("repo.settings.deploy_keys") + " / " + ctx.Tr("secrets.secrets")
ctx.Data["PageIsSettingsKeys"] = true
ctx.Data["DisableSSH"] = setting.SSH.Disabled


+ 2
- 2
routers/web/repo/setting_protected_branch.go Целия файл

@@ -31,7 +31,7 @@ const (

// ProtectedBranchRules render the page to protect the repository
func ProtectedBranchRules(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("repo.settings")
ctx.Data["Title"] = ctx.Tr("repo.settings.branches")
ctx.Data["PageIsSettingsBranches"] = true

rules, err := git_model.FindRepoProtectedBranchRules(ctx, ctx.Repo.Repository.ID)
@@ -46,7 +46,7 @@ func ProtectedBranchRules(ctx *context.Context) {

// SetDefaultBranchPost set default branch
func SetDefaultBranchPost(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("repo.settings")
ctx.Data["Title"] = ctx.Tr("repo.settings.branches.update_default_branch")
ctx.Data["PageIsSettingsBranches"] = true

repo := ctx.Repo.Repository

+ 1
- 1
routers/web/repo/tag.go Целия файл

@@ -133,7 +133,7 @@ func DeleteProtectedTagPost(ctx *context.Context) {
}

func setTagsContext(ctx *context.Context) error {
ctx.Data["Title"] = ctx.Tr("repo.settings")
ctx.Data["Title"] = ctx.Tr("repo.settings.tags")
ctx.Data["PageIsSettingsTags"] = true

protectedTags, err := git_model.GetProtectedTags(ctx, ctx.Repo.Repository.ID)

+ 1
- 1
routers/web/user/setting/account.go Целия файл

@@ -30,7 +30,7 @@ const (

// Account renders change user's password, user's email and user suicide page
func Account(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("settings")
ctx.Data["Title"] = ctx.Tr("settings.account")
ctx.Data["PageIsSettingsAccount"] = true
ctx.Data["Email"] = ctx.Doer.Email
ctx.Data["EnableNotifyMail"] = setting.Service.EnableNotifyMail

+ 1
- 1
routers/web/user/setting/adopt.go Целия файл

@@ -17,7 +17,7 @@ import (

// AdoptOrDeleteRepository adopts or deletes a repository
func AdoptOrDeleteRepository(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("settings")
ctx.Data["Title"] = ctx.Tr("settings.adopt")
ctx.Data["PageIsSettingsRepos"] = true
allowAdopt := ctx.IsUserSiteAdmin() || setting.Repository.AllowAdoptionOfUnadoptedRepositories
ctx.Data["allowAdopt"] = allowAdopt

+ 1
- 1
routers/web/user/setting/applications.go Целия файл

@@ -21,7 +21,7 @@ const (

// Applications render manage access token page
func Applications(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("settings")
ctx.Data["Title"] = ctx.Tr("settings.applications")
ctx.Data["PageIsSettingsApplications"] = true

loadApplicationsData(ctx)

+ 1
- 1
routers/web/user/setting/keys.go Целия файл

@@ -23,7 +23,7 @@ const (

// Keys render user's SSH/GPG public keys page
func Keys(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("settings")
ctx.Data["Title"] = ctx.Tr("settings.ssh_gpg_keys")
ctx.Data["PageIsSettingsKeys"] = true
ctx.Data["DisableSSH"] = setting.SSH.Disabled
ctx.Data["BuiltinSSH"] = setting.SSH.StartBuiltinServer

+ 4
- 4
routers/web/user/setting/profile.go Целия файл

@@ -42,7 +42,7 @@ const (

// Profile render user's profile page
func Profile(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("settings")
ctx.Data["Title"] = ctx.Tr("settings.profile")
ctx.Data["PageIsSettingsProfile"] = true
ctx.Data["AllowedUserVisibilityModes"] = setting.Service.AllowedUserVisibilityModesSlice.ToVisibleTypeSlice()

@@ -219,7 +219,7 @@ func DeleteAvatar(ctx *context.Context) {

// Organization render all the organization of the user
func Organization(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("settings")
ctx.Data["Title"] = ctx.Tr("settings.organization")
ctx.Data["PageIsSettingsOrganization"] = true

opts := organization.FindOrgOptions{
@@ -254,7 +254,7 @@ func Organization(ctx *context.Context) {

// Repos display a list of all repositories of the user
func Repos(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("settings")
ctx.Data["Title"] = ctx.Tr("settings.repos")
ctx.Data["PageIsSettingsRepos"] = true
ctx.Data["allowAdopt"] = ctx.IsUserSiteAdmin() || setting.Repository.AllowAdoptionOfUnadoptedRepositories
ctx.Data["allowDelete"] = ctx.IsUserSiteAdmin() || setting.Repository.AllowDeleteOfUnadoptedRepositories
@@ -360,7 +360,7 @@ func Repos(ctx *context.Context) {

// Appearance render user's appearance settings
func Appearance(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("settings")
ctx.Data["Title"] = ctx.Tr("settings.appearance")
ctx.Data["PageIsSettingsAppearance"] = true

var hiddenCommentTypes *big.Int

+ 1
- 1
routers/web/user/setting/security/security.go Целия файл

@@ -22,7 +22,7 @@ const (

// Security render change user's password page and 2FA
func Security(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("settings")
ctx.Data["Title"] = ctx.Tr("settings.security")
ctx.Data["PageIsSettingsSecurity"] = true

if ctx.FormString("openid.return_to") != "" {

+ 1
- 1
templates/admin/applications/list.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content admin config">
<div role="main" aria-label="{{.Title}}" class="page-content admin config">
{{template "admin/navbar" .}}
<div class="ui container">
<div class="twelve wide column content">

+ 1
- 1
templates/admin/applications/oauth2_edit.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content admin config">
<div role="main" aria-label="{{.Title}}" class="page-content admin config">
{{template "admin/navbar" .}}

{{template "user/settings/applications_oauth2_edit_form" .}}

+ 1
- 1
templates/admin/auth/edit.tmpl Целия файл

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

+ 1
- 1
templates/admin/auth/list.tmpl Целия файл

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

+ 1
- 1
templates/admin/auth/new.tmpl Целия файл

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

+ 1
- 1
templates/admin/config.tmpl Целия файл

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

+ 1
- 1
templates/admin/dashboard.tmpl Целия файл

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

+ 1
- 1
templates/admin/emails/list.tmpl Целия файл

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

+ 1
- 1
templates/admin/hook_new.tmpl Целия файл

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

+ 1
- 1
templates/admin/hooks.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content admin hooks">
<div role="main" aria-label="{{.Title}}" class="page-content admin hooks">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}

+ 1
- 1
templates/admin/monitor.tmpl Целия файл

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

+ 1
- 1
templates/admin/notice.tmpl Целия файл

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

+ 1
- 1
templates/admin/org/list.tmpl Целия файл

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

+ 1
- 1
templates/admin/packages/list.tmpl Целия файл

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

+ 1
- 1
templates/admin/queue.tmpl Целия файл

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

+ 1
- 1
templates/admin/repo/list.tmpl Целия файл

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

+ 1
- 1
templates/admin/repo/unadopted.tmpl Целия файл

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

+ 1
- 1
templates/admin/stacktrace.tmpl Целия файл

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

+ 1
- 1
templates/admin/user/edit.tmpl Целия файл

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

+ 1
- 1
templates/admin/user/list.tmpl Целия файл

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

+ 1
- 1
templates/admin/user/new.tmpl Целия файл

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

+ 1
- 1
templates/explore/code.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content explore users">
<div role="main" aria-label="{{.Title}}" class="page-content explore users">
{{template "explore/navbar" .}}
<div class="ui container">
{{template "code/searchform" .}}

+ 1
- 1
templates/explore/organizations.tmpl Целия файл

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

+ 1
- 1
templates/explore/repos.tmpl Целия файл

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

+ 1
- 1
templates/explore/users.tmpl Целия файл

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

+ 1
- 1
templates/home.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content home">
<div role="main" aria-label="{{if .IsSigned}}{{.locale.Tr "dashboard"}}{{else}}{{.locale.Tr "home"}}{{end}}" class="page-content home">
<div class="ui stackable middle very relaxed page grid">
<div class="sixteen wide center aligned centered column">
<div>

+ 1
- 1
templates/install.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content install">
<div role="main" aria-label="{{.Title}}" 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
- 1
templates/org/create.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content organization new org">
<div role="main" aria-label="{{.Title}}" 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
- 1
templates/org/home.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content organization profile">
<div role="main" aria-label="{{.Title}}" class="page-content organization profile">
<div class="ui container df">
{{avatar .Org 140 "org-avatar"}}
<div id="org-info">

+ 1
- 1
templates/org/member/members.tmpl Целия файл

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

+ 1
- 1
templates/org/projects/list.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content repository packages">
<div role="main" aria-label="{{.Title}}" class="page-content repository packages">
{{template "user/overview/header" .}}
{{template "projects/list" .}}
</div>

+ 1
- 1
templates/org/projects/new.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content repository packages">
<div role="main" aria-label="{{.Title}}" class="page-content repository packages">
{{template "user/overview/header" .}}
{{template "projects/new" .}}
</div>

+ 1
- 1
templates/org/projects/view.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content repository packages">
<div role="main" aria-label="{{.Title}}" class="page-content repository packages">
{{template "user/overview/header" .}}
{{template "projects/view" .}}
</div>

+ 1
- 1
templates/org/settings/applications.tmpl Целия файл

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

+ 1
- 1
templates/org/settings/applications_oauth2_edit.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content organization settings options">
<div role="main" aria-label="{{.Title}}" class="page-content organization settings options">
{{template "org/header" .}}

{{template "user/settings/applications_oauth2_edit_form" .}}

+ 1
- 1
templates/org/settings/delete.tmpl Целия файл

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

+ 1
- 1
templates/org/settings/hook_new.tmpl Целия файл

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

+ 1
- 1
templates/org/settings/hooks.tmpl Целия файл

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

+ 1
- 1
templates/org/settings/labels.tmpl Целия файл

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

+ 1
- 1
templates/org/settings/options.tmpl Целия файл

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

+ 1
- 1
templates/org/settings/packages.tmpl Целия файл

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

+ 1
- 1
templates/org/settings/packages_cleanup_rules_edit.tmpl Целия файл

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

+ 1
- 1
templates/org/settings/packages_cleanup_rules_preview.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content organization settings packages admin">
<div role="main" aria-label="{{.Title}}" class="page-content organization settings packages admin">
{{template "org/header" .}}
<div class="ui container">
<div class="ui grid">

+ 1
- 1
templates/org/settings/secrets.tmpl Целия файл

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

+ 1
- 1
templates/org/team/invite.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content organization invite">
<div role="main" aria-label="{{.Title}}" class="page-content organization invite">
<div class="ui container">
{{template "base/alert" .}}
<div class="ui centered card">

+ 1
- 1
templates/org/team/members.tmpl Целия файл

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

+ 1
- 1
templates/org/team/new.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content organization new team">
<div role="main" aria-label="{{.Title}}" class="page-content organization new team">
{{template "org/header" .}}
<div class="ui container">
<div class="ui grid">

+ 1
- 1
templates/org/team/repositories.tmpl Целия файл

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

+ 1
- 1
templates/org/team/teams.tmpl Целия файл

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

+ 1
- 1
templates/package/settings.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content repository settings options">
<div role="main" aria-label="{{.Title}}" class="page-content repository settings options">
{{template "user/overview/header" .}}
<div class="ui container">
{{template "base/alert" .}}

+ 1
- 1
templates/package/view.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content repository view issue packages">
<div role="main" aria-label="{{.Title}}" class="page-content repository view issue packages">
{{template "user/overview/header" .}}
<div class="ui container">
<div>

+ 1
- 1
templates/post-install.tmpl Целия файл

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

+ 1
- 1
templates/projects/list.tmpl Целия файл

@@ -1,4 +1,4 @@
<div class="page-content repository projects">
<div role="main" aria-label="{{.Title}}" class="page-content repository projects">
<div class="ui container">
{{if .CanWriteProjects}}
<div class="navbar">

+ 1
- 1
templates/projects/new.tmpl Целия файл

@@ -1,4 +1,4 @@
<div class="page-content repository projects edit-project new milestone">
<div role="main" aria-label="{{.Title}}" class="page-content repository projects edit-project new milestone">
<div class="ui container">
<div class="navbar">
{{if and .CanWriteProjects .PageIsEditProject}}

+ 1
- 1
templates/projects/view.tmpl Целия файл

@@ -1,4 +1,4 @@
<div class="page-content repository projects view-project">
<div role="main" aria-label="{{.Title}}" class="page-content repository projects view-project">
<div class="ui container">
<div class="ui two column stackable grid">
<div class="column">

+ 1
- 1
templates/repo/activity.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content repository commits">
<div role="main" aria-label="{{.Title}}" class="page-content repository commits">
{{template "repo/header" .}}
<div class="ui container">
<h2 class="ui header"><time data-format="date" datetime="{{.DateFrom}}">{{.DateFrom}}</time> - <time data-format="date" datetime="{{.DateUntil}}">{{.DateUntil}}</time>

+ 1
- 1
templates/repo/branch/list.tmpl Целия файл

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

+ 1
- 1
templates/repo/commit_page.tmpl Целия файл

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

+ 1
- 1
templates/repo/commits.tmpl Целия файл

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

+ 1
- 1
templates/repo/create.tmpl Целия файл

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

+ 1
- 1
templates/repo/diff/compare.tmpl Целия файл

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


+ 1
- 1
templates/repo/editor/cherry_pick.tmpl Целия файл

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

+ 1
- 1
templates/repo/editor/delete.tmpl Целия файл

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

+ 1
- 1
templates/repo/editor/edit.tmpl Целия файл

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

+ 1
- 1
templates/repo/editor/patch.tmpl Целия файл

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

+ 1
- 1
templates/repo/editor/upload.tmpl Целия файл

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

+ 1
- 1
templates/repo/empty.tmpl Целия файл

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

+ 1
- 1
templates/repo/find/files.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content repository">
<div role="main" aria-label="{{.Title}}" class="page-content repository">
{{template "repo/header" .}}
<div class="ui container">
<div class="df ac">

+ 1
- 1
templates/repo/forks.tmpl Целия файл

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

+ 1
- 1
templates/repo/graph.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content repository commits">
<div role="main" aria-label="{{.Title}}" 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
- 1
templates/repo/home.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content repository file list {{if .IsBlame}}blame{{end}}">
<div role="main" aria-label="{{.Title}}" 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
- 1
templates/repo/issue/choose.tmpl Целия файл

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

+ 1
- 1
templates/repo/issue/labels.tmpl Целия файл

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

+ 1
- 1
templates/repo/issue/list.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content repository">
<div role="main" aria-label="{{.Title}}" class="page-content repository">
{{template "repo/header" .}}
<div class="ui container">
<div class="ui three column grid issue-list-headers">

+ 1
- 1
templates/repo/issue/milestone_issues.tmpl Целия файл

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

+ 1
- 1
templates/repo/issue/milestone_new.tmpl Целия файл

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

+ 1
- 1
templates/repo/issue/milestones.tmpl Целия файл

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

+ 1
- 1
templates/repo/issue/new.tmpl Целия файл

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

+ 1
- 1
templates/repo/issue/view.tmpl Целия файл

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

+ 1
- 1
templates/repo/migrate/codebase.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content repository new migrate">
<div role="main" aria-label="{{.Title}}" 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
- 1
templates/repo/migrate/git.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content repository new migrate">
<div role="main" aria-label="{{.Title}}" 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
- 1
templates/repo/migrate/gitbucket.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content repository new migrate">
<div role="main" aria-label="{{.Title}}" 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
- 1
templates/repo/migrate/gitea.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content repository new migrate">
<div role="main" aria-label="{{.Title}}" 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
- 1
templates/repo/migrate/github.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content repository new migrate">
<div role="main" aria-label="{{.Title}}" 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
- 1
templates/repo/migrate/gitlab.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content repository new migrate">
<div role="main" aria-label="{{.Title}}" 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
- 1
templates/repo/migrate/gogs.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content repository new migrate">
<div role="main" aria-label="{{.Title}}" 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
- 1
templates/repo/migrate/migrate.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content repository new migrate">
<div role="main" aria-label="{{.Title}}" class="page-content repository new migrate">
<div class="ui middle very relaxed page grid">
<div class="column">
{{template "repo/migrate/helper" .}}

+ 1
- 1
templates/repo/migrate/migrating.tmpl Целия файл

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

+ 1
- 1
templates/repo/migrate/onedev.tmpl Целия файл

@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content repository new migrate">
<div role="main" aria-label="{{.Title}}" 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">

+ 0
- 0
templates/repo/packages.tmpl Целия файл


Някои файлове не бяха показани, защото твърде много файлове са промени

Loading…
Отказ
Запис