summaryrefslogtreecommitdiff
path: root/portal/template/admin/frontends.html
blob: 66e4d0f167201067a228de5f4c40067c76709d9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<h1>Manage frontends</h1>

<h2>Current process status</h2>
<p>
{updstatus}
</p>

<h2>Latest sync requests</h2>
<div class="tblBasic">
<form method="post" action="frontends.php">
<input type="hidden" name="op" value="syncreq" />
<table border="0" cellpadding="0" cellspacing="0" class="tblBasicGrey">
<tr>
        <th class="colFirst">Requested</th>
        <th class="colMid">By</th>
        <th class="colMid">Completed</th>
        <th class="colMid">Params</th>
        <th class="colLast">Elapsed</th>
</tr>
<!-- BEGIN requests_loop -->
    <tr>
        <td class="colFirstT">{request_time}</td>
        <td class="colMidT">{request_by}</td>
        <td class="colMidT">{request_complete}</td>
        <td class="colLast">{request_params}</td>
        <td class="colLastT">{request_elapsed}</td>
    </tr>
    <!-- END requests_loop -->
    <tr class="lastrow">
        <td class="colFirstT"><input type="text" name="when" value="{now}" /></td>
        <td class="colMidT" colspan="3">
            <input type="checkbox" name="ftp">Include ftp</input>
            <input type="checkbox" name="docs">Include docs</input>
        </td>
        <td class="colLastT"><input type="submit" value="Request sync" /></td>
    </tr>
</table>
</form>
</div>

<h2>Latest sync log entries</h2>
<div class="tblBasic">
<table border="0" cellpadding="0" cellspacing="0" class="tblBasicGrey">
<tr>
    <th class="colFirst">Completed</th>
    <th class="colMid">Operation</th>
    <th class="colMid">Node</th>
    <th class="colMid">Started</th>
    <th class="colLast">Elapsed</th>
</tr>
<!-- BEGIN log_loop -->
    <tr>
        <td class="colFirstT">{log_t}</td>
        <td class="colMidT">{log_op}</td>
        <td class="colMidT">{log_node}</td>
        <td class="colMidT">{log_start}</td>
        <td class="colMidT">{log_elapsed}</td>
    </tr>
<!-- END log_loop -->
</table>
</div>