archive_detail.html 6.91 KB
Newer Older
藤川諒 committed
1 2 3 4 5 6 7
<!doctype html>
<html lang="en">
<head>
  <!-- Required meta tags -->
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1, user-scalable=0">
  <title>LiveTaskyell</title>
8
  <link rel="stylesheet" href="./css/notosansjp.css">
藤川諒 committed
9 10 11 12
  <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">
13
  <link rel="stylesheet" href="./css/loading.css">
藤川諒 committed
14 15
  <link rel="stylesheet" href="./css/footer.css">
  <link rel="stylesheet" href="./css/font-awesome.css">
16 17 18 19 20 21 22

  <script>
    window.addEventListener('DOMContentLoaded', function(){
      var urlPrm = new Object;
      var urlSearch = location.search.substring(1).split('&');
      var kv = urlSearch[0].split('=');
      urlPrm[kv[0]]=kv[1];
23
      CHAT_DB.callGetArchiveDetail(urlPrm.archiveId);
24 25
    });
  </script>
藤川諒 committed
26 27 28 29 30 31 32 33
</head>
<body>
  <!-- ナビメニュー -->
  <nav>
    <div class="row h-100 align-items-center">
      <div class="col-4 pr-0">
        <div class="nav-item">
          <div class="nav_prev">
34
            <a href="archive.html"><span class="ttl_archive">アーカイブ</span></a>
藤川諒 committed
35 36 37 38 39
          </div>
        </div>
      </div>
      <div class="col-4 p-0">
        <div class="nav-item p-0">
40
          <h1 class="nav-ttl ttl_detail">詳細</h1>
藤川諒 committed
41 42 43 44 45 46 47 48 49 50 51 52
        </div>
      </div>
      <div class="col-4 pl-0">
        <div class="nav-item text-right">
        </div>
      </div><!-- .col -->
    </div><!-- .row -->
  </nav><!-- nav -->

  <!-- コンテンツ -->
  <main id="archive">
    <!-- アーカイブ詳細 -->
53 54 55 56 57 58 59 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
    <div class="archive_detail" id="archiveDetail">
    </div>
  </main>

  <!-- ローディング -->
  <div id="userProfileModal"></div>

  <script src="./js/libs/jquery-3.3.1.min.js"></script>
  <script src="./js/libs/moment.js"></script>
  <script src="./js/libs/locale/ko.js" charset="UTF-8"></script>
  <script src="./js/libs/locale/ja.js" charset="UTF-8"></script>
  <script src="./js/libs/mustache.min.js"></script>
  <script src="./js/libs/bootstrap.min.js"></script>
  <script src="./js/libs/jquery.mark.min.js"></script>
  <script src="./js/archive.js"></script>
  <script src="./js/common.js"></script>
  <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-detail-template" type="text/template">
    <div id="archive_player" class="player">
    </div>
    <div class="archive_detail_desc">
      <div class="archive_detail_fl_nm item">
        <h2 class="ttl" id="archiveFileName">FileName</h2>
        <span>{{fileName}}</span>
藤川諒 committed
86
      </div>
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
      <div class="archive_detail_sv_date item">
        <h2 class="ttl" id="archiveInsertDate">InsertDate</h2>
        <span>{{insertDate}}</span>
      </div>
      <div class="archive_detail_room_nm item">
        <h2 class="ttl" id="archiveRoomName">ChatRoomName</h2>
        <span>{{chatRoomName}}</span>
        <button id="joinChatRoom">
          <img src="icon/icon_join_room.png" alt="">
        </button>
      </div>
      <div class="archive_detail_sv_user item">
        <h2 class="ttl" id="archiveSaveUser">SaveUser</h2>
        <div class="d-flex flex-row">
          <div class="d-flex flex-column">
            <img src="{{profileImage}}" alt="プロフィール画像">
            <span>{{userName}}</span>
          </div>
藤川諒 committed
105
        </div>
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
      </div>
      <div class="archive_detail_user_list item">
        <h2 class="ttl" id="archiveAttendUser">AttendUser</h2>
        <ul class="d-flex flex-row" id="attendUser">
        </ul>
      </div>
    </div>
  </script>

  <script id="archive-user-template" type="text/template">
    <li class="archive_user">
      <img src="{{profileImage}}" alt="">
      <p>{{userName}}</p>
    </li>
  </script>
  
  <script id="archive-namecard-template" type="text/template">
    <div class="modal fade profile_modal" id="userNameCard" tabindex="-1" role="dialog" aria-labelledby="userNameCard" aria-hidden="true">
      <div class="modal-dialog modal-dialog-centered" role="document">
        <div class="modal-content">
          <div class="modal-header border-0">
            <div class="profile_desc d-flex flex-row">
              <img src="{{profileImage}}" onError="this.src='./img/noImage.png'"/>
              <div class="profile_name"><span>{{name}}</span></div>
藤川諒 committed
130
            </div>
131 132 133
            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;</span>
            </button>
藤川諒 committed
134
          </div>
135 136 137 138 139 140 141 142
          <div class="modal-body">
            {{#groupPathList}}
            <li style="display: block;">{{.}}</li>
            {{/groupPathList}}
          </div>
          <div class="modal-footer border-0 justify-content-center">
            {{#isFavorite}}
            <button type="button" class="border-0 bg_navy" onclick="CHAT_UI.removeFavoriteUser({{shopMemberId}})">
藤川諒 committed
143
              <div class="d-flex flex-column">
144 145 146 147
                <div class="img_wrap">
                  <img src="icon/icon_profile_favorite.png" alt="お気に入り">
                </div>
                <span>お気に入り解除</span>
藤川諒 committed
148
              </div>
149 150 151 152
            </button>
            {{/isFavorite}}
            {{^isFavorite}}
            <button type="button" class="border-0 bg_navy" onclick="CHAT_UI.insertFavoriteUser({{shopMemberId}})">
藤川諒 committed
153
              <div class="d-flex flex-column">
154 155 156 157
                <div class="img_wrap">
                  <img src="icon/icon_profile_favorite_white.png" alt="お気に入り">
                </div>
                <span>お気に入り登録</span>
藤川諒 committed
158
              </div>
159 160 161
            </button>
            {{/isFavorite}}
            <button type="button" class="border-0 bg_green" >
藤川諒 committed
162
              <div class="d-flex flex-column">
163 164 165 166
                <div class="img_wrap">
                  <img src="icon/icon_profile_phone.png" alt="通話">
                </div>
                <span>通話</span>
藤川諒 committed
167
              </div>
168 169
            </button>
            <button type="button" class="border-0 bg_blue">
藤川諒 committed
170
              <div class="d-flex flex-column">
171 172 173 174
                <div class="img_wrap">
                  <img src="icon/icon_profile_chat.png" alt="チャット">
                </div>
                <span>チャット</span>
藤川諒 committed
175
              </div>
176 177
            </button>
          </div>
藤川諒 committed
178 179 180
        </div>
      </div>
    </div>
181
  </script>
182 183 184 185 186 187 188 189
  <script>
    let CHAT_SERVER_URL = '';
    let CMS_SERVER_URL = '';
    let ASSET_PATH = './';
    let PLATFORM = '';
    let IS_MOBILE = true;
    let IS_ONLINE = false;
  </script>
藤川諒 committed
190 191
</body>
</html>