2015-04-06 17:52:38 +00:00
< div class = "new-organization" >
< div class = "page-content" >
< div class = "cor-title" >
< span class = "cor-title-link" >
< a class = "back-link" href = "/repository" >
Repositories
< / a >
< / span >
< span class = "cor-title-content" >
Create New Organization
< / span >
2013-11-07 20:19:52 +00:00
< / div >
2015-04-06 17:52:38 +00:00
< div class = "co-main-content-panel" >
< div class = "cor-loader" ng-show = "creating" > < / div >
2013-11-07 20:19:52 +00:00
2015-04-06 17:52:38 +00:00
< div class = "create-org" ng-show = "!creating" >
<!-- Step 1 -->
< div ng-show = "!user || user.anonymous" >
< div class = "page-description" >
In order to create a new organization, < b > you must first be signed in< / b > as the
user that < b > will become an admin< / b > for the organization.
2013-11-07 20:19:52 +00:00
< / div >
2015-04-06 17:52:38 +00:00
< div class = "step-container row" >
< div class = "col-sm-offset-3 col-sm-6" >
< div class = "user-setup" redirect-url = "'/organizations/new'"
sign-in-started="signinStarted()"
signed-in="signedIn()">< / div >
< / div >
2013-11-07 20:19:52 +00:00
< / div >
2015-04-06 17:52:38 +00:00
< / div >
2013-11-07 20:19:52 +00:00
2015-04-06 17:52:38 +00:00
<!-- Step 2 -->
< div ng-show = "user && !user.anonymous && !created" >
< div class = "step-container" >
2016-09-20 19:21:26 +00:00
< div class = "co-alert co-alert-danger" ng-if = "createError" >
{{ createError }}
< / div >
2015-04-06 17:52:38 +00:00
< form method = "post" name = "newOrgForm" id = "newOrgForm" ng-submit = "createNewOrg()" >
< div class = "form-group nested" >
< label for = "orgName" > Organization Name< / label >
2015-09-02 17:49:55 +00:00
< div class = "field-row" >
< span class = "field-container" >
2016-09-20 19:21:26 +00:00
< span class = "namespace-input" binding = "org.name" is-back-incompat = "isBackIncompat" namespace-title = "Organization name" > < / span >
< / span >
< span class = "co-alert co-alert-warning thin" ng-show = "isBackIncompat" >
Organization names with dots or dashes are incompatible with Docker verion 1.8 or older
2015-09-02 17:49:55 +00:00
< / span >
2016-09-20 19:21:26 +00:00
< span class = "co-alert co-alert-danger thin" ng-show = "!newOrgForm.namespaceField.$error.required && newOrgForm.namespaceField.$invalid" >
Organization names must be alphanumeric and be at least four characters in length
2015-09-02 17:49:55 +00:00
< / span >
< / div >
< span class = "description" > This will also be the namespace for your repositories. Must be alphanumeric, all lowercase and at least four characters long.< / span >
2015-04-06 17:52:38 +00:00
< / div >
2016-09-08 16:24:47 +00:00
< div class = "form-group nested" quay-require = "['MAILING']" >
2015-04-06 17:52:38 +00:00
< label for = "orgName" > Organization Email< / label >
2015-09-02 17:49:55 +00:00
< div class = "field-row" >
< span class = "field-container" >
< input id = "orgEmail" name = "orgEmail" type = "email" class = "form-control" placeholder = "Organization Email"
ng-model="org.email" required>
< span class = "description" > This address must be different from your account's email.< / span >
< / span >
< / div >
2015-04-06 17:52:38 +00:00
< / div >
2014-11-24 21:07:38 +00:00
2015-04-06 17:52:38 +00:00
<!-- Plans Table -->
< div class = "form-group nested plan-group" quay-require = "['BILLING']" >
< strong > Choose your organization's plan< / strong >
< div class = "plans-table" plans = "plans" current-plan = "holder.currentPlan" > < / div >
< / div >
< div class = "button-bar" >
< button class = "btn btn-large btn-primary" type = "submit"
ng-disabled="newOrgForm.$invalid || (Features.BILLING & & !holder.currentPlan)"
analytics-on analytics-event="create_organization">
Create Organization
< / button >
< / div >
< / form >
2013-11-07 20:19:52 +00:00
< / div >
2015-04-06 17:52:38 +00:00
< / div >
2013-11-07 20:19:52 +00:00
2015-04-06 17:52:38 +00:00
<!-- Step 3 -->
< div ng-show = "user && !user.anonymous && created" >
< div class = "step-container" >
< h3 > Organization Created< / h3 >
< h4 > < a href = "/organization/{{ org.name }}" > Manage Teams Now< / a > < / h4 >
< / div >
< / div >
2013-11-07 20:19:52 +00:00
< / div >
< / div >
< / div >
< / div >