Add IP address to current activity

This commit is contained in:
Jonathan Wong 2015-11-10 19:28:14 -08:00
parent 0c33e7492a
commit fd9cf7017b
4 changed files with 34 additions and 1 deletions

View file

@ -688,6 +688,14 @@ a:hover .dashboard-activity-poster {
white-space: nowrap;
width: 150px;
}
.dashboard-activity-poster-info-ip-address {
position: absolute;
bottom: 5px;
left: 10px;
text-align: left;
font-size: 12px;
color: #eee;
}
.dashboard-activity-poster-info-time {
position: absolute;
bottom: 5px;

View file

@ -191,6 +191,9 @@ DOCUMENTATION :: END
</div>
% if a['media_type'] != 'photo':
<div class="dashboard-activity-poster-info-bar">
<div class="dashboard-activity-poster-info-ip-address">
<span>IP: ${a['ip_address']}</span>
</div>
<div class="dashboard-activity-poster-info-time">
<span class="progress_time">${a['view_offset']}</span>/<span class="progress_time">${a['duration']}</span>
</div>