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
This commit is contained in:
Felipe Leopoldo Sologuren Gutiérrez 2023-02-01 19:56:10 -03:00 committed by Loïc Dachary
parent f016f0fa1e
commit e6a557cae3
No known key found for this signature in database
GPG key ID: 992D23B392F9E4F2
158 changed files with 164 additions and 163 deletions

View file

@ -23,6 +23,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

View file

@ -62,7 +62,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
@ -854,7 +854,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{})
@ -1093,7 +1093,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

View file

@ -29,7 +29,7 @@ import (
// ProtectedBranch render the page to protect the repository
func ProtectedBranch(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("repo.settings")
ctx.Data["Title"] = ctx.Tr("repo.settings.branches")
ctx.Data["PageIsSettingsBranches"] = true
protectedBranches, err := git_model.GetProtectedBranches(ctx.Repo.Repository.ID)
@ -61,7 +61,7 @@ func ProtectedBranch(ctx *context.Context) {
// ProtectedBranchPost response for protect for a branch of a repository
func ProtectedBranchPost(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("repo.settings")
ctx.Data["Title"] = ctx.Tr("repo.settings.protected_branch")
ctx.Data["PageIsSettingsBranches"] = true
repo := ctx.Repo.Repository

View file

@ -134,7 +134,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.Repo.Repository.ID)

View file

@ -31,7 +31,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

View file

@ -18,7 +18,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

View file

@ -22,7 +22,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)

View file

@ -24,7 +24,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

View file

@ -43,7 +43,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()
@ -220,7 +220,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{
@ -255,7 +255,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
@ -361,7 +361,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

View file

@ -23,7 +23,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") != "" {

View file

@ -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">

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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>

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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" .}}

View file

@ -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">

View file

@ -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" .}}

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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" .}}

View file

@ -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">

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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>

View file

@ -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">

View file

@ -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>

View file

@ -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" .}}

View file

@ -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 := ""}}

View file

@ -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" .}}

View file

@ -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">

View file

@ -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}}">

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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}}">

View file

@ -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" .}}

View file

@ -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" .}}

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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">
<div class="ui three stackable cards">

View file

@ -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">

View file

@ -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">

View file

@ -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 "repo/header" .}}
{{template "package/shared/list" .}}
</div>

View file

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

View file

@ -1,5 +1,5 @@
{{template "base/head" .}}
<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">
{{template "repo/header" .}}
<div class="ui container">
<div class="navbar">

View file

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

View file

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

View file

@ -3,7 +3,7 @@
<input type="hidden" id="repolink" value="{{$.RepoRelPath}}">
<input type="hidden" id="issueIndex" value="{{.Issue.Index}}"/>
<div class="page-content repository view issue pull files diff">
<div role="main" aria-label="{{.Title}}" class="page-content repository view issue pull files diff">
{{template "repo/header" .}}
<div class="ui container {{if .IsSplitStyle}}fluid padded{{end}}">
<div class="navbar">

View file

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

View file

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

View file

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

View file

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

View file

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

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