Skip to content

Commit 1448b93

Browse files
authored
Update peers.tpl
by adding ```<div class="table-responsive">``` and some ```</div>``` at the end fixes a display issue on the mobile version while looking at the pees
1 parent daf7091 commit 1448b93

File tree

1 file changed

+35
-31
lines changed

1 file changed

+35
-31
lines changed

Diff for: templates/bootstrap/admin/wallet/peers.tpl

+35-31
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,35 @@
1-
<div class="row">
2-
<div class="col-lg-12">
3-
<div class="panel panel-info">
4-
<div class="panel-heading">
5-
<i class="fa fa-connectdevelop fa-fw"></i> Peer Information
6-
</div>
7-
<div class="panel-body no-padding">
8-
<table class="table table-striped table-bordered table-hover">
9-
<thead>
10-
<tr>
11-
<th>Host</th>
12-
<th>Protocol</th>
13-
<th>Identity</th>
14-
<th>Connected</th>
15-
<th>Traffic</th>
16-
</tr>
17-
</thead>
18-
<tbody>
19-
{foreach key=KEY item=ARRAY from=$PEERINFO}
20-
<tr>
21-
<td>{$ARRAY['addr']}</td>
22-
<td>{$ARRAY['version']}</td>
23-
<td>{$ARRAY['subver']|replace:'/':''}</td>
24-
<td>{$ARRAY['conntime']|date_format:$GLOBAL.config.date}</td>
25-
<td>{(($ARRAY['bytessent']|default:"0" + $ARRAY['bytesrecv']|default:"0") / 1024 / 1024)|number_format:"3"} MB</td>
26-
</tr>
27-
{/foreach}
28-
</tbody>
29-
</table>
30-
</div>
31-
</div>
1+
<div class="row">
2+
<div class="col-lg-12">
3+
<div class="panel panel-info">
4+
<div class="panel-heading">
5+
<i class="fa fa-connectdevelop fa-fw"></i> Peer Information
6+
</div>
7+
<div class="panel-body no-padding">
8+
<div class="table-responsive">
9+
<table class="table table-striped table-bordered table-hover">
10+
<thead>
11+
<tr>
12+
<th>Host</th>
13+
<th>Protocol</th>
14+
<th>Identity</th>
15+
<th>Connected</th>
16+
<th>Traffic</th>
17+
</tr>
18+
</thead>
19+
<tbody>
20+
{foreach key=KEY item=ARRAY from=$PEERINFO}
21+
<tr>
22+
<td>{$ARRAY['addr']}</td>
23+
<td>{$ARRAY['version']}</td>
24+
<td>{$ARRAY['subver']|replace:'/':''}</td>
25+
<td>{$ARRAY['conntime']|date_format:$GLOBAL.config.date}</td>
26+
<td>{(($ARRAY['bytessent']|default:"0" + $ARRAY['bytesrecv']|default:"0") / 1024 / 1024)|number_format:"3"} MB</td>
27+
</tr>
28+
{/foreach}
29+
</tbody>
30+
</table>
31+
</div>
32+
</div>
33+
</div>
34+
</div>
35+
</div>

0 commit comments

Comments
 (0)