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,7 +1,6 @@
{{template "base/head" .}} {{template "base/head" .}}
<div role="main" aria-label="{{.Title}}" 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="ui container medium-width">
<div class="column">
{{template "base/alert" .}} {{template "base/alert" .}}
<h3 class="ui top attached header"> <h3 class="ui top attached header">
{{ctx.Locale.Tr "new_org"}} {{ctx.Locale.Tr "new_org"}}
@ -50,6 +49,5 @@
</form> </form>
</div> </div>
</div> </div>
</div>
</div> </div>
{{template "base/footer" .}} {{template "base/footer" .}}

@ -1,7 +1,6 @@
{{template "base/head" .}} {{template "base/head" .}}
<div role="main" aria-label="{{.Title}}" 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="ui container medium-width">
<div class="column">
<h3 class="ui top attached header"> <h3 class="ui top attached header">
{{ctx.Locale.Tr "new_repo"}} {{ctx.Locale.Tr "new_repo"}}
</h3> </h3>
@ -220,6 +219,5 @@
</form> </form>
</div> </div>
</div> </div>
</div>
</div> </div>
{{template "base/footer" .}} {{template "base/footer" .}}

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

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

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

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

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

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

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

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

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

@ -1,7 +1,6 @@
{{template "base/head" .}} {{template "base/head" .}}
<div role="main" aria-label="{{.Title}}" 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="ui container medium-width">
<div class="column">
<h3 class="ui top attached header"> <h3 class="ui top attached header">
{{ctx.Locale.Tr "new_fork"}} {{ctx.Locale.Tr "new_fork"}}
</h3> </h3>
@ -83,6 +82,5 @@
</form> </form>
</div> </div>
</div> </div>
</div>
</div> </div>
{{template "base/footer" .}} {{template "base/footer" .}}

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

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

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

Loading…
Cancel
Save