addSong.html 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <template name="addSong">
  2. {{> header}}
  3. <main class="content-box row hack-container">
  4. <h3 class="black-text thin center">Add Song</h3>
  5. <div class="card light-blue-text col m6 s12 l6 offset-m3 offset-l3">
  6. <div class="card-content">
  7. <span>Import Video</span>
  8. <hr>
  9. <div class="row">
  10. <div class="input-field col l8 m8 s12 offset-l2 offset-m2">
  11. <input class="validate" name="query" id="query" type="text"/>
  12. <label for="query">Song Title / URL</label>
  13. </div>
  14. <button type="button" id="search-song" class="btn btn-large col l6 m6 s10 offset-l3 offset-m3 offset-s1 waves-effect waves-light">Search</button>
  15. </div>
  16. <hr>
  17. <ul class="collection">
  18. <li class="collection-item avatar youtube-search-result-li">
  19. <img src="/notes.png" alt="" class="video-import-thumbnail">
  20. <span class="title video-import-text">Title</span>
  21. <p class="video-import-text">First Line <br>
  22. Second Line
  23. </p>
  24. <a href="#!" class="secondary-content"><i class="material-icons">grade</i></a>
  25. </li>
  26. </ul>
  27. </div>
  28. </div>
  29. </main>
  30. <div id="createArticle" class="modal">
  31. <div class="modal-content musare white-text">
  32. <h4 class="center-align">Create Article</h4>
  33. <div class="row">
  34. <div class="input-field col l8 m8 s12 offset-l2 offset-m2">
  35. <label for="title" class="white-text">Title</label>
  36. <input class="validate" name="title" id="title" type="text"/>
  37. </div>
  38. <div class="input-field col l8 m8 s12 offset-l2 offset-m2">
  39. <textarea class="materialize-textarea validate" name="content" id="content" type="text"></textarea>
  40. <label for="content" class="white-text">Content</label>
  41. </div>
  42. <div class="col l8 m8 s12 offset-l2 offset-m2">
  43. <div class="switch">
  44. <label class="white-text">
  45. Post as myself
  46. <input id="anonymous" type="checkbox">
  47. <span class="lever"></span>
  48. Post anonymous
  49. </label>
  50. </div>
  51. </div>
  52. </div>
  53. <div class="row">
  54. <button type="button" id="createArticleButton" class="btn btn-large col l6 m6 s10 offset-l3 offset-m3 offset-s1 waves-effect waves-light">Create Article</button>
  55. </div>
  56. </div>
  57. <div class="modal-footer musare white-text">
  58. <a href="#!" class="modal-action modal-close waves-effect waves-light btn-flat white">X</a>
  59. </div>
  60. </div>
  61. <script>
  62. $(document).ready(function(){
  63. // the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered
  64. $('.modal-trigger').leanModal();
  65. });
  66. </script>
  67. {{> footer}}
  68. </template>