<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> <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> </select> <small><a href="{{@BASE}}/Users/Add">Add user here</a> first if you want to create a specific username for this site.</small> <br><br> <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> <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> </p> <include href="footer.html" />