{% extends "index.html" %}
{% block title %}Login{% endblock %}
{% block head %}
{{ super() }}
{% endblock %}
{% block content %}



  <div class="container-fluid">
    <div id="mySidenav" class="sidenav">
      <!-- <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">&times;</a> -->
      <h2 class="go_title" href="/index"><a class="nav-link active" aria-current="page" href="/index">AI Spokes Girl</a></h2>
      <ul class="nav-list">
        <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>使用說明</li>
        <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>歷史紀錄</li>
      </ul>
      <p class="right-text text-white d-inline-block">Choozmo All Rights Reserved</p>
    </div>

    <!-- <span style="font-size:30px;cursor:pointer" onclick="openNav()">&#9776; 過去紀錄</span> -->
    <div class="content ms-auto">
      <form id="msform">
        <div class="linker__box">
          <p>預覽影片</p>
          <i class="fas fa-link"></i>
          <a id='linker' style="display: none;" class="ms-2">影片連結</a>
        </div>
        <!-- fieldsets -->
        <fieldset>
          <h3 class="fs-subtitle">SLIDE 連結<img class="ms-1" src="static/img/question.png" alt="" data-bs-toggle="tooltip" data-bs-placement="right" title="將作為影片的內嵌標題"></h3>
          <input id=slide_raw_url type="text" name='t1' class='title_new' value="" placeholder="標題" /><label for="myCheck">加入英文:</label> 
          <input type="checkbox" id="multiLang" > <br/>
        </fieldset>
        <fieldset>
          <h3  class="fs-subtitle">選擇人物<img class="ms-1" src="static/img/question.png" alt="" data-bs-toggle="tooltip" data-bs-placement="right" title="將作為影片的講者"></h3>
          <select id="avatar" class='avatar'>
            <option value="7">Peggy</option>
            <option value="8">Stacy</option>
            <option value="10">Nina黑</option>
            <option value="9">Nina灰</option>
            <option value="11">Summer韓小夏</option>
            <option value="12">Jocelyn</option>
            <option value="12">Angela</option>
          </select>
          <div class="owl-carousel owl-theme">
            <div class="card item" data-avatar="Peggy" data-img="peggy">
              <div class="imgfr"><img src="static/img/peggy.webp" class="card-img-top" alt="..."></div>
              <div class="card-body">
                <h5 class="card-title">Peggy</h5>
              </div>
            </div>
            <div class="card item" data-avatar="Stacy" data-img="stacy">
              <div class="imgfr"><img src="static/img/stacy.webp" class="card-img-top" alt="..."></div>
              <div class="card-body">
                <h5 class="card-title">Stacy</h5>
              </div>
            </div>
            <div class="card item" data-avatar="Nina黑" data-img="ninablack">
              <div class="imgfr"><img src="static/img/ninablack.webp" class="card-img-top" alt="..."></div>
              <div class="card-body">
                <h5 class="card-title">Nina黑</h5>
              </div>
            </div>
            <div class="card item" data-avatar="Nina灰" data-img="ninawhite">
              <div class="imgfr"><img src="static/img/ninawhite.webp" class="card-img-top" alt="..."></div>
              <div class="card-body">
                <h5 class="card-title">Nina灰</h5>
              </div>
            </div>
            <div class="card item" data-avatar="Summer韓小夏" data-img="summer">
              <div class="imgfr"><img src="static/img/summer.webp" class="card-img-top" alt="..."></div>
              <div class="card-body">
                <h5 class="card-title">Summer韓小夏</h5>
              </div>
            </div>
            <div class="card item" data-avatar="Jocelyn" data-img="Jocelyn">
              <div class="imgfr"><img src="static/img/Jocelyn.webp" class="card-img-top" alt="..."></div>
              <div class="card-body">
                <h5 class="card-title">Jocelyn</h5>
              </div>
            </div>
            <div class="card item" data-avatar="Angela" data-img="Angela">
              <div class="imgfr"><img src="static/img/Angela.webp" class="card-img-top" alt="..."></div>
              <div class="card-body">
                <h5 class="card-title">Angela</h5>
              </div>
            </div>
          </div>
        </fieldset>
        <input id="send_slide" type="button" name="next" class="action-button" value="送出" />
      </form>
      <!-- <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> -->
    </div>
    
    <div class="modal fade" tabindex="-1" id="howto" aria-labelledby="howto" aria-hidden="true">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h5 class="modal-title" id="staticBackdropLabel">使用說明</h5>
            <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
          </div>
          <div class="modal-body">
              <div class="modal-terms">
                  <ol class="ps-0">
                      <li>1. 一句台詞請對應提供一個影像連結做為搭配</li>
                      <li>2. 影像連結檔案格式支援：<stong class="strong">.png, jpg, .mp4</stong></li>
                      <li>3. 點選“送出”之後需等待一段影片製作的時間，請您耐心等候，待製作完畢可於通知網址查看</li>
                  </ol>
              </div>
          </div>
        </div>
      </div>
  </div> 
  <div class="modal" tabindex="-1" id="history" aria-labelledby="history" aria-hidden="true">
    <div class="modal-dialog modal-dialog-scrollable">
      <div class="modal-content">
        <div class="modal-header">
          <h5 class="modal-title" id="staticBackdropLabel">歷史紀錄</h5>
          <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
        </div>
        <div class="modal-body">
            <div class="modal-terms">
              <div class="loader"><img src="static/img/bx_loader.gif" alt=""></div>
              <ol class="ps-0 historyList">
              </ol>
            </div>
        </div>
      </div>
    </div>
  </div>
  <div class="modal" tabindex="-1"  id="avatarmega" aria-labelledby="history" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered">
      <div class="modal-content text-center">
        <div class="modal-header">
          <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"><img src="static/img/close.svg" alt=""></button>
        </div>
        <div class="modal-body">
          <img class="modal-img" src="" alt="">
          <h5 class="modal-title mt-2"></h5>
        </div>
      </div>
    </div>
  </div>
  </div>
  
  

  {% endblock %}