-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathonline_users.tpl
55 lines (52 loc) · 1.93 KB
/
online_users.tpl
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
<link rel="stylesheet" type="text/css" href="{$ONUS_PATH}onus_style.css">
{* online-users *}
<div id="online-users">
<div class="online-users-open" id="overlay"; style="display: none;">
<div>
<div class="top-content-container">
<div class="top-container-number">
<div class="info-number-circle-badge">
<span class="info-circle-badge">{$ONLINE_USERS_NB_CONNECTED+$ONLINE_USERS_NB_ANONYMOUS}</span>
</div>
<div class="open-line"></div>
<div class="number-circle-badge">
<span class="circle-badge">{$ONLINE_USERS_NB_ANONYMOUS}</span>
</div>
{if $ONLINE_USERS_NB_CONNECTED > 0}
<div class="number-circle-badge">
<span class="circle-badge">{$ONLINE_USERS_NB_CONNECTED}</span>
</div>
{/if}
</div>
<div class="top-container-text">
<div class="toptext-right-badge">
<text>{"Users online"|translate}</text>
</div>
<div class="open-line"></div>
<div class="text-right-badge">
<text>{"guests"|translate}</text>
</div>
{if $ONLINE_USERS_NB_CONNECTED > 0}
<div class="text-right-badge">
<text>{"registered users"|translate}</text>
</div>
{/if}
</div>
</div>
{if $ONLINE_USERS_NB_CONNECTED > 0}
<div class="open-user-list">
<text>{$ONLINE_USERS_LIST}</text>
</div>
{/if}
</div>
</div>
<div class="circle-container">
<div class="icon-circle" id="icon-circle">
<img src="plugins/online_users/online-icon.svg" alt="">
</div>
<div class="info-circle" style="display: flex;" id="infoCircle">
<span class="info-circle-content">{$ONLINE_USERS_NB_CONNECTED+$ONLINE_USERS_NB_ANONYMOUS}</span>
</div>
</div>
</div>
{combine_script id='jquery.online-users' load='footer' require='jquery' path='plugins/online_users/script.js'}