summaryrefslogtreecommitdiffstats
path: root/modules-available/dnbd3/templates/page-proxy-clients.html
blob: 6733a0561701f67011a8cf728ea02da8c35be60b (plain) (blame)
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
<div role="tabpanel" class="tab-pane active" id="tab-clients">
	<div class="row">
		<div class="col-md-6">
			{{#loclist.0}}
				<h2>{{lang_clientsByLocation}}</h2>

				<table class="table table-condensed">
					<tr>
						<th>{{lang_location}}</th>
						<th class="text-right">{{lang_count}}</th>
						<th class="text-right">{{lang_recursiveCount}}</th>
					</tr>
					{{#loclist}}
						<tr>
							<td>
								{{#depth}}
									<div style="display:inline-block;width:{{depth}}em"></div>
								{{/depth}}
								{{locationname}}
							</td>
							<td class="text-right">
								{{clientCount}}
							</td>
							<td class="text-right">
								{{recCount}}
							</td>
						</tr>
					{{/loclist}}
				</table>
			{{/loclist.0}}
		</div>
		<div class="col-md-6">
			<h2>{{lang_clientList}}</h2>

			<table class="table table-condensed">
				<tr>
					<th>{{lang_client}}</th>
					<th class="text-right">{{lang_bytesSent}}</th>
				</tr>
				{{#clients}}
					<tr>
						<td>
							{{address}}
						</td>
						<td data-sort="int" data-sort-value="{{bytesSent}}" class="text-right">
							{{bytesSent_s}}
						</td>
					</tr>
				{{/clients}}
			</table>
		</div>
	</div>
</div>