Fix form width (#33151)

Fix #33150
pull/33146/head^2
wxiaoguang 3 weeks ago committed by GitHub
parent 124079871b
commit 9c00e065a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      templates/org/create.tmpl
  2. 4
      templates/repo/create.tmpl
  3. 4
      templates/repo/migrate/codebase.tmpl
  4. 4
      templates/repo/migrate/codecommit.tmpl
  5. 4
      templates/repo/migrate/git.tmpl
  6. 4
      templates/repo/migrate/gitbucket.tmpl
  7. 4
      templates/repo/migrate/gitea.tmpl
  8. 4
      templates/repo/migrate/github.tmpl
  9. 4
      templates/repo/migrate/gitlab.tmpl
  10. 4
      templates/repo/migrate/gogs.tmpl
  11. 4
      templates/repo/migrate/onedev.tmpl
  12. 4
      templates/repo/pulls/fork.tmpl
  13. 2
      templates/user/auth/signup_openid_connect.tmpl
  14. 1
      web_src/css/form.css
  15. 3
      web_src/css/modules/container.css

@ -1,7 +1,6 @@
{{template "base/head" .}}
<div role="main" aria-label="{{.Title}}" class="page-content organization new org">
<div class="ui middle very relaxed page grid">
<div class="column">
<div class="ui container medium-width">
{{template "base/alert" .}}
<h3 class="ui top attached header">
{{ctx.Locale.Tr "new_org"}}
@ -51,5 +50,4 @@
</div>
</div>
</div>
</div>
{{template "base/footer" .}}

@ -1,7 +1,6 @@
{{template "base/head" .}}
<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">
<div class="ui container medium-width">
<h3 class="ui top attached header">
{{ctx.Locale.Tr "new_repo"}}
</h3>
@ -221,5 +220,4 @@
</div>
</div>
</div>
</div>
{{template "base/footer" .}}

@ -1,7 +1,6 @@
{{template "base/head" .}}
<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 container medium-width">
<h3 class="ui top attached header">
{{ctx.Locale.Tr "repo.migrate.migrate" .service.Title}}
<input id="service_type" type="hidden" name="service" value="{{.service}}">
@ -112,5 +111,4 @@
</div>
</div>
</div>
</div>
{{template "base/footer" .}}

@ -1,7 +1,6 @@
{{template "base/head" .}}
<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 container medium-width">
<h3 class="ui top attached header">
{{ctx.Locale.Tr "repo.migrate.migrate" .service.Title}}
<input id="service_type" type="hidden" name="service" value="{{.service}}">
@ -113,5 +112,4 @@
</div>
</div>
</div>
</div>
{{template "base/footer" .}}

@ -1,7 +1,6 @@
{{template "base/head" .}}
<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 container medium-width">
<h3 class="ui top attached header">
{{ctx.Locale.Tr "repo.migrate.migrate" .service.Title}}
<input id="service_type" type="hidden" name="service" value="{{.service}}">
@ -86,5 +85,4 @@
</div>
</div>
</div>
</div>
{{template "base/footer" .}}

@ -1,7 +1,6 @@
{{template "base/head" .}}
<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 container medium-width">
<h3 class="ui top attached header">
{{ctx.Locale.Tr "repo.migrate.migrate" .service.Title}}
<input id="service_type" type="hidden" name="service" value="{{.service}}">
@ -128,5 +127,4 @@
</div>
</div>
</div>
</div>
{{template "base/footer" .}}

@ -1,7 +1,6 @@
{{template "base/head" .}}
<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 container medium-width">
<h3 class="ui top attached header">
{{ctx.Locale.Tr "repo.migrate.migrate" .service.Title}}
<input id="service_type" type="hidden" name="service" value="{{.service}}">
@ -124,5 +123,4 @@
</div>
</div>
</div>
</div>
{{template "base/footer" .}}

@ -1,7 +1,6 @@
{{template "base/head" .}}
<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 container medium-width">
<h3 class="ui top attached header">
{{ctx.Locale.Tr "repo.migrate.migrate" .service.Title}}
<input id="service_type" type="hidden" name="service" value="{{.service}}">
@ -126,5 +125,4 @@
</div>
</div>
</div>
</div>
{{template "base/footer" .}}

@ -1,7 +1,6 @@
{{template "base/head" .}}
<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 container medium-width">
<h3 class="ui top attached header">
{{ctx.Locale.Tr "repo.migrate.migrate" .service.Title}}
<input id="service_type" type="hidden" name="service" value="{{.service}}">
@ -123,5 +122,4 @@
</div>
</div>
</div>
</div>
{{template "base/footer" .}}

@ -1,7 +1,6 @@
{{template "base/head" .}}
<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 container medium-width">
<h3 class="ui top attached header">
{{ctx.Locale.Tr "repo.migrate.migrate" .service.Title}}
<input id="service_type" type="hidden" name="service" value="{{.service}}">
@ -126,5 +125,4 @@
</div>
</div>
</div>
</div>
{{template "base/footer" .}}

@ -1,7 +1,6 @@
{{template "base/head" .}}
<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 container medium-width">
<h3 class="ui top attached header">
{{ctx.Locale.Tr "repo.migrate.migrate" .service.Title}}
<input id="service_type" type="hidden" name="service" value="{{.service}}">
@ -113,5 +112,4 @@
</div>
</div>
</div>
</div>
{{template "base/footer" .}}

@ -1,7 +1,6 @@
{{template "base/head" .}}
<div role="main" aria-label="{{.Title}}" class="page-content repository new fork">
<div class="ui middle very relaxed page grid">
<div class="column">
<div class="ui container medium-width">
<h3 class="ui top attached header">
{{ctx.Locale.Tr "new_fork"}}
</h3>
@ -84,5 +83,4 @@
</div>
</div>
</div>
</div>
{{template "base/footer" .}}

@ -1,7 +1,7 @@
{{template "base/head" .}}
<div role="main" aria-label="{{.Title}}" class="page-content user signup">
{{template "user/auth/signup_openid_navbar" .}}
<div class="ui container">
<div class="ui container medium-width">
{{template "base/alert" .}}
<h4 class="ui top attached header">
{{ctx.Locale.Tr "auth.openid_connect_title"}}

@ -155,6 +155,7 @@ textarea:focus,
}
.ui.form.left-right-form .inline.field > .help {
display: block;
margin-left: calc(250px + 15px);
}

@ -11,6 +11,9 @@
.ui.fluid.container {
width: 100%;
}
.ui.container.medium-width {
width: 800px;
}
.ui[class*="center aligned"].container {
text-align: center;

Loading…
Cancel
Save