<article class='panel panel-default left-big-box' ng-controller="lastVulnsCtrl">
        <header>
            <h2>Last Vulnerabilities
                <span class="glyphicon glyphicon-info-sign" uib-tooltip="Last vulnerabilities added"></span>
            </h2>
        </header>
        <div ng-if="vulns.length == 0" class="alert alert-info alert-dismissible no-margin-bottom">
            <button type="button" class="close" data-dismiss="alert">
                <span aria-hidden="true">&times;</span>
                <span class="sr-only">Close</span>
            </button>
            <p>No vulnerabilities found yet.</p>
        </div>
        <table ng-if="vulns.length > 0" class="tablesorter table table-striped last-vuln">
            <thead>
                <tr>
                    <th><a>Severity</a></th>
                    <th><a>Target</a></th>
                    <th><a>Name</a></th>
                    <th><a>Web</a></th>
                    <th><a>Date</a></th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="vuln in vulns">
                    <td><a href="" ng-click="navigate('/status/ws/'+workspace+'/search/severity='+vuln.severity)"><span class="label vuln fondo-{{vuln.severity}}">{{vuln.severity | uppercase}}</span></a></td>
                    <td>
                        <a href="" ng-click="navigate('/status/ws/'+workspace+'/search/target='+vuln.target)">{{vuln.target}}</a>
                    </td>
                    <td class="wrapword"><a href="" ng-click="navigate('/status/ws/'+workspace+'/search/name='+vuln.name)">{{vuln.name}}</a></td>
                    <td>
                        <span class="glyphicon glyphicon-ok" ng-show="vuln.web"></span>
                        <span class="glyphicon glyphicon-remove" ng-show="!vuln.web"></span>
                    </td>
                    <td><span am-time-ago="vuln.metadata.create_time * 1000"></span></td>
                </tr>
            </tbody>
        </table>
</article>
