From c2279d6d016cc84136a243e308e453ca3984dde0 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown <matthewsaundersbrown@gmail.com> Date: Thu, 30 Mar 2023 10:13:12 -0700 Subject: [PATCH] new vhost add form --- panel/ui/vhost/vhosts-add.html | 44 ++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 panel/ui/vhost/vhosts-add.html diff --git a/panel/ui/vhost/vhosts-add.html b/panel/ui/vhost/vhosts-add.html new file mode 100644 index 0000000..b75613a --- /dev/null +++ b/panel/ui/vhost/vhosts-add.html @@ -0,0 +1,44 @@ +<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>(System username, leave empty for auto-creation)</small></label> + <input id="username" name="username" type="text" placeholder="examplec" value="" required> + + Check to jail user: <input type="checkbox" id="jail" name="jail" value="yes" checked> + + <label for="macro">Config <small>(A valid Let's Encrypt certificate is required for VHostHTTPS)</small></label> + <select id="macro" name="macro"> + <option value="VHostHTTP" selected>VHostHTTP</option> + <option value="VHostHTTPS">VHostHTTPS</option> + </select> + + <label for="status">Status</label> + <select id="status" name="status"> + <option value="1" selected>Enabled</option> + <option value="0">Disabled</option> + </select> + + <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>Username</b><br> +<b>Jail</b><br> +<b>Config</b><br> +<b>Status</b> can be used to temporarily disable the website domain without deleting any settings or files.<br> +</p> + + +<include href="footer.html" />