2015-09-06 19:38:14 +05:30
|
|
|
{{template "base/head" .}}
|
2023-02-02 04:26:10 +05:30
|
|
|
<div role="main" aria-label="{{.Title}}" class="page-content organization new org">
|
2015-12-08 04:00:52 +05:30
|
|
|
<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">
|
2022-06-28 02:28:46 +05:30
|
|
|
{{.locale.Tr "new_org"}}
|
2015-12-08 04:00:52 +05:30
|
|
|
</h3>
|
|
|
|
<div class="ui attached segment">
|
|
|
|
{{template "base/alert" .}}
|
|
|
|
<div class="inline required field {{if .Err_OrgName}}error{{end}}">
|
2022-06-28 02:28:46 +05:30
|
|
|
<label for="org_name">{{.locale.Tr "org.org_name_holder"}}</label>
|
2023-04-17 21:05:57 +05:30
|
|
|
<input id="org_name" name="org_name" value="{{.org_name}}" autofocus required maxlength="40">
|
2022-06-28 02:28:46 +05:30
|
|
|
<span class="help">{{.locale.Tr "org.org_name_helper"}}</span>
|
2015-12-08 04:00:52 +05:30
|
|
|
</div>
|
2015-09-06 19:38:14 +05:30
|
|
|
|
2019-03-29 00:06:17 +05:30
|
|
|
<div class="inline field {{if .Err_OrgVisibility}}error{{end}}">
|
2022-06-28 02:28:46 +05:30
|
|
|
<span class="inline required field"><label for="visibility">{{.locale.Tr "org.settings.visibility"}}</label></span>
|
2019-07-12 23:14:28 +05:30
|
|
|
<div class="inline-grouped-list">
|
|
|
|
<div class="ui radio checkbox">
|
2023-08-26 08:14:00 +05:30
|
|
|
<input class="enable-system-radio" name="visibility" type="radio" value="0" {{if .DefaultOrgVisibilityMode.IsPublic}}checked{{end}}>
|
2022-06-28 02:28:46 +05:30
|
|
|
<label>{{.locale.Tr "org.settings.visibility.public"}}</label>
|
2019-07-12 23:14:28 +05:30
|
|
|
</div>
|
|
|
|
<div class="ui radio checkbox">
|
2023-08-26 08:14:00 +05:30
|
|
|
<input class="enable-system-radio" name="visibility" type="radio" value="1" {{if .DefaultOrgVisibilityMode.IsLimited}}checked{{end}}>
|
2022-06-28 02:28:46 +05:30
|
|
|
<label>{{.locale.Tr "org.settings.visibility.limited"}}</label>
|
2019-07-12 23:14:28 +05:30
|
|
|
</div>
|
|
|
|
<div class="ui radio checkbox">
|
2023-08-26 08:14:00 +05:30
|
|
|
<input class="enable-system-radio" name="visibility" type="radio" value="2" {{if .DefaultOrgVisibilityMode.IsPrivate}}checked{{end}}>
|
2022-06-28 02:28:46 +05:30
|
|
|
<label>{{.locale.Tr "org.settings.visibility.private"}}</label>
|
2019-07-12 23:14:28 +05:30
|
|
|
</div>
|
2019-02-18 21:30:27 +05:30
|
|
|
</div>
|
|
|
|
</div>
|
2019-09-24 01:38:03 +05:30
|
|
|
|
2019-10-14 23:50:42 +05:30
|
|
|
<div class="inline field" id="permission_box">
|
2022-06-28 02:28:46 +05:30
|
|
|
<label>{{.locale.Tr "org.settings.permission"}}</label>
|
2019-10-14 23:50:42 +05:30
|
|
|
<div class="inline-grouped-list">
|
2019-09-24 01:38:03 +05:30
|
|
|
<div class="ui checkbox">
|
2023-03-27 21:35:51 +05:30
|
|
|
<input type="checkbox" name="repo_admin_change_team_access" checked>
|
2022-06-28 02:28:46 +05:30
|
|
|
<label>{{.locale.Tr "org.settings.repoadminchangeteam"}}</label>
|
2019-09-24 01:38:03 +05:30
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2015-12-08 04:00:52 +05:30
|
|
|
<div class="inline field">
|
|
|
|
<label></label>
|
2023-09-19 03:35:31 +05:30
|
|
|
<button class="ui primary button">
|
2022-06-28 02:28:46 +05:30
|
|
|
{{.locale.Tr "org.create_org"}}
|
2015-12-08 04:00:52 +05:30
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-07-27 09:23:16 +05:30
|
|
|
</div>
|
2015-12-08 04:00:52 +05:30
|
|
|
{{template "base/footer" .}}
|