summaryrefslogtreecommitdiff
path: root/modules/extra/webcpanel/templates/default/hostserv/request.html
diff options
context:
space:
mode:
authorn0kS Phr33d0m <god@politeia.in>2013-08-23 06:34:57 +0200
committern0kS Phr33d0m <god@politeia.in>2013-08-23 06:39:23 +0200
commitf86dc247e521b893d134b08329e69e17ccf34e1f (patch)
tree49c5de29da42f936d2243d1ad046f086e82066be /modules/extra/webcpanel/templates/default/hostserv/request.html
parent121d0a6e5b47fe3be2b1402f7bc5d8366f104a92 (diff)
Redesign body of the pages. Now they have a distiguished panel heading and panel body. Also added background colour to currently selected section.
Diffstat (limited to 'modules/extra/webcpanel/templates/default/hostserv/request.html')
-rw-r--r--modules/extra/webcpanel/templates/default/hostserv/request.html76
1 files changed, 39 insertions, 37 deletions
diff --git a/modules/extra/webcpanel/templates/default/hostserv/request.html b/modules/extra/webcpanel/templates/default/hostserv/request.html
index 3b2b30c7d..f557244d1 100644
--- a/modules/extra/webcpanel/templates/default/hostserv/request.html
+++ b/modules/extra/webcpanel/templates/default/hostserv/request.html
@@ -1,43 +1,45 @@
{INCLUDE header.html}
- {FOR M IN MESSAGES}
- <div class="alert alert-info">
- {M}<br>
- </div>
- {END FOR}
+ <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}
- <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>
+ <table id="tableInfo" class="table table-hover">
+ <tbody>
+ <tr>
+ <td>Your current vHost:</td>
+ <td>
{IF EXISTS VHOST}
- Request a new 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}
- Request a vHost
+ <tr>
+ <td colspan="2" class="text-center"><strong>vHost requests are disabled on this network.</strong></td>
+ </tr>
{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>
+ </tbody>
+ </table>
+ </div>
{INCLUDE footer.html}