2023-03-30 10:13:12 -07:00
< include href = "header.html" / >
< form action = "{{@REALM}}" method = "POST" >
< h4 id = "Add_New_Website" > Add New Website< / h4 >
< fieldset >
< legend > Only the domain name is required< / legend >
< label for = "domain" > Domain Name < small > (Do not include 'www', that will be aliased to the main domain)< / small > < / label >
< input id = "domain" name = "domain" type = "text" placeholder = "example.com" value = "" required >
2023-06-19 11:53:16 -07:00
< label for = "username" > Username < small > (Used for SSH & SFTP access, leave empty to auto-create new user)< / small > < / label >
< select id = "username" name = "username" >
< check if = "{{ @deploy.username=='' }}" >
< true >
< option value = "" selected > < / option >
< / true >
< false >
< option value = "" > < / option >
< / false >
< / check >
< repeat group = "{{ @deploy.users_array }}" value = "{{ @user_array }}" >
< check if = "{{ @deploy.username==@user_array.username }}" >
< true >
< option value = "{{ @user_array.username }}" selected > {{ @user_array.username }}< / option >
< / true >
< false >
< option value = "{{ @user_array.username }}" > {{ @user_array.username }}< / option >
< / false >
< / check >
< / repeat >
2023-03-30 10:13:12 -07:00
< / select >
2023-06-19 11:53:16 -07:00
< small > < a href = "{{@BASE}}/Users/Add" > Add user here< / a > first if you want to create a specific username for this site.< / small >
2023-03-30 10:13:12 -07:00
2023-06-19 11:53:16 -07:00
< br > < br >
2023-03-30 10:13:12 -07:00
< input type = "submit" value = "Submit" >
< button id = "reset" type = "reset" disabled > Reset< / button >
< br >
<!-- <small>Any other form instructions go here.</small> -->
< / fieldset >
< / form >
< p >
2023-06-19 11:53:16 -07:00
< b > Domain Name< / b > Enter the website domain name without the leading www.< br >
< b > Username< / b > By default this should be left blank which will create a new (unique) username just for this site. Optionally you can pick from a list of existing users, or first go to the User admin and create a specific username & password.< br >
2023-03-30 10:13:12 -07:00
< / p >
< include href = "footer.html" / >