archive.html 5.09 KB
Newer Older
藤川諒 committed
1 2
<!doctype html>
<html lang="en">
Kim Peace committed
3

藤川諒 committed
4 5 6
<head>
  <!-- Required meta tags -->
  <meta charset="utf-8">
Kim Peace committed
7 8
  <meta name="viewport"
    content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1, user-scalable=0">
藤川諒 committed
9
  <title>LiveTaskyell</title>
10
  <link rel="stylesheet" href="./css/notosansjp.css">
藤川諒 committed
11 12 13 14 15 16 17
  <link href="./fontawesome/css/all.css" rel="stylesheet">
  <link rel="stylesheet" href="./css/bootstrap.min.css">
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/archive.css">
  <link rel="stylesheet" href="./css/footer.css">
  <link rel="stylesheet" href="./css/loading.css">
  <link rel="stylesheet" href="./css/font-awesome.css">
18 19 20

  <script>
    window.addEventListener('DOMContentLoaded', function() {
Takatoshi Miura committed
21
      CHAT_UI.refreshArchiveScreen();
22 23
    });
  </script>
藤川諒 committed
24
</head>
Kim Peace committed
25

藤川諒 committed
26 27 28 29 30 31 32
<body>
  <!-- ナビメニュー -->
  <nav>
    <div class="row h-100 align-items-center">
      <div class="col-4 pr-0">
        <div class="nav-item">
          <div class="nav_prev">
33
            <a href="#" class="home_btn"><span>ホーム</span></a>
藤川諒 committed
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
          </div>
        </div>
      </div>
      <div class="col-4 p-0">
        <div class="nav-item p-0">
          <h1 class="nav-ttl">アーカイブ</h1>
        </div>
      </div>
      <div class="col-4 pl-0">
        <div class="nav-item text-right">
        </div>
      </div><!-- .col -->
    </div><!-- .row -->
  </nav><!-- nav -->

  <!-- コンテンツ -->
  <main id="archive">
    <!-- 検索 -->
    <div class="search_form">
Kang Donghun committed
53
        <input type="search" name="search" placeholder="検索" maxlength="50">
藤川諒 committed
54 55 56 57 58
        <span class="src_icon"></span>
        <a href="#" class="cancel none">キャンセル</a>
    </div>
    <!-- アーカイブリスト -->
    <div class="archive_list content">
59
      <ul id="archiveList">
藤川諒 committed
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
      </ul>
    </div>
    <!-- オーバーレイ -->
    <div class="archive_list">
      <ul class="overlay_src_msg">
      </ul>
    </div>
  </main>
  <!-- フッター -->
  <footer>
    <div class="footer-wrap">
      <div class="d-flex justify-content-around h-100">
        <div class="footer_item">
          <a href="contact.html">
            <img src="icon/icon_contact_gray.png" alt="コンタクト">
            <p>コンタクト</p>
          </a>
        </div>
        <div class="footer_item">
          <a href="chat.html">
            <img src="icon/icon_chat_gray.png" alt="チャット">
            <p>チャット</p>
          </a>
        </div>
        <div class="footer_item">
          <a href="archive.html">
            <img src="icon/icon_archive.png" alt="アーカイブ">
            <p class="active">アーカイブ</p>
          </a>
        </div>
      </div>
    </div>
  </footer>

94
<div id="loadingArea"></div>
藤川諒 committed
95 96 97 98
<script src="./js/libs/jquery-3.3.1.min.js"></script>
<script src="./js/libs/moment.js"></script>
<script src="./js/libs/bootstrap.min.js"></script>
<script src="./js/libs/jquery.mark.min.js"></script>
99
<script src="./js/libs/mustache.min.js"></script>
藤川諒 committed
100 101
<script src="./js/archive.js"></script>
<script src="./js/common.js"></script>
102 103 104 105 106 107 108 109 110 111 112 113
<script src="./js/language.js"></script>
<script src="./js/language_ko.js" charset="UTF-8"></script>
<script src="./js/language_ja.js" charset="UTF-8"></script>
<script src="./js/language_en.js" charset="UTF-8"></script>
<script src="./js/constant.js"></script>
<script src="./js/chat.js"></script>
<script src="./js/chat-ui.js"></script>
<script src="./js/chat-util.js"></script>
<script src="./js/chat-db.js"></script>

<script id="archive-template" type="text/template">
  <li class="d-flex align-items-center">
Takatoshi Miura committed
114
      <a href="archive_detail.html?archiveId={{archiveId}}" class="w-100">
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
          <div class="archive_item d-flex flex-row align-items-center w-100">
              <div class="arhive_img">
                <div class="img_wrap bg_blue">
                  <img src="{{typeImage}}" alt="動画" />
                </div>
              </div>
              <div class="archive_desc">
                <div class="archive_name">
                  <span>{{fileName}}</span>
                </div>
                <div class="archive_date">
                  <span>{{insertDate}}</span>
                </div>
              </div>
          </div>
      </a>
  </li>
</script>
133
<script>
134 135 136 137
  String.prototype.replaceAll = function(org, dest) {
    return this.split(org).join(dest);
  }

138 139 140 141 142 143
  let CHAT_SERVER_URL = '';
  let CMS_SERVER_URL = '';
  let ASSET_PATH = './';
  let PLATFORM = '';
  let IS_MOBILE = true;
  let IS_ONLINE = false;
144 145
  $("#chatMenuModal").load("./modal_chat_menu.html");
  $("#loadingArea").load("./loading.html");
Takatoshi Miura committed
146 147 148 149 150 151 152
  if (typeof(android) != "undefined") {
    android.getLoginParameter();
    android.getGlobalParameter();
  } else {
    webkit.messageHandlers.loginInfoRequestMessageHandlerId.postMessage({});
    webkit.messageHandlers.getGlobalParameter.postMessage({});
  }
153 154 155 156 157 158 159

  function getGlobalParam(chatServerUrl, cmsServerUrl, platform, isMobile, isOnline) {
    CHAT_SERVER_URL = chatServerUrl;
    CMS_SERVER_URL = cmsServerUrl;
    PLATFORM = platform;
    IS_MOBILE = isMobile;
    IS_ONLINE = isOnline;
Lee Munkyeong committed
160
    CHAT_UI.refreshArchiveScreen();
161
  };
162
</script>
藤川諒 committed
163
</body>
Kim Peace committed
164 165

</html>