File size: 3,259 Bytes
bf353e0
 
 
 
 
 
 
ddf56da
 
bf353e0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
302d1f9
bf353e0
 
302d1f9
bf353e0
 
302d1f9
bf353e0
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE html>
<html lang="ja">
  <head>
    <meta charset="UTF-8" />
    <title>ユーザー音声登録</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://use.fontawesome.com/releases/v5.10.0/js/all.js"></script>
    <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='main.css') }}">
    <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='menu.css') }}">
    <style>
      @keyframes pulse-scale {
        0%,
        100% {
          transform: scale(1);
        }
        50% {
          transform: scale(1.1);
        }
      }
      .animate-pulse-scale {
        animation: pulse-scale 1s infinite;
      }

      /* Record Button Styles */
      .record-button {
        width: 50px;
        height: 50px;
        background-color: transparent;
        border-radius: 50%;
        border: 2px solid white;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
        transition: all 0.3s ease;
      }
      .record-icon {
        width: 35px;
        height: 35px;
        background-color: #d32f2f;
        border-radius: 50%;
        transition: all 0.3s ease;
      }
      .record-button.recording .record-icon {
        background-color: #f44336; /* 録音中は赤色 */
        border-radius: 4px; /* 録音時に赤い部分だけ四角にする */
      }
      .recording .record-icon {
        width: 20px;
        height: 20px;
        border-radius: 50%;
      }

      /* Title */
      .main-title {
        font-size: 2.5rem;
        font-weight: bold;
        margin-bottom: 1.5rem;
        color: #fff;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
      }

      /* Buttons */
      .action-button {
        margin-top: 1rem;
        padding: 0.75rem 1.5rem;
        border-radius: 0.5rem;
        cursor: pointer;
        transition: background-color 0.2s ease;
        width: 100%;
      }

      .action-button:hover {
        background-color: rgba(55, 65, 81, 0.7);
      }

      .back-button {
        background-color: #607d8b; /* 落ち着いたグレー */
        color: white;
      }

      .add-button {
        background-color: #4caf50; /* 落ち着いた緑色 */
        color: white;
      }

      /* Disabled State */
      .disabled {
        opacity: 0.5;
        pointer-events: none;
      }
    </style>
  </head>
  <body>
    <!-- Main Content Wrapper -->
    <div class="main-content relative">
      <!-- Title -->
      <div class="main-title">JustTalk</div>

      <!-- User List -->
      <div id="people-list" class="space-y-4"></div>

      <!-- Add Button -->
      <button id="add-btn" class="action-button add-button">
        <i class="fas fa-user-plus"></i> メンバーを追加
      </button>

      <!-- 録音画面へ移動ボタン(Back Buttonから変更) -->
      <button
        id="backButton"
        onclick="showUserSelect()"
        class="action-button back-button"
      >
        <i class="fas fa-users"></i> メンバー選択画面を表示
      </button>
    </div>

    <script src="{{ url_for('static', filename='register_record.js') }}"></script>
  </body>
</html>