template_user_name_card.html 2.5 KB
Newer Older
1 2 3 4
<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">
5 6 7
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
Kim Peace committed
8
        <div class="profile_desc_ d-flex flex-row">
Lee Munkyeong committed
9
          <img src="{{profileUrl}}" onError="this.src='./img/noImage.png'"/>
Kim Peace committed
10
          <div class="profile_name"><span>{{name}}</span></div>
11 12
        </div>
      </div>
13
      <div class="modal-body" id="userNameCard-scroll">
Lee Daehyun committed
14
        {{#groupPathList}}
Lee Daehyun committed
15 16
        <li onclick="CHAT_UI.refreshAllGroupSearch({{groupId}});"><b>{{groupPath}}</b></li>
        {{/groupPathList}}
17 18 19
      </div>
      <div class="modal-footer border-0 justify-content-center">
        {{#isFavorite}}
Lee Munkyeong committed
20
        <button type="button" class="border-0 bg_navy" onclick="CHAT_UI.removeFavoriteUser({{shopMemberId}})" id="favoriteButton">
21 22 23 24 25 26 27 28
          <div class="d-flex flex-column">
            <div class="img_wrap">
              <img src="icon/icon_profile_favorite.png" alt="お気に入り">
            </div>
            <span>お気に入り解除</span>
          </div>
        </button>
        {{/isFavorite}}
Lee Munkyeong committed
29
        {{^isFavorite}}
Lee Munkyeong committed
30
        <button type="button" class="border-0 bg_navy" onclick="CHAT_UI.insertFavoriteUser({{shopMemberId}})" id="favoriteButton">
31 32 33 34 35 36 37 38
          <div class="d-flex flex-column">
            <div class="img_wrap">
              <img src="icon/icon_profile_favorite_white.png" alt="お気に入り">
            </div>
            <span>お気に入り登録</span>
          </div>
        </button>
        {{/isFavorite}}
39
        <button type="button" class="border-0 bg_green" onclick="CHAT_UI.startVoice('{{shopMemberId}}','{{name}}');">
40 41
          <div class="d-flex flex-column">
            <div class="img_wrap">
42
              <img src="icon/icon_profile_phone.png" alt="通話">
43 44 45 46
            </div>
            <span>通話</span>
          </div>
        </button>
Lee Munkyeong committed
47
        <button type="button" class="border-0 bg_blue" onclick="CHAT_UI.startChat('{{shopMemberId}}','{{name}}');">
48 49 50 51 52 53 54 55 56 57 58
          <div class="d-flex flex-column">
            <div class="img_wrap">
              <img src="icon/icon_profile_chat.png" alt="チャット">
            </div>
            <span>チャット</span>
          </div>
        </button>
      </div>
    </div>
  </div>
</div>