template_user_name_card.html 2.74 KB
Newer Older
1
<div class="modal fade profile_modal" id="userNameCard" tabindex="-1" role="dialog" aria-labelledby="userNameCard"
2
  aria-hidden="true">
3
  <div class="modal-dialog modal-dialog-centered" role="document">
4 5
    <div class="modal-content-wrap d-flex align-items-center m-auto">
      <div class="modal-content">
藤川諒 committed
6
        <div class="modal-header border-0">
7 8 9
          <button type="button" class="close" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true" style="font-size:40px;">&times;</span>
          </button>
藤川諒 committed
10
          <div class="profile_desc_ d-flex flex-row">
11
            <img src="{{profileUrl}}" onError="this.src='./img/noImage.png'" />
藤川諒 committed
12 13
            <div class="profile_name d-flex justify-content-center align-items-center"><span>{{name}}</span></div>
          </div>
14
        </div>
藤川諒 committed
15 16
        <div class="modal-body" id="userNameCard-scroll">
          {{#groupPathList}}
17
          <li onclick="Namecard.moveContactPage({{groupId}});"><b>{{groupPath}}</b></li>
藤川諒 committed
18 19 20 21
          {{/groupPathList}}
        </div>
        <div class="modal-footer border-0 justify-content-center">
          {{#isFavorite}}
22 23
          <button type="button" class="border-0" onclick="Namecard.removeFavoriteUser({{shopMemberId}})"
            id="favoriteButton">
藤川諒 committed
24
            <div class="d-flex flex-column">
25
              <span class="star active shopmember_{{shopMemberId}}" onclick="Namecard.favoriteUserChange('{{shopMemberId}}', this)"></span>
藤川諒 committed
26
              <span>お気に入り解除</span>
27
            </div>
藤川諒 committed
28 29 30
          </button>
          {{/isFavorite}}
          {{^isFavorite}}
31 32
          <button type="button" class="border-0" onclick="Namecard.insertFavoriteUser({{shopMemberId}})"
            id="favoriteButton">
藤川諒 committed
33
            <div class="d-flex flex-column">
34
              <span class="star disable shopmember_{{shopMemberId}}" onclick="Namecard.favoriteUserChange('{{shopMemberId}}', this)"></span>
藤川諒 committed
35
              <span>お気に入り登録</span>
36
            </div>
藤川諒 committed
37 38
          </button>
          {{/isFavorite}}
39
          <button type="button" class="border-0" onclick="Namecard.startVoice('{{shopMemberId}}','{{name}}');">
藤川諒 committed
40 41 42 43 44
            <div class="d-flex flex-column">
              <div class="img_wrap">
                <img src="icon/icon_profile_phone.svg" alt="通話">
              </div>
              <span>通話</span>
45
            </div>
藤川諒 committed
46
          </button>
47
          <button type="button" class="border-0" onclick="Namecard.startChat('{{shopMemberId}}','{{name}}');">
藤川諒 committed
48 49 50 51 52
            <div class="d-flex flex-column">
              <div class="img_wrap">
                <img src="icon/icon_profile_chat.svg" alt="チャット">
              </div>
              <span>チャット</span>
53
            </div>
藤川諒 committed
54 55
          </button>
        </div>
56 57 58
      </div>
    </div>
  </div>
59
</div>