<td><?php echo format_bytes($client['bytes_recv']); ?> </td> <td> <table> <tr> <td> <?php $ssvc = find_service_by_openvpn_vpnid($client['vpnid']); ?> <?php echo get_service_status_icon($ssvc, false, true); ?> <?php echo get_service_control_GET_links($ssvc, true); ?> </td> </tr> </table> </td> </tr> <?php } ?> </tbody> </table> </div> </div> <?php
?> <tr> <td><i class="fa fa-<?php echo get_service_status($service) ? 'check-circle text-success' : 'times-circle text-warning'; ?> "></i></td> <td><?php echo $service['name']; ?> </td> <td><?php echo $service_desc[0]; ?> </td> <td><?php echo get_service_control_GET_links($service); ?> </td> </tr> <?php } } else { echo "<tr><td colspan=\"3\" align=\"center\">" . gettext("No services found") . " . </td></tr>\n"; } ?> </tbody> </table> <!-- close the body we're wrapped in and add a configuration-panel --> </div><div class="panel-footer collapse">