123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- {% extends "index.html" %}
- {% block title %}Login{% endblock %}
- {% block head %}
- {{ super() }}
- {% endblock %}
- {% block content %}
- <!-- content -->
- <div class="container-fluid">
- <div id="mySidenav" class="sidenav">
- <!-- <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a> -->
- <h2 class="go_title" href="/index"><a class="nav-link active" aria-current="page" href="/index">AI Spokesgirl</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><lan set-lan="html:usage_intro">使用說明</lan></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><lan set-lan="html:history">歷史紀錄</lan></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()">☰ 過去紀錄</span> -->
- <div class="content ms-auto">
- <form id="msform">
- <div class="linker__box">
- <p set-lan="html:preview_videos">預覽影片</p>
- <i class="fas fa-link"></i>
- <a id='linker' style="display: none;" class="ms-2" set-lan="html:video_link">影片連結</a>
- </div>
- <!-- fieldsets -->
- <fieldset>
- <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>
- <input id=title type="text" name='t1' class='title_new' value="" placeholder="標題" /> <br/>
- </fieldset>
- <fieldset>
- <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>
- <select id="avatar" class='avatar'>
- <option set-lan="html:p_choose_character" value="請選擇人物" selected="selected" disabled>>請選擇人物</option>
- <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>
- <fieldset>
- <h3 class="fs-subtitle" set-lan="html:lines">台詞</h3>
- <input id=slide_raw_url type="text" name='t1' class='title_new' value="" placeholder="標題" /><label for="myCheck" set-lan="html:add_eng">加入英文:</label>
- <input type="checkbox" id="multiLang" > <br/>
- <div class="subtitle-inputs">
-
- </div>
- <span class="add">+</span>
- </fieldset>
- <fieldset id='imgSrc'>
- <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/>
- <div class="img-inputs">
- </div>
- <span class="addimg">+</span>
- <input id="checker" type="button" name="next" class="next action-button" set-lan="val:submit" value="送出" />
- <h3 style="display: none;" class="fs-subtitle"><lan set-lan="html:processing_progress">處理進度</lan></h3>
- <div style="display: none;" id="myProgress">
- <div style="display: none;" id="myBar">0%</div>
- </div>
- </fieldset>
- </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" set-lan="html:usage_intro">使用說明</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 set-lan="html:one_line_to_one_img">1. 一句台詞請對應提供一個影像連結做為搭配</li>
- <li><lang set-lan="html:sup_img_profile">2. 影像連結檔案格式支援:</lang><stong class="strong">.png, jpg, .mp4</stong></li>
- <li set-lan="html:submit_to_wait">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" set-lang="html:history">歷史紀錄</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 %}
|