diff options
| author | Sadie Powell <sadie@witchery.services> | 2024-03-26 11:22:43 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2024-03-26 11:22:43 +0000 |
| commit | 33be5de66ec9aaae870f8accf99915d595a58cc8 (patch) | |
| tree | 868df238023a048370ad7e8a869bdeb11dfda136 /modules/webcpanel/templates/hostserv/request.html | |
| parent | 4399eeaa587e5cb4c4f3b7a6a3a79390e32b7b78 (diff) | |
Flatten the webcpanel hierarchy slightly.
Diffstat (limited to 'modules/webcpanel/templates/hostserv/request.html')
| -rw-r--r-- | modules/webcpanel/templates/hostserv/request.html | 45 |
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..f557244d1 --- /dev/null +++ b/modules/webcpanel/templates/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} |
