Skip to content

Commit

Permalink
Revert "Use flex-container for repo and org settings (go-gitea#27418)"
Browse files Browse the repository at this point in the history
This reverts commit cbc0b73.
  • Loading branch information
wxiaoguang committed Dec 24, 2023
1 parent 18a5021 commit b12c0cc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions templates/org/settings/layout_head.tmpl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{{template "base/head" .ctxData}}
<div role="main" aria-label="{{.ctxData.Title}}" class="page-content {{.pageClass}}">
{{template "org/header" .ctxData}}
<div class="ui container flex-container">
<div class="ui container stackable grid">
{{template "org/settings/navbar" .ctxData}}
<div class="flex-container-main">
<div class="twelve wide column">
{{template "base/alert" .ctxData}}
{{/* block: org-setting-content */}}

Expand Down
2 changes: 1 addition & 1 deletion templates/org/settings/navbar.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="flex-container-nav">
<div class="four wide column">
<div class="ui fluid vertical menu">
<div class="header item">{{ctx.Locale.Tr "org.settings"}}</div>
<a class="{{if .PageIsSettingsOptions}}active {{end}}item" href="{{.OrgLink}}/settings">
Expand Down
4 changes: 2 additions & 2 deletions templates/repo/settings/layout_head.tmpl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{{template "base/head" .ctxData}}
<div role="main" aria-label="{{.ctxData.Title}}" class="page-content {{.pageClass}}">
{{template "repo/header" .ctxData}}
<div class="ui container flex-container">
<div class="ui container stackable grid">
{{template "repo/settings/navbar" .ctxData}}
<div class="flex-container-main">
<div class="twelve wide column">
{{template "base/alert" .ctxData}}
{{/* block: repo-setting-content */}}

Expand Down
2 changes: 1 addition & 1 deletion templates/repo/settings/navbar.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="flex-container-nav">
<div class="four wide column">
<div class="ui fluid vertical menu">
<div class="header item">{{ctx.Locale.Tr "repo.settings"}}</div>
<a class="{{if .PageIsSettingsOptions}}active {{end}}item" href="{{.RepoLink}}/settings">
Expand Down

0 comments on commit b12c0cc

Please sign in to comment.