2015-09-06 10:08:14 -04:00
|
|
|
{{template "base/head" .}}
|
2023-02-01 17:56:10 -05:00
|
|
|
<div role="main" aria-label="{{.Title}}" class="page-content organization new org">
|
2015-12-07 17:30:52 -05:00
|
|
|
<div class="ui middle very relaxed page grid">
|
|
|
|
<div class="column">
|
|
|
|
<form class="ui form" action="{{.Link}}" method="post">
|
|
|
|
{{.CsrfTokenHtml}}
|
|
|
|
<h3 class="ui top attached header">
|
2024-08-07 12:54:05 -04:00
|
|
|
{{ctx.Locale.Tr "new_org.title"}}
|
2015-12-07 17:30:52 -05:00
|
|
|
</h3>
|
|
|
|
<div class="ui attached segment">
|
|
|
|
{{template "base/alert" .}}
|
|
|
|
<div class="inline required field {{if .Err_OrgName}}error{{end}}">
|
2023-09-25 04:56:50 -04:00
|
|
|
<label for="org_name">{{ctx.Locale.Tr "org.org_name_holder"}}</label>
|
2023-04-17 11:35:57 -04:00
|
|
|
<input id="org_name" name="org_name" value="{{.org_name}}" autofocus required maxlength="40">
|
2023-09-25 04:56:50 -04:00
|
|
|
<span class="help">{{ctx.Locale.Tr "org.org_name_helper"}}</span>
|
2015-12-07 17:30:52 -05:00
|
|
|
</div>
|
2015-09-06 10:08:14 -04:00
|
|
|
|
2019-03-28 14:36:17 -04:00
|
|
|
<div class="inline field {{if .Err_OrgVisibility}}error{{end}}">
|
2023-09-25 04:56:50 -04:00
|
|
|
<span class="inline required field"><label for="visibility">{{ctx.Locale.Tr "org.settings.visibility"}}</label></span>
|
2019-07-12 13:44:28 -04:00
|
|
|
<div class="inline-grouped-list">
|
|
|
|
<div class="ui radio checkbox">
|
2023-08-25 22:44:00 -04:00
|
|
|
<input class="enable-system-radio" name="visibility" type="radio" value="0" {{if .DefaultOrgVisibilityMode.IsPublic}}checked{{end}}>
|
2023-09-25 04:56:50 -04:00
|
|
|
<label>{{ctx.Locale.Tr "org.settings.visibility.public"}}</label>
|
2019-07-12 13:44:28 -04:00
|
|
|
</div>
|
|
|
|
<div class="ui radio checkbox">
|
2023-08-25 22:44:00 -04:00
|
|
|
<input class="enable-system-radio" name="visibility" type="radio" value="1" {{if .DefaultOrgVisibilityMode.IsLimited}}checked{{end}}>
|
2023-09-25 04:56:50 -04:00
|
|
|
<label>{{ctx.Locale.Tr "org.settings.visibility.limited"}}</label>
|
2019-07-12 13:44:28 -04:00
|
|
|
</div>
|
|
|
|
<div class="ui radio checkbox">
|
2023-08-25 22:44:00 -04:00
|
|
|
<input class="enable-system-radio" name="visibility" type="radio" value="2" {{if .DefaultOrgVisibilityMode.IsPrivate}}checked{{end}}>
|
2023-09-25 04:56:50 -04:00
|
|
|
<label>{{ctx.Locale.Tr "org.settings.visibility.private"}}</label>
|
2019-07-12 13:44:28 -04:00
|
|
|
</div>
|
2019-02-18 11:00:27 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-09-23 16:08:03 -04:00
|
|
|
|
2019-10-14 14:20:42 -04:00
|
|
|
<div class="inline field" id="permission_box">
|
2024-07-06 19:37:38 -04:00
|
|
|
<span class="inline field"><label>{{ctx.Locale.Tr "org.settings.permission"}}</label></span>
|
2019-10-14 14:20:42 -04:00
|
|
|
<div class="inline-grouped-list">
|
2019-09-23 16:08:03 -04:00
|
|
|
<div class="ui checkbox">
|
2023-03-27 12:05:51 -04:00
|
|
|
<input type="checkbox" name="repo_admin_change_team_access" checked>
|
2023-09-25 04:56:50 -04:00
|
|
|
<label>{{ctx.Locale.Tr "org.settings.repoadminchangeteam"}}</label>
|
2019-09-23 16:08:03 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2015-12-07 17:30:52 -05:00
|
|
|
<div class="inline field">
|
|
|
|
<label></label>
|
2023-09-18 18:05:31 -04:00
|
|
|
<button class="ui primary button">
|
2023-09-25 04:56:50 -04:00
|
|
|
{{ctx.Locale.Tr "org.create_org"}}
|
2015-12-07 17:30:52 -05:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-07-26 23:53:16 -04:00
|
|
|
</div>
|
2015-12-07 17:30:52 -05:00
|
|
|
{{template "base/footer" .}}
|