make_video.html 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. {% extends "index.html" %}
  2. {% block title %}Login{% endblock %}
  3. {% block head %}
  4. {{ super() }}
  5. {% endblock %}
  6. {% block content %}
  7. <!-- content -->
  8. <div class="container-fluid">
  9. <div id="mySidenav" class="sidenav">
  10. <!-- <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">&times;</a> -->
  11. <h2 class="go_title" href="/index"><a class="nav-link active" aria-current="page" href="/index">AI Spokesgirl</a></h2>
  12. <ul class="nav-list">
  13. <li class="nav-list-item pb-1 mb-3" data-bs-toggle="modal" data-bs-target="#howto"><i class="fas fa-book-open me-2"></i><lan set-lan="html:usage_intro">使用說明</lan></li>
  14. <li class="nav-list-item pb-1" data-bs-toggle="modal" data-bs-target="#history" onclick="openNav()"><i class="fas fa-history me-2"></i><lan set-lan="html:history">歷史紀錄</lan></li>
  15. </ul>
  16. <p class="right-text text-white d-inline-block">Choozmo All Rights Reserved</p>
  17. </div>
  18. <!-- <span style="font-size:30px;cursor:pointer" onclick="openNav()">&#9776; 過去紀錄</span> -->
  19. <div class="content ms-auto">
  20. <form id="msform">
  21. <div class="linker__box">
  22. <p set-lan="html:preview_videos">預覽影片</p>
  23. <i class="fas fa-link"></i>
  24. <a id='linker' style="display: none;" class="ms-2" set-lan="html:video_link">影片連結</a>
  25. </div>
  26. <!-- fieldsets -->
  27. <fieldset>
  28. <h3 class="fs-subtitle"><lan set-lan="html:video_title">標題</lan><img class="ms-1" src="static/img/question.png" alt="" data-bs-toggle="tooltip" data-bs-placement="right" title="將作為影片的內嵌標題"></h3>
  29. <input id=title type="text" name='t1' class='title_new' value="" placeholder="標題" /> <br/>
  30. </fieldset>
  31. <fieldset>
  32. <h3 class="fs-subtitle"><lan set-lan="html:choose_character">選擇人物</lan><img class="ms-1" src="static/img/question.png" alt="" data-bs-toggle="tooltip" data-bs-placement="right" title="將作為影片的講者"></h3>
  33. <select id="avatar" class='avatar'>
  34. <option set-lan="html:p_choose_character" value="請選擇人物" selected="selected" disabled>>請選擇人物</option>
  35. <option value="7">Peggy</option>
  36. <option value="8">Stacy</option>
  37. <option value="10">Nina黑</option>
  38. <option value="9">Nina灰</option>
  39. <option value="11">Summer韓小夏</option>
  40. <option value="12">Jocelyn</option>
  41. <option value="12">Angela</option>
  42. </select>
  43. <div class="owl-carousel owl-theme">
  44. <div class="card item" data-avatar="Peggy" data-img="peggy">
  45. <div class="imgfr"><img src="static/img/peggy.webp" class="card-img-top" alt="..."></div>
  46. <div class="card-body">
  47. <h5 class="card-title">Peggy</h5>
  48. </div>
  49. </div>
  50. <div class="card item" data-avatar="Stacy" data-img="stacy">
  51. <div class="imgfr"><img src="static/img/stacy.webp" class="card-img-top" alt="..."></div>
  52. <div class="card-body">
  53. <h5 class="card-title">Stacy</h5>
  54. </div>
  55. </div>
  56. <div class="card item" data-avatar="Nina黑" data-img="ninablack">
  57. <div class="imgfr"><img src="static/img/ninablack.webp" class="card-img-top" alt="..."></div>
  58. <div class="card-body">
  59. <h5 class="card-title">Nina黑</h5>
  60. </div>
  61. </div>
  62. <div class="card item" data-avatar="Nina灰" data-img="ninawhite">
  63. <div class="imgfr"><img src="static/img/ninawhite.webp" class="card-img-top" alt="..."></div>
  64. <div class="card-body">
  65. <h5 class="card-title">Nina灰</h5>
  66. </div>
  67. </div>
  68. <div class="card item" data-avatar="Summer韓小夏" data-img="summer">
  69. <div class="imgfr"><img src="static/img/summer.webp" class="card-img-top" alt="..."></div>
  70. <div class="card-body">
  71. <h5 class="card-title">Summer韓小夏</h5>
  72. </div>
  73. </div>
  74. <div class="card item" data-avatar="Jocelyn" data-img="Jocelyn">
  75. <div class="imgfr"><img src="static/img/Jocelyn.webp" class="card-img-top" alt="..."></div>
  76. <div class="card-body">
  77. <h5 class="card-title">Jocelyn</h5>
  78. </div>
  79. </div>
  80. <div class="card item" data-avatar="Angela" data-img="Angela">
  81. <div class="imgfr"><img src="static/img/Angela.webp" class="card-img-top" alt="..."></div>
  82. <div class="card-body">
  83. <h5 class="card-title">Angela</h5>
  84. </div>
  85. </div>
  86. </div>
  87. </fieldset>
  88. <fieldset>
  89. <h3 class="fs-subtitle" set-lan="html:lines">台詞</h3>
  90. <input id=slide_raw_url type="text" name='t1' class='title_new' value="" placeholder="標題" /><label for="myCheck" set-lan="html:add_eng">加入英文:</label>
  91. <input type="checkbox" id="multiLang" > <br/>
  92. <div class="subtitle-inputs">
  93. </div>
  94. <span class="add">+</span>
  95. </fieldset>
  96. <fieldset id='imgSrc'>
  97. <h3 class="fs-subtitle" style="display: inline-block;"><lan set-lan="html:img_link">影像連結</lan><img class="ms-1" src="static/img/question.png" alt="" data-bs-toggle="tooltip" data-bs-placement="right" title="僅接受png, jpg, mp4格式"></h3><br/>
  98. <div class="img-inputs">
  99. </div>
  100. <span class="addimg">+</span>
  101. <input id="checker" type="button" name="next" class="next action-button" set-lan="val:submit" value="送出" />
  102. <h3 style="display: none;" class="fs-subtitle"><lan set-lan="html:processing_progress">處理進度</lan></h3>
  103. <div style="display: none;" id="myProgress">
  104. <div style="display: none;" id="myBar">0%</div>
  105. </div>
  106. </fieldset>
  107. </form>
  108. <!-- <div style="width: 80%;margin: 0 auto;"><iframe src="http://www.choozmo.com:8168/ai_anchor_video/16250306886652043.mp4" frameborder="0" style="width: 100%;height: 400px;"></iframe></div> -->
  109. </div>
  110. <div class="modal fade" tabindex="-1" id="howto" aria-labelledby="howto" aria-hidden="true">
  111. <div class="modal-dialog">
  112. <div class="modal-content">
  113. <div class="modal-header">
  114. <h5 class="modal-title" id="staticBackdropLabel" set-lan="html:usage_intro">使用說明</h5>
  115. <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  116. </div>
  117. <div class="modal-body">
  118. <div class="modal-terms">
  119. <ol class="ps-0">
  120. <li set-lan="html:one_line_to_one_img">1. 一句台詞請對應提供一個影像連結做為搭配</li>
  121. <li><lang set-lan="html:sup_img_profile">2. 影像連結檔案格式支援:</lang><stong class="strong">.png, jpg, .mp4</stong></li>
  122. <li set-lan="html:submit_to_wait">3. 點選“送出”之後需等待一段影片製作的時間,請您耐心等候,待製作完畢可於通知網址查看</li>
  123. </ol>
  124. </div>
  125. </div>
  126. </div>
  127. </div>
  128. </div>
  129. <div class="modal" tabindex="-1" id="history" aria-labelledby="history" aria-hidden="true">
  130. <div class="modal-dialog modal-dialog-scrollable">
  131. <div class="modal-content">
  132. <div class="modal-header">
  133. <h5 class="modal-title" id="staticBackdropLabel" set-lang="html:history">歷史紀錄</h5>
  134. <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  135. </div>
  136. <div class="modal-body">
  137. <div class="modal-terms">
  138. <div class="loader"><img src="static/img/bx_loader.gif" alt=""></div>
  139. <ol class="ps-0 historyList">
  140. </ol>
  141. </div>
  142. </div>
  143. </div>
  144. </div>
  145. </div>
  146. <div class="modal" tabindex="-1" id="avatarmega" aria-labelledby="history" aria-hidden="true">
  147. <div class="modal-dialog modal-dialog-centered">
  148. <div class="modal-content text-center">
  149. <div class="modal-header">
  150. <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"><img src="static/img/close.svg" alt=""></button>
  151. </div>
  152. <div class="modal-body">
  153. <img class="modal-img" src="" alt="">
  154. <h5 class="modal-title mt-2"></h5>
  155. </div>
  156. </div>
  157. </div>
  158. </div>
  159. </div>
  160. {% endblock %}