apps.html 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <table class="table" ng-init="getApps()">
  2. <caption>Downloaded apps</caption>
  3. <thead>
  4. <tr>
  5. <th>#</th>
  6. <th>Title</th>
  7. <!-- <th>Genre</th>
  8. <th>Total # of Ratings</th>
  9. <th>Star Rating</th>
  10. <th># of Permissions</th> -->
  11. <th>Reputation</th>
  12. <th>S&P Quality</th>
  13. <!-- <th>Trust Score</th> -->
  14. <!-- <th>Trust+ score</th> -->
  15. <th></th>
  16. <th></th>
  17. </tr>
  18. </thead>
  19. <tbody>
  20. <tr ng-repeat="app in apps" ng-init="getApp2(app, $index)">
  21. <th scope="row">{{setAppNumber($index+1)}}</th>
  22. <td>{{app.title}}</td>
  23. <!-- <td>{{app.genre}}</td>
  24. <td>{{app.reviewsCount}}</td>
  25. <td>{{app.score}}</td>
  26. <td>{{app.permissions.length}}</td> -->
  27. <td>
  28. <span>Ratings(t,c,f) = {{appResultList[$index] ? getRatingsTCF(appResultList[$index]) : "(NA,NA,NA)" }} </span>
  29. <br/>
  30. <span>Reviews(t,c,f) = {{appResultList[$index] ? getReviewsTCF(appResultList[$index]) : "(NA,NA,NA)" }}</span>
  31. <!-- <br/>
  32. <span>Permission(t,c,f) = {{appResultList[$index] ? getPermissionsTCF(appResultList[$index]) : "(NA,NA,NA)" }}</span> -->
  33. </td>
  34. <td>
  35. <span>Security Risks(t,c,f) = {{appResultList[$index] ? getSecurityRisksTCF(appResultList[$index]) : "(NA,NA,NA)" }} </span>
  36. <br/>
  37. <span>Privacy Risks(t,c,f) = {{appResultList[$index] ? getPrivacyRisksTCF(appResultList[$index]) : "(NA,NA,NA)" }}</span>
  38. </td>
  39. <!-- <td><div id="{{ 'tviz' + $index }}"></div></td> -->
  40. <!-- <td>{{appResultList[$index] ? getTrustPlusFrameworkScore(appResultList[$index]) : "NA" }}</td> -->
  41. <td><a href="#!/apps/{{app.appId}}">Details</a></td>
  42. <td><a href="#!/download/{{app.appId}}">Download Info</a></td>
  43. </tr>
  44. </tbody>
  45. </table>
  46. <pagination num-pages="noOfPages" current-page="currentPage" class="pagination-small"></pagination>
  47. <div class="loader" ng-hide="dataLoaded"></div>