summaryrefslogtreecommitdiff
path: root/modules/webcpanel/templates/default/hostserv/request.html
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-01-02 11:02:14 -0500
committerAdam <Adam@anope.org>2014-01-02 11:03:33 -0500
commit004c4cbe5f4c37cf455cb6d0caa434fbbb3406ea (patch)
tree0e6675dfe28a829f5786b0b2f993566c61662de7 /modules/webcpanel/templates/default/hostserv/request.html
parent072202c181943901c727782e64881adadf13d7dd (diff)
Move modules out of extras that dont have external dependencies
Diffstat (limited to 'modules/webcpanel/templates/default/hostserv/request.html')
-rw-r--r--modules/webcpanel/templates/default/hostserv/request.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/modules/webcpanel/templates/default/hostserv/request.html b/modules/webcpanel/templates/default/hostserv/request.html
new file mode 100644
index 000000000..f557244d1
--- /dev/null
+++ b/modules/webcpanel/templates/default/hostserv/request.html
@@ -0,0 +1,45 @@
+{INCLUDE header.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 footer.html}