Debian Codegraph @

modules/webcpanel/templates/default/hostserv/request.html

raw
1 {INCLUDE header.html}
2 <div class="panel-heading">vHost Information</div>
3 <div class="panel-body">
4 {FOR M IN MESSAGES}
5 <div class="alert alert-info">
6 {M}<br>
7 </div>
8 {END FOR}
9
10 <table id="tableInfo" class="table table-hover">
11 <tbody>
12 <tr>
13 <td>Your current vHost:</td>
14 <td>
15 {IF EXISTS VHOST}
16 {VHOST}
17 {ELSE}
18 <em>None</em>
19 {END IF}
20 </td>
21 <td></td>
22 </tr>
23 {IF EXISTS CAN_REQUEST}
24 <tr>
25 <td>
26 {IF EXISTS VHOST}
27 Request a new vHost
28 {ELSE}
29 Request a vHost
30 {END IF}
31 </td>
32 <form method="post" action="/hostserv/request">
33 <td><input class="form-control" name="req"></td>
34 <td><button type="submit" class="btn btn-primary">Request</button></td>
35 </form>
36 </tr>
37 {ELSE}
38 <tr>
39 <td colspan="2" class="text-center"><strong>vHost requests are disabled on this network.</strong></td>
40 </tr>
41 {END IF}
42 </tbody>
43 </table>
44 </div>
45 {INCLUDE footer.html}