- function myslice_html_li(type, value, is_cached) {
- var cached = '';
- //if (is_cached)
- // cached='<div class="cache"><span><b>Cached information from the database</b><br/>Timestamp: XX/XX/XX XX:XX:XX<br/><br/><i>Refresh in progress...</i></span></div>';
- if (type == 'slice_hrn') {
- return "<li class='icn icn-play'><a href='/slice/" + value + "'>" + value + cached + "</a></li>";
- } else if (type == 'network_hrn') {
- return "<li class='icn icn-play'>" + value + cached + "</li>";
+ function myslice_html_li(key, value,is_cached) {
+ var cached = is_cached ? "(cached)" : "";
+ if (key == 'slice_hrn') {
+ return "<li class='slice-hrn'><i class='icon-play-circle'></i><a href='/slice/" + value + "'>" + value + cached + "</a></li>";
+ } else if (key == 'network_hrn') {
+ return "<li class='network-hrn'><i class='icon-play-circle'></i>" + value + cached + "</li>";