github.html 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <!DOCTYPE html>
  2. <html>
  3. <body>
  4. {% include 'hackathon/base.html' %}
  5. <h1 class="text-center"> Github Resume </h1>
  6. <div class="col-lg-12">
  7. <div class="table-responsive">
  8. <table class="table table-bordered table-hover table-striped tablesorter">
  9. <thead>
  10. <tr>
  11. <th class="header"> Username <i class="icon-sort"></i></th>
  12. <th class="header"> Blog <i class="icon-sort"></i></th>
  13. <th class="header"> Public Repos <i class="icon-sort"></i></th>
  14. <th class="header"> Public Gists <i class="icon-sort"></i></th>
  15. <th class="header"> Email <i class="icon-sort"></i></th>
  16. <th class="header"> Followers <i class="icon-sort"></i></th>
  17. <th class="header"> Following <i class="icon-sort"></i></th>
  18. </tr>
  19. </thead>
  20. <tbody>
  21. {% for key in data.userData %}
  22. <tr>
  23. <td>{{ key.name }}</td>
  24. <td>{{ key.blog }}</td>
  25. <td>{{ key.public_repos }}</td>
  26. <td>{{ key.public_gists }}</td>
  27. <td>{{ key.email }}</td>
  28. <td>{{ key.followers }}</td>
  29. <td>{{ key.following }}</td>
  30. </tr>
  31. {% endfor %}
  32. </tbody>
  33. </table>
  34. </div>
  35. </div>
  36. <div class="col-xs-4">
  37. <h2> Top Contributed Repositories </h2>
  38. <div class="table-responsive">
  39. <table class="table table-bordered table-hover table-striped tablesorter">
  40. <thead>
  41. <tr>
  42. <th class="header"> Repository <i class="icon-sort"></i></th>
  43. <th class="header"> Total <i class="icon-sort"></i></th>
  44. </tr>
  45. </thead>
  46. <tbody>
  47. {% for key in data.filteredData %}
  48. <tr>
  49. <td>{{ key.repo_name }}</td>
  50. <td>{{ key.total }}</td>
  51. </tr>
  52. {% endfor %}
  53. </tbody>
  54. </table>
  55. </div>
  56. </div>
  57. <div class="col-xs-4">
  58. <h2> Top Starred Repositories </h2>
  59. <div class="table-responsive">
  60. <table class="table table-bordered table-hover table-striped tablesorter">
  61. <thead>
  62. <tr>
  63. <th class="header"> Repository <i class="icon-sort"></i></th>
  64. <th class="header"> Count <i class="icon-sort"></i></th>
  65. </tr>
  66. </thead>
  67. <tbody>
  68. {% for key in data.filteredStargazers %}
  69. <tr>
  70. <td>{{ key.name }}</td>
  71. <td>{{ key.stargazers_count }}</td>
  72. </tr>
  73. {% endfor %}
  74. </tbody>
  75. </table>
  76. </div>
  77. </div>
  78. <div class="col-xs-4">
  79. <h2> Contributions </h2>
  80. <div class="table-responsive">
  81. <table class="table table-bordered table-hover table-striped tablesorter">
  82. <thead>
  83. <tr>
  84. <th class="header"> Repository <i class="icon-sort"></i></th>
  85. </tr>
  86. </thead>
  87. <tbody>
  88. {% for key in data.forkedRepos %}
  89. <tr>
  90. <td>{{ key.name }}</td>
  91. </tr>
  92. {% endfor %}
  93. </tbody>
  94. </table>
  95. </div>
  96. </div>
  97. </body>
  98. </html>