uploadList.html 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <div>
  2. "Copiar" copia el "id" del video.. es lo que se pega en la plataforma en donde dice 'video'
  3. <br/>
  4. "Plataforma" Crea un video con ese nombre, sin profesor y sin diapositivas en la plataforma (con el id del video cargado)
  5. <br/>
  6. "reintentar" vuevle a subir el mismo video, por si hubo un error y se reproceso (solo con tratamientos, no usar)
  7. <table id="uploadedTable" class="table table-striped">
  8. <tr>
  9. <th>Inicio</th>
  10. <th>Fin</th>
  11. <th>Titulo</th>
  12. <th>Archivo</th>
  13. <th>Link</th>
  14. </tr>
  15. <tr ng-repeat="v in videolist">
  16. <td>
  17. {{::v.enqueued_at}}
  18. </td>
  19. <td>
  20. {{::v.finished_at}}
  21. </td>
  22. <td>
  23. {{::v.title}}
  24. </td>
  25. <td>
  26. {{::v.video.split("/").slice(-1)[0]}}
  27. </td>
  28. <td>
  29. <a ng-href="http://youtube.com/watch?v={{v.yt}}" target="_blank">Ver</a>
  30. <button class="btn" ngclipboard data-clipboard-text="{{v.yt}}">Copiar</button>
  31. <button class="btn" ng-click="post(v._id)">Plataforma</button>
  32. <button class="btn" ng-click="retry(v._id)">reintentar</button>
  33. </td>
  34. </tr>
  35. </table>
  36. </div>