| 1 | <div id="node_list"> |
|---|
| 2 | <h3>{"Status of all nodes of the"|_} {$hotspot_network_name} {"network"|_}</h3> |
|---|
| 3 | <table> |
|---|
| 4 | <thead> |
|---|
| 5 | <tr> |
|---|
| 6 | <th> |
|---|
| 7 | <a href="?sort_by=last_heartbeat_user_agent">{"Status"|_}</a> |
|---|
| 8 | {if $sort_by_param == "last_heartbeat_user_agent"}<img src="{$common_images_url}sort_by_asc.gif">{/if} |
|---|
| 9 | </th> |
|---|
| 10 | {* <th> |
|---|
| 11 | <a href="?sort_by=node_id">{"Node id"|_}</a> |
|---|
| 12 | {if $sort_by_param == "node_id"}<img src="{$common_images_url}sort_by_asc.gif">{/if} |
|---|
| 13 | </th> *} |
|---|
| 14 | <th> |
|---|
| 15 | <a href="?sort_by=gw_id">{"Gateway id"|_}</a> |
|---|
| 16 | {if $sort_by_param == "gw_id"}<img src="{$common_images_url}sort_by_asc.gif">{/if} |
|---|
| 17 | </th> |
|---|
| 18 | <th> |
|---|
| 19 | <a href="?sort_by=name">{"Name"|_}</a> |
|---|
| 20 | {if $sort_by_param == "name"}<img src="{$common_images_url}sort_by_asc.gif">{/if} |
|---|
| 21 | </th> |
|---|
| 22 | <th>{"Local content demo"|_}</th> |
|---|
| 23 | <th> |
|---|
| 24 | <a href="?sort_by=creation_date">{"Opened on"|_}</a> |
|---|
| 25 | {if $sort_by_param == "creation_date"}<img src="{$common_images_url}sort_by_asc.gif">{/if} |
|---|
| 26 | </th> |
|---|
| 27 | <th> |
|---|
| 28 | <a href="?sort_by=num_online_users">{"Online users"|_}</a> |
|---|
| 29 | {if $sort_by_param == "num_online_users"}<img src="{$common_images_url}sort_by_asc.gif">{/if} |
|---|
| 30 | </th> |
|---|
| 31 | </tr> |
|---|
| 32 | </thead> |
|---|
| 33 | {section name=node loop=$nodes} |
|---|
| 34 | <tr class="{cycle values="odd,even"}"> |
|---|
| 35 | <td class="status"> |
|---|
| 36 | {if $nodes[node].online == 't'} |
|---|
| 37 | <img src='{$common_images_url}HotspotStatus/up.gif'> |
|---|
| 38 | {else} |
|---|
| 39 | <img src='{$common_images_url}HotspotStatus/down.gif'> |
|---|
| 40 | {$nodes[node].duration.days} {"days"|_} {$nodes[node].duration.hours}{"h"|_} {$nodes[node].duration.minutes}{"min"|_}<br /> |
|---|
| 41 | {/if} |
|---|
| 42 | {$nodes[node].last_heartbeat_user_agent} |
|---|
| 43 | </td> |
|---|
| 44 | {* <td>{$nodes[node].node_id}</td> *} |
|---|
| 45 | <td>{$nodes[node].gw_id}</td> |
|---|
| 46 | <td>{$nodes[node].name}</td> |
|---|
| 47 | <td> |
|---|
| 48 | <a href='{$base_ssl_path}login/index.php?gw_id={$nodes[node].gw_id}&gw_address=127.0.0.1&gw_port=80'>{"Login page"|_}</a><br /> |
|---|
| 49 | <a href='{$base_url_path}portal/index.php?node_id={$nodes[node].node_id}'>{"Portal page"|_}</a> |
|---|
| 50 | </td> |
|---|
| 51 | <td style="font-size: 8pt;">{$nodes[node].creation_date}<br> |
|---|
| 52 | {$nodes[node].node_deployment_status} |
|---|
| 53 | </td> |
|---|
| 54 | <td> |
|---|
| 55 | {if $nodes[node].num_online_users != 0} |
|---|
| 56 | {$nodes[node].num_online_users} |
|---|
| 57 | {/if} |
|---|
| 58 | </td> |
|---|
| 59 | </tr> |
|---|
| 60 | {/section} |
|---|
| 61 | </table> |
|---|
| 62 | </div> |
|---|