icdd-vsumm/static/index.html

85 lines
4.0 KiB
HTML

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/index.css">
<link rel="stylesheet" href="css/plyr.css">
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.bundle.min.js"></script>
<script src="js/plyr.js"></script>
<script src="js/util.js"></script>
<script src="js/index.js"></script>
<title>ICDD-视频摘要</title>
</head>
<body>
<!-- 顶部导航栏 -->
<nav class="navbar navbar-expand-sm bg-dark navbar-dark">
<ul class="navbar-nav" style="align-items: center;">
<a class="navbar-brand" href="#"><img src="image/icdd.png" alt="Logo"></a>
<li class="nav-item mr-4"><a class="nav-link" href="#">主页</a></li>
<li class="nav-item mr-4"><a class="nav-link" href="#">上传</a></li>
<li class="nav-item mr-4"><a class="nav-link" href="#">数据集</a></li>
</ul>
</nav>
<!-- 错误提示Modal (默认不显示) -->
<div class="modal fade" id="error-modal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title"></h4>
<button type="button" class="close" data-dismiss="modal">&times;</button>
</div>
<div class="modal-body"></div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">关闭</button>
</div>
</div>
</div>
</div>
<!-- 视频展示Modal (默认不显示) -->
<div class="modal fade" id="video-modal">
<div class="modal-dialog modal-xl">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title display-5"></h4>
<button type="button" class="close" data-dismiss="modal">&times;</button>
</div>
<div class="modal-body">
<video class="plyr" id="video" playsinline controls muted="unmuted"></video>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">关闭</button>
</div>
</div>
</div>
</div>
<!-- 中心面板 -->
<div class="container-fluid container-main d-flex flex-column justify-content-center align-items-center">
<div class="container m-3 d-flex justify-content-center align-items-center">
<h1 id="caption" class="text-center display-4"><b>创建视频摘要</b></h1>
</div>
<div class="container m-3 d-flex justify-content-center align-items-center">
<button id="select-video" type="button" class="btn btn-dark btn-lg">选择视频</button>
<input type="file" id="upload-video" style="display: none;" />
</div>
<div class="container m-3 d-flex justify-content-center align-items-center table-responsive">
<table id="status-table" class="table table-hover" style="display: none;">
<thead class="thead-dark">
<tr>
<th style="width: 25%;">文件名</th>
<th style="width: 10%;">文件格式</th>
<th style="width: 10%;">文件大小</th>
<th style="width: 10%;">状态</th>
<th style="width: 35%;">进度</th>
<th style="width: 10%;">操作</th>
</tr>
</thead>
<!-- 注意: 这里的空tr需要保留, 否则table-hover效果将失效 -->
<tr></tr>
</table>
</div>
</div>
</body>
</html>