summaryrefslogtreecommitdiff
path: root/modules/webcpanel/templates/hostserv/request.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules/webcpanel/templates/hostserv/request.html')
-rw-r--r--modules/webcpanel/templates/hostserv/request.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/modules/webcpanel/templates/hostserv/request.html b/modules/webcpanel/templates/hostserv/request.html
new file mode 100644
index 000000000..76bc0b11b
--- /dev/null
+++ b/modules/webcpanel/templates/hostserv/request.html
@@ -0,0 +1,45 @@
+{INCLUDE layout/header.loggedin.html}
+ <div class="panel-heading">VHost Information</div>
+ <div class="panel-body">
+ {FOR M IN MESSAGES}
+ <div class="alert alert-info">
+ {M}<br>
+ </div>
+ {END FOR}
+
+ <table id="tableInfo" class="table table-hover">
+ <tbody>
+ <tr>
+ <td>Your current VHost:</td>
+ <td>
+ {IF EXISTS VHOST}
+ {VHOST}
+ {ELSE}
+ <em>None</em>
+ {END IF}
+ </td>
+ <td></td>
+ </tr>
+ {IF EXISTS CAN_REQUEST}
+ <tr>
+ <td>
+ {IF EXISTS VHOST}
+ Request a new VHost
+ {ELSE}
+ Request a VHost
+ {END IF}
+ </td>
+ <form method="post" action="/hostserv/request">
+ <td><input class="form-control" name="req"></td>
+ <td><button type="submit" class="btn btn-primary">Request</button></td>
+ </form>
+ </tr>
+ {ELSE}
+ <tr>
+ <td colspan="2" class="text-center"><strong>VHost requests are disabled on this network.</strong></td>
+ </tr>
+ {END IF}
+ </tbody>
+ </table>
+ </div>
+{INCLUDE layout/footer.loggedin.html}