|
@@ -37,9 +37,22 @@ if (isset($_POST["folder"])) {
|
|
|
<section role="main" class="content-body">
|
|
<section role="main" class="content-body">
|
|
|
<header class="page-header">
|
|
<header class="page-header">
|
|
|
<h2>{{pageHeader}}</h2>
|
|
<h2>{{pageHeader}}</h2>
|
|
|
- <button class="mb-xs mt-xs mr-xs btn btn-default right" type="button" style="float: right;" onclick="initList(parent)">回上層</button>
|
|
|
|
|
</header>
|
|
</header>
|
|
|
- <div class="row" id="video-list">
|
|
|
|
|
|
|
+ <div class="inner-body mg-main" style="margin-left: 0px;">
|
|
|
|
|
+ <div class="inner-toolbar">
|
|
|
|
|
+ <ul>
|
|
|
|
|
+ <search-bar></search-bar>
|
|
|
|
|
+ <li id="reset" style="padding-top: 10px;">
|
|
|
|
|
+ <div class="input-group input-search" style="table-layout: auto;">
|
|
|
|
|
+ <a class="btn btn-primary" href="video-list.php" id="resetbtn" data-toggle="tooltip" data-original-title="" title="">
|
|
|
|
|
+ <i class="fa fa-undo"></i>
|
|
|
|
|
+ </a>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </li>
|
|
|
|
|
+ <button class="mb-xs mt-xs mr-xs btn btn-default right" type="button" style="float: right;" onclick="initList(parent)">回上層</button>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="row" id="video-list"></div>
|
|
|
</div>
|
|
</div>
|
|
|
</section>
|
|
</section>
|
|
|
</div>
|
|
</div>
|
|
@@ -50,6 +63,22 @@ if (isset($_POST["folder"])) {
|
|
|
</script>
|
|
</script>
|
|
|
<script src="./script/js/video-list.js"></script>
|
|
<script src="./script/js/video-list.js"></script>
|
|
|
<?php include("bim-support-body.html"); ?>
|
|
<?php include("bim-support-body.html"); ?>
|
|
|
|
|
+
|
|
|
|
|
+ <script>
|
|
|
|
|
+ $(".input-search .btn").on("click", function() {
|
|
|
|
|
+ // alert($("#quicksearch").val());
|
|
|
|
|
+ $("#video-list").empty();
|
|
|
|
|
+ search_video($("#quicksearch").val());
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
|
|
+ $('.input-search input').on('keyup', function(e) {
|
|
|
|
|
+ if (e.key === 'Enter' || e.keyCode === 13) {
|
|
|
|
|
+ $('#video-list').empty();
|
|
|
|
|
+ search_video($("#quicksearch").val());
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ </script>
|
|
|
|
|
+
|
|
|
</section>
|
|
</section>
|
|
|
</body>
|
|
</body>
|
|
|
|
|
|