summaryrefslogtreecommitdiff
path: root/modules/extra/webcpanel/templates/default/hostserv/request.html
diff options
context:
space:
mode:
authorAdam <adam@sigterm.info>2013-08-21 20:17:20 -0700
committerAdam <adam@sigterm.info>2013-08-21 20:17:20 -0700
commit52535cf6fb360e3483da40eee0032d8ff95624d1 (patch)
tree44b4b898bedcde58948903819cd77e49dde8cc9b /modules/extra/webcpanel/templates/default/hostserv/request.html
parent765943062e94fdc23cdc3f2622f0c21d30fd0503 (diff)
parent121d0a6e5b47fe3be2b1402f7bc5d8366f104a92 (diff)
Merge pull request #19 from Phr33d0m/1.9
A completely rewritten Control Panel
Diffstat (limited to 'modules/extra/webcpanel/templates/default/hostserv/request.html')
-rw-r--r--modules/extra/webcpanel/templates/default/hostserv/request.html68
1 files changed, 41 insertions, 27 deletions
diff --git a/modules/extra/webcpanel/templates/default/hostserv/request.html b/modules/extra/webcpanel/templates/default/hostserv/request.html
index 158bed28f..3b2b30c7d 100644
--- a/modules/extra/webcpanel/templates/default/hostserv/request.html
+++ b/modules/extra/webcpanel/templates/default/hostserv/request.html
@@ -1,29 +1,43 @@
{INCLUDE header.html}
- {FOR M IN MESSAGES}
- {M}<br/>
- {END FOR}
- <table width="100%" height="100%">
- <tr>
- <td>Your <b>current</b> vHost:
- {IF EXISTS VHOST}
- {VHOST}
- {ELSE}
- <b>None</b>
- {END IF}
- </td>
- </tr>
- </table>
- {IF EXISTS CAN_REQUEST}
- {IF EXISTS VHOST}
- <b>Request a new vHost</b>
- {ELSE}
- <b>Request a vHost</b>
- {END IF}
- <form method="post" action="/hostserv/request">
- <input name="req">
- <input type="submit" value="Request">
- </form>
- {ELSE}
- vHost requests are disabled on this network.
- {END IF}
+ {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}