summaryrefslogtreecommitdiff
path: root/modules/extra/webcpanel/templates/default/hostserv/request.html
diff options
context:
space:
mode:
authorn0kS Phr33d0m <god@politeia.in>2013-08-22 02:37:43 +0200
committern0kS Phr33d0m <god@politeia.in>2013-08-22 02:37:43 +0200
commit34535814e4c948824564b0c60b1d1df7e2cda8f7 (patch)
treedd566d05408a32cbef4bc11d159ecba72c38ae33 /modules/extra/webcpanel/templates/default/hostserv/request.html
parent8bcc6840cecc40f7bea248106a26fb69b89113ec (diff)
A completely rewritten Control Panel using some bootstrapping, jquery and lots of CSS
Diffstat (limited to 'modules/extra/webcpanel/templates/default/hostserv/request.html')
-rw-r--r--modules/extra/webcpanel/templates/default/hostserv/request.html43
1 files changed, 43 insertions, 0 deletions
diff --git a/modules/extra/webcpanel/templates/default/hostserv/request.html b/modules/extra/webcpanel/templates/default/hostserv/request.html
new file mode 100644
index 000000000..3b2b30c7d
--- /dev/null
+++ b/modules/extra/webcpanel/templates/default/hostserv/request.html
@@ -0,0 +1,43 @@
+{INCLUDE header.html}
+ {FOR M IN MESSAGES}
+ <div class="alert alert-info">
+ {M}<br>
+ </div>
+ {END FOR}
+
+ <h2>vHost Information</h2>
+ <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>
+{INCLUDE footer.html}