|
| 1 | +<div class="row"> |
| 2 | + <div class="col-md-12 mv-s" ng-show="$vm.artifacts.total === 0"> |
| 3 | + <div class="empty-message">No records.</div> |
| 4 | + </div> |
| 5 | +</div> |
| 6 | + |
| 7 | +<!-- list of artifacts--> |
| 8 | +<div class="row"> |
| 9 | + <div class="col-md-12" ng-show="$vm.artifacts.total > 0"> |
| 10 | + |
| 11 | + <psearch control="$vm.artifacts"></psearch> |
| 12 | + |
| 13 | + <form class="form-inline"> |
| 14 | + <div class="form-group"> |
| 15 | + <label class="sr-only" for="exampleInputEmail3">Email address</label> |
| 16 | + <input type="email" class="form-control" id="exampleInputEmail3" placeholder="Email"> |
| 17 | + </div> |
| 18 | + <div class="form-group"> |
| 19 | + <label class="sr-only" for="exampleInputPassword3">Password</label> |
| 20 | + <input type="password" class="form-control" id="exampleInputPassword3" placeholder="Password"> |
| 21 | + </div> |
| 22 | + <div class="checkbox"> |
| 23 | + <label> |
| 24 | + <input type="checkbox"> Remember me |
| 25 | + </label> |
| 26 | + </div> |
| 27 | + <button type="submit" class="btn btn-default">Sign in</button> |
| 28 | + </form> |
| 29 | + |
| 30 | + <table class="table table-striped table-hover valigned"> |
| 31 | + <thead> |
| 32 | + <tr> |
| 33 | + <th width="10" class="p-0"></th> |
| 34 | + <th width="20"> |
| 35 | + <input type="checkbox" ng-change="selectAll()" ng-model="selection.all" ng-disabled="switchTEList"></input> |
| 36 | + </th> |
| 37 | + <th width="150">Type</th> |
| 38 | + <th>Data/Filename</th> |
| 39 | + <th width="300">Tags</th> |
| 40 | + <th width="150">MISP Category</th> |
| 41 | + <th width="150">MISP Type</th> |
| 42 | + <th width="20"> </th> |
| 43 | + </tr> |
| 44 | + </thead> |
| 45 | + <tbody> |
| 46 | + <tr ng-repeat="artifact in $vm.artifacts.values"> |
| 47 | + <td class="p-0 bg-tlp-{{artifact.tlp}} clickable" ng-click="filterByTlp(artifact.tlp)"></td> |
| 48 | + <td> |
| 49 | + <input type="checkbox" ng-change="selectArtifact(artifact)" ng-model="selection.list[artifact.id]"> |
| 50 | + </td> |
| 51 | + <td> |
| 52 | + <a href="" ng-click="addFilterValue('dataType', artifact.dataType)"><span ng-bind="artifact.dataType"></span></a> |
| 53 | + </td> |
| 54 | + <td class="wrap clickable" ng-click="openArtifact(artifact)">{{(artifact.data | fang) || (artifact.attachment.name | fang)}}</td> |
| 55 | + <td> |
| 56 | + <span ng-repeat="l in artifact.tags"> |
| 57 | + <span class="label label-primary mr-xxxs pointer" ng-click="addFilterValue('tags', l)"> |
| 58 | + <i class="glyphicon glyphicon-tag"></i> <span ng-bind="l"></span> |
| 59 | + </span> |
| 60 | + </span> |
| 61 | + </td> |
| 62 | + <td> |
| 63 | + <em ng-if="!artifact.exportCategory">Not specified</em> |
| 64 | + <em ng-if="artifact.exportCategory">Not specified</em> |
| 65 | + </td> |
| 66 | + <td> |
| 67 | + <em ng-if="!artifact.exportType">Not specified</em> |
| 68 | + <em ng-if="artifact.exportType">Not specified</em> |
| 69 | + </td> |
| 70 | + <td> |
| 71 | + <i class="fa fa-check"></i> |
| 72 | + <i class="fa fa-exclamation-triangle"></i> |
| 73 | + </td> |
| 74 | + </tr> |
| 75 | + </tbody> |
| 76 | + </table> |
| 77 | + <psearch ng-if="!switchTEList" control="artifacts"></psearch> |
| 78 | + </div> |
| 79 | +</div> |
0 commit comments