Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update templates/userSelect.html
Browse files- templates/userSelect.html +354 -416
    	
        templates/userSelect.html
    CHANGED
    
    | @@ -1,416 +1,354 @@ | |
| 1 | 
            -
            <!DOCTYPE html>
         | 
| 2 | 
            -
            <html lang="ja">
         | 
| 3 | 
            -
            <head>
         | 
| 4 | 
            -
                <meta charset="UTF-8" | 
| 5 | 
            -
                <meta name="viewport" content="width=device-width, initial-scale=1.0" | 
| 6 | 
            -
                <title>メンバー選択 - JustTalk</title>
         | 
| 7 | 
            -
                <link rel="stylesheet"  | 
| 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 | 
            -
                     | 
| 123 | 
            -
             | 
| 124 | 
            -
             | 
| 125 | 
            -
             | 
| 126 | 
            -
             | 
| 127 | 
            -
             | 
| 128 | 
            -
             | 
| 129 | 
            -
                     | 
| 130 | 
            -
                    
         | 
| 131 | 
            -
                     | 
| 132 | 
            -
             | 
| 133 | 
            -
             | 
| 134 | 
            -
             | 
| 135 | 
            -
             | 
| 136 | 
            -
                     | 
| 137 | 
            -
                    
         | 
| 138 | 
            -
                     | 
| 139 | 
            -
             | 
| 140 | 
            -
             | 
| 141 | 
            -
             | 
| 142 | 
            -
             | 
| 143 | 
            -
             | 
| 144 | 
            -
             | 
| 145 | 
            -
             | 
| 146 | 
            -
             | 
| 147 | 
            -
             | 
| 148 | 
            -
             | 
| 149 | 
            -
             | 
| 150 | 
            -
             | 
| 151 | 
            -
             | 
| 152 | 
            -
             | 
| 153 | 
            -
             | 
| 154 | 
            -
             | 
| 155 | 
            -
             | 
| 156 | 
            -
             | 
| 157 | 
            -
                     | 
| 158 | 
            -
                    
         | 
| 159 | 
            -
                     | 
| 160 | 
            -
                     | 
| 161 | 
            -
             | 
| 162 | 
            -
             | 
| 163 | 
            -
             | 
| 164 | 
            -
             | 
| 165 | 
            -
             | 
| 166 | 
            -
             | 
| 167 | 
            -
             | 
| 168 | 
            -
             | 
| 169 | 
            -
             | 
| 170 | 
            -
                     | 
| 171 | 
            -
                    
         | 
| 172 | 
            -
             | 
| 173 | 
            -
             | 
| 174 | 
            -
             | 
| 175 | 
            -
             | 
| 176 | 
            -
             | 
| 177 | 
            -
             | 
| 178 | 
            -
             | 
| 179 | 
            -
             | 
| 180 | 
            -
             | 
| 181 | 
            -
             | 
| 182 | 
            -
             | 
| 183 | 
            -
             | 
| 184 | 
            -
             | 
| 185 | 
            -
             | 
| 186 | 
            -
             | 
| 187 | 
            -
             | 
| 188 | 
            -
             | 
| 189 | 
            -
             | 
| 190 | 
            -
             | 
| 191 | 
            -
             | 
| 192 | 
            -
             | 
| 193 | 
            -
             | 
| 194 | 
            -
             | 
| 195 | 
            -
                     | 
| 196 | 
            -
             | 
| 197 | 
            -
                     | 
| 198 | 
            -
             | 
| 199 | 
            -
             | 
| 200 | 
            -
             | 
| 201 | 
            -
             | 
| 202 | 
            -
             | 
| 203 | 
            -
             | 
| 204 | 
            -
             | 
| 205 | 
            -
             | 
| 206 | 
            -
             | 
| 207 | 
            -
             | 
| 208 | 
            -
             | 
| 209 | 
            -
             | 
| 210 | 
            -
             | 
| 211 | 
            -
             | 
| 212 | 
            -
             | 
| 213 | 
            -
             | 
| 214 | 
            -
                     | 
| 215 | 
            -
             | 
| 216 | 
            -
                     | 
| 217 | 
            -
             | 
| 218 | 
            -
                     | 
| 219 | 
            -
                    
         | 
| 220 | 
            -
                     | 
| 221 | 
            -
             | 
| 222 | 
            -
             | 
| 223 | 
            -
             | 
| 224 | 
            -
             | 
| 225 | 
            -
             | 
| 226 | 
            -
             | 
| 227 | 
            -
             | 
| 228 | 
            -
             | 
| 229 | 
            -
             | 
| 230 | 
            -
             | 
| 231 | 
            -
             | 
| 232 | 
            -
             | 
| 233 | 
            -
             | 
| 234 | 
            -
             | 
| 235 | 
            -
             | 
| 236 | 
            -
             | 
| 237 | 
            -
                     | 
| 238 | 
            -
             | 
| 239 | 
            -
             | 
| 240 | 
            -
             | 
| 241 | 
            -
             | 
| 242 | 
            -
                    
         | 
| 243 | 
            -
                     | 
| 244 | 
            -
             | 
| 245 | 
            -
             | 
| 246 | 
            -
             | 
| 247 | 
            -
             | 
| 248 | 
            -
             | 
| 249 | 
            -
                     | 
| 250 | 
            -
             | 
| 251 | 
            -
             | 
| 252 | 
            -
             | 
| 253 | 
            -
             | 
| 254 | 
            -
             | 
| 255 | 
            -
             | 
| 256 | 
            -
             | 
| 257 | 
            -
             | 
| 258 | 
            -
             | 
| 259 | 
            -
             | 
| 260 | 
            -
             | 
| 261 | 
            -
             | 
| 262 | 
            -
                     | 
| 263 | 
            -
             | 
| 264 | 
            -
             | 
| 265 | 
            -
             | 
| 266 | 
            -
             | 
| 267 | 
            -
             | 
| 268 | 
            -
             | 
| 269 | 
            -
             | 
| 270 | 
            -
             | 
| 271 | 
            -
             | 
| 272 | 
            -
             | 
| 273 | 
            -
             | 
| 274 | 
            -
             | 
| 275 | 
            -
             | 
| 276 | 
            -
             | 
| 277 | 
            -
             | 
| 278 | 
            -
             | 
| 279 | 
            -
             | 
| 280 | 
            -
             | 
| 281 | 
            -
             | 
| 282 | 
            -
                     | 
| 283 | 
            -
                    
         | 
| 284 | 
            -
             | 
| 285 | 
            -
             | 
| 286 | 
            -
                     | 
| 287 | 
            -
             | 
| 288 | 
            -
                     | 
| 289 | 
            -
                     | 
| 290 | 
            -
             | 
| 291 | 
            -
             | 
| 292 | 
            -
             | 
| 293 | 
            -
             | 
| 294 | 
            -
             | 
| 295 | 
            -
             | 
| 296 | 
            -
             | 
| 297 | 
            -
             | 
| 298 | 
            -
             | 
| 299 | 
            -
             | 
| 300 | 
            -
                     | 
| 301 | 
            -
             | 
| 302 | 
            -
             | 
| 303 | 
            -
             | 
| 304 | 
            -
             | 
| 305 | 
            -
             | 
| 306 | 
            -
             | 
| 307 | 
            -
             | 
| 308 | 
            -
             | 
| 309 | 
            -
             | 
| 310 | 
            -
             | 
| 311 | 
            -
                    
         | 
| 312 | 
            -
             | 
| 313 | 
            -
             | 
| 314 | 
            -
             | 
| 315 | 
            -
             | 
| 316 | 
            -
             | 
| 317 | 
            -
             | 
| 318 | 
            -
                     | 
| 319 | 
            -
             | 
| 320 | 
            -
             | 
| 321 | 
            -
             | 
| 322 | 
            -
             | 
| 323 | 
            -
             | 
| 324 | 
            -
             | 
| 325 | 
            -
             | 
| 326 | 
            -
             | 
| 327 | 
            -
                     | 
| 328 | 
            -
             | 
| 329 | 
            -
             | 
| 330 | 
            -
             | 
| 331 | 
            -
             | 
| 332 | 
            -
             | 
| 333 | 
            -
                    
         | 
| 334 | 
            -
             | 
| 335 | 
            -
             | 
| 336 | 
            -
             | 
| 337 | 
            -
             | 
| 338 | 
            -
             | 
| 339 | 
            -
             | 
| 340 | 
            -
                     | 
| 341 | 
            -
             | 
| 342 | 
            -
             | 
| 343 | 
            -
             | 
| 344 | 
            -
             | 
| 345 | 
            -
             | 
| 346 | 
            -
             | 
| 347 | 
            -
             | 
| 348 | 
            -
             | 
| 349 | 
            -
             | 
| 350 | 
            -
             | 
| 351 | 
            -
             | 
| 352 | 
            -
             | 
| 353 | 
            -
             | 
| 354 | 
            -
             | 
| 355 | 
            -
                    <div
         | 
| 356 | 
            -
                        id="menu"
         | 
| 357 | 
            -
                        class="absolute top-0 left-0 h-full w-64 bg-gray-800 text-white transform -translate-x-full transition-transform duration-300 ease-in-out opacity-0 visibility-hidden"
         | 
| 358 | 
            -
                    >
         | 
| 359 | 
            -
                        <div class="px-4 py-2 text-lg font-semibold">メニュー</div>
         | 
| 360 | 
            -
                        <button onclick="showUserRegister()">
         | 
| 361 | 
            -
                            <i class="fas fa-user-plus"></i> メンバーを追加
         | 
| 362 | 
            -
                        </button>
         | 
| 363 | 
            -
                        <button onclick="showIndex()">
         | 
| 364 | 
            -
                            <i class="fas fa-home"></i> ホーム画面
         | 
| 365 | 
            -
                        </button>
         | 
| 366 | 
            -
                        <button onclick="showResults()">
         | 
| 367 | 
            -
                            <i class="fas fa-chart-bar"></i> フィードバックを表示
         | 
| 368 | 
            -
                        </button>
         | 
| 369 | 
            -
                        <button onclick="showTalkDetail()">
         | 
| 370 | 
            -
                            <i class="fas fa-comments"></i> 会話詳細を表示
         | 
| 371 | 
            -
                        </button>
         | 
| 372 | 
            -
                        <button onclick="resetAction()">
         | 
| 373 | 
            -
                            <i class="fas fa-redo"></i> リセット
         | 
| 374 | 
            -
                        </button>
         | 
| 375 | 
            -
                        <button onclick="toggleMenu(event)">
         | 
| 376 | 
            -
                            <i class="fas fa-times"></i> 閉じる
         | 
| 377 | 
            -
                        </button>
         | 
| 378 | 
            -
                    </div>
         | 
| 379 | 
            -
                    
         | 
| 380 | 
            -
                    <h1>会話分析に使用するメンバーを選択</h1>
         | 
| 381 | 
            -
                    
         | 
| 382 | 
            -
                    <div class="select-controls">
         | 
| 383 | 
            -
                        <button class="select-button" onclick="selectAllUsers()">すべて選択</button>
         | 
| 384 | 
            -
                        <button class="select-button" onclick="deselectAllUsers()">選択解除</button>
         | 
| 385 | 
            -
                    </div>
         | 
| 386 | 
            -
                    
         | 
| 387 | 
            -
                    <div class="user-list" id="userList">
         | 
| 388 | 
            -
                        <div class="loading">
         | 
| 389 | 
            -
                            <div class="spinner"></div>
         | 
| 390 | 
            -
                            <p>メンバーリストを読み込み中...</p>
         | 
| 391 | 
            -
                        </div>
         | 
| 392 | 
            -
                    </div>
         | 
| 393 | 
            -
                    
         | 
| 394 | 
            -
                    <div class="selected-count" id="selectedCount">選択中: 0人</div>
         | 
| 395 | 
            -
                    
         | 
| 396 | 
            -
                    <div class="button-container">
         | 
| 397 | 
            -
                        <button class="secondary" onclick="location.href='/userregister'">新規登録</button>
         | 
| 398 | 
            -
                        <button id="proceedButton" onclick="proceedWithSelectedUsers()" disabled>選択して次へ</button>
         | 
| 399 | 
            -
                    </div>
         | 
| 400 | 
            -
                </div>
         | 
| 401 | 
            -
             | 
| 402 | 
            -
                <!-- 削除確認モーダル -->
         | 
| 403 | 
            -
                <div id="deleteModal" class="modal">
         | 
| 404 | 
            -
                    <div class="modal-content">
         | 
| 405 | 
            -
                        <div class="modal-title">メンバーの削除</div>
         | 
| 406 | 
            -
                        <div class="modal-text" id="deleteModalText">このメンバーを削除しますか?</div>
         | 
| 407 | 
            -
                        <div class="modal-buttons">
         | 
| 408 | 
            -
                            <button class="modal-cancel" onclick="hideDeleteModal()">キャンセル</button>
         | 
| 409 | 
            -
                            <button class="modal-delete" onclick="confirmDelete()">削除</button>
         | 
| 410 | 
            -
                        </div>
         | 
| 411 | 
            -
                    </div>
         | 
| 412 | 
            -
                </div>
         | 
| 413 | 
            -
                <script src="{{ url_for('static', filename='process1.js') }}"></script>
         | 
| 414 | 
            -
             | 
| 415 | 
            -
            </body>
         | 
| 416 | 
            -
            </html>
         | 
|  | |
| 1 | 
            +
            <!DOCTYPE html>
         | 
| 2 | 
            +
            <html lang="ja">
         | 
| 3 | 
            +
              <head>
         | 
| 4 | 
            +
                <meta charset="UTF-8" />
         | 
| 5 | 
            +
                <meta name="viewport" content="width=device-width, initial-scale=1.0" />
         | 
| 6 | 
            +
                <title>メンバー選択 - JustTalk</title>
         | 
| 7 | 
            +
                <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='main.css') }}">
         | 
| 8 | 
            +
                <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='menu.css') }}">
         | 
| 9 | 
            +
                <script src="https://use.fontawesome.com/releases/v5.10.0/js/all.js"></script>
         | 
| 10 | 
            +
                <style>
         | 
| 11 | 
            +
                  .container {
         | 
| 12 | 
            +
                    max-width: 500px;
         | 
| 13 | 
            +
                    margin: 0 auto;
         | 
| 14 | 
            +
                    padding: 30px;
         | 
| 15 | 
            +
                    border: 5px solid rgba(255, 255, 255, 0.2);
         | 
| 16 | 
            +
                    border-radius: 1rem;
         | 
| 17 | 
            +
                    background-color: rgba(0, 0, 0, 0.3);
         | 
| 18 | 
            +
                    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
         | 
| 19 | 
            +
                    width: 90%;
         | 
| 20 | 
            +
                    position: relative;
         | 
| 21 | 
            +
                  }
         | 
| 22 | 
            +
             | 
| 23 | 
            +
                  h1 {
         | 
| 24 | 
            +
                    color: white;
         | 
| 25 | 
            +
                    text-align: center;
         | 
| 26 | 
            +
                    margin-bottom: 30px;
         | 
| 27 | 
            +
                    font-size: 1.8rem;
         | 
| 28 | 
            +
                    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
         | 
| 29 | 
            +
                  }
         | 
| 30 | 
            +
             | 
| 31 | 
            +
                  .user-list {
         | 
| 32 | 
            +
                    background-color: rgba(255, 255, 255, 0.1);
         | 
| 33 | 
            +
                    border-radius: 10px;
         | 
| 34 | 
            +
                    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
         | 
| 35 | 
            +
                    padding: 15px;
         | 
| 36 | 
            +
                    margin-bottom: 25px;
         | 
| 37 | 
            +
                    max-height: 350px;
         | 
| 38 | 
            +
                    overflow-y: auto;
         | 
| 39 | 
            +
                  }
         | 
| 40 | 
            +
             | 
| 41 | 
            +
                  .user-item {
         | 
| 42 | 
            +
                    display: flex;
         | 
| 43 | 
            +
                    align-items: center;
         | 
| 44 | 
            +
                    padding: 12px 15px;
         | 
| 45 | 
            +
                    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
         | 
| 46 | 
            +
                    transition: background-color 0.2s;
         | 
| 47 | 
            +
                  }
         | 
| 48 | 
            +
             | 
| 49 | 
            +
                  .user-item:last-child {
         | 
| 50 | 
            +
                    border-bottom: none;
         | 
| 51 | 
            +
                  }
         | 
| 52 | 
            +
             | 
| 53 | 
            +
                  .user-item:hover {
         | 
| 54 | 
            +
                    background-color: rgba(255, 255, 255, 0.05);
         | 
| 55 | 
            +
                  }
         | 
| 56 | 
            +
             | 
| 57 | 
            +
                  .user-item label {
         | 
| 58 | 
            +
                    margin-left: 12px;
         | 
| 59 | 
            +
                    font-size: 16px;
         | 
| 60 | 
            +
                    cursor: pointer;
         | 
| 61 | 
            +
                    flex-grow: 1;
         | 
| 62 | 
            +
                    color: white;
         | 
| 63 | 
            +
                  }
         | 
| 64 | 
            +
             | 
| 65 | 
            +
                  input[type="checkbox"] {
         | 
| 66 | 
            +
                    cursor: pointer;
         | 
| 67 | 
            +
                    width: 18px;
         | 
| 68 | 
            +
                    height: 18px;
         | 
| 69 | 
            +
                    accent-color: #3498db;
         | 
| 70 | 
            +
                  }
         | 
| 71 | 
            +
             | 
| 72 | 
            +
                  .button-container {
         | 
| 73 | 
            +
                    display: flex;
         | 
| 74 | 
            +
                    justify-content: space-between;
         | 
| 75 | 
            +
                    margin-top: 25px;
         | 
| 76 | 
            +
                  }
         | 
| 77 | 
            +
             | 
| 78 | 
            +
                  button {
         | 
| 79 | 
            +
                    background-color: #3498db;
         | 
| 80 | 
            +
                    color: white;
         | 
| 81 | 
            +
                    border: none;
         | 
| 82 | 
            +
                    border-radius: 8px;
         | 
| 83 | 
            +
                    padding: 12px 20px;
         | 
| 84 | 
            +
                    font-size: 16px;
         | 
| 85 | 
            +
                    cursor: pointer;
         | 
| 86 | 
            +
                    transition: background-color 0.3s, transform 0.1s;
         | 
| 87 | 
            +
                    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
         | 
| 88 | 
            +
                  }
         | 
| 89 | 
            +
             | 
| 90 | 
            +
                  button:hover {
         | 
| 91 | 
            +
                    background-color: #2980b9;
         | 
| 92 | 
            +
                  }
         | 
| 93 | 
            +
             | 
| 94 | 
            +
                  button:active {
         | 
| 95 | 
            +
                    transform: translateY(1px);
         | 
| 96 | 
            +
                  }
         | 
| 97 | 
            +
             | 
| 98 | 
            +
                  button:disabled {
         | 
| 99 | 
            +
                    background-color: #95a5a6;
         | 
| 100 | 
            +
                    cursor: not-allowed;
         | 
| 101 | 
            +
                    opacity: 0.7;
         | 
| 102 | 
            +
                  }
         | 
| 103 | 
            +
             | 
| 104 | 
            +
                  button.secondary {
         | 
| 105 | 
            +
                    background-color: rgba(255, 255, 255, 0.2);
         | 
| 106 | 
            +
                  }
         | 
| 107 | 
            +
             | 
| 108 | 
            +
                  button.secondary:hover {
         | 
| 109 | 
            +
                    background-color: rgba(255, 255, 255, 0.3);
         | 
| 110 | 
            +
                  }
         | 
| 111 | 
            +
             | 
| 112 | 
            +
                  .selected-count {
         | 
| 113 | 
            +
                    margin: 15px 0;
         | 
| 114 | 
            +
                    text-align: center;
         | 
| 115 | 
            +
                    font-weight: bold;
         | 
| 116 | 
            +
                    color: #3498db;
         | 
| 117 | 
            +
                    font-size: 18px;
         | 
| 118 | 
            +
                    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
         | 
| 119 | 
            +
                  }
         | 
| 120 | 
            +
             | 
| 121 | 
            +
                  .no-users {
         | 
| 122 | 
            +
                    text-align: center;
         | 
| 123 | 
            +
                    padding: 30px;
         | 
| 124 | 
            +
                    color: rgba(255, 255, 255, 0.7);
         | 
| 125 | 
            +
                    font-style: italic;
         | 
| 126 | 
            +
                  }
         | 
| 127 | 
            +
             | 
| 128 | 
            +
                  .loading {
         | 
| 129 | 
            +
                    text-align: center;
         | 
| 130 | 
            +
                    padding: 30px;
         | 
| 131 | 
            +
                    color: white;
         | 
| 132 | 
            +
                  }
         | 
| 133 | 
            +
             | 
| 134 | 
            +
                  .spinner {
         | 
| 135 | 
            +
                    border: 4px solid rgba(255, 255, 255, 0.1);
         | 
| 136 | 
            +
                    width: 36px;
         | 
| 137 | 
            +
                    height: 36px;
         | 
| 138 | 
            +
                    border-radius: 50%;
         | 
| 139 | 
            +
                    border-left-color: #3498db;
         | 
| 140 | 
            +
                    animation: spin 1s linear infinite;
         | 
| 141 | 
            +
                    margin: 0 auto 15px;
         | 
| 142 | 
            +
                  }
         | 
| 143 | 
            +
             | 
| 144 | 
            +
                  @keyframes spin {
         | 
| 145 | 
            +
                    0% {
         | 
| 146 | 
            +
                      transform: rotate(0deg);
         | 
| 147 | 
            +
                    }
         | 
| 148 | 
            +
                    100% {
         | 
| 149 | 
            +
                      transform: rotate(360deg);
         | 
| 150 | 
            +
                    }
         | 
| 151 | 
            +
                  }
         | 
| 152 | 
            +
             | 
| 153 | 
            +
                  /* User Avatar */
         | 
| 154 | 
            +
                  .user-avatar {
         | 
| 155 | 
            +
                    width: 30px;
         | 
| 156 | 
            +
                    height: 30px;
         | 
| 157 | 
            +
                    background: rgba(255, 255, 255, 0.2);
         | 
| 158 | 
            +
                    border-radius: 50%;
         | 
| 159 | 
            +
                    display: flex;
         | 
| 160 | 
            +
                    align-items: center;
         | 
| 161 | 
            +
                    justify-content: center;
         | 
| 162 | 
            +
                    font-size: 14px;
         | 
| 163 | 
            +
                    margin-left: 10px;
         | 
| 164 | 
            +
                  }
         | 
| 165 | 
            +
             | 
| 166 | 
            +
                  /* Select All Button */
         | 
| 167 | 
            +
                  .select-controls {
         | 
| 168 | 
            +
                    display: flex;
         | 
| 169 | 
            +
                    justify-content: center;
         | 
| 170 | 
            +
                    margin-bottom: 15px;
         | 
| 171 | 
            +
                    gap: 10px;
         | 
| 172 | 
            +
                  }
         | 
| 173 | 
            +
             | 
| 174 | 
            +
                  .select-button {
         | 
| 175 | 
            +
                    background-color: rgba(255, 255, 255, 0.15);
         | 
| 176 | 
            +
                    color: white;
         | 
| 177 | 
            +
                    border: none;
         | 
| 178 | 
            +
                    border-radius: 5px;
         | 
| 179 | 
            +
                    padding: 8px 15px;
         | 
| 180 | 
            +
                    font-size: 14px;
         | 
| 181 | 
            +
                    cursor: pointer;
         | 
| 182 | 
            +
                    transition: background-color 0.2s;
         | 
| 183 | 
            +
                  }
         | 
| 184 | 
            +
             | 
| 185 | 
            +
                  .select-button:hover {
         | 
| 186 | 
            +
                    background-color: rgba(255, 255, 255, 0.25);
         | 
| 187 | 
            +
                  }
         | 
| 188 | 
            +
             | 
| 189 | 
            +
                  /* Delete Button */
         | 
| 190 | 
            +
                  .delete-button {
         | 
| 191 | 
            +
                    background-color: transparent;
         | 
| 192 | 
            +
                    color: #e74c3c;
         | 
| 193 | 
            +
                    border: none;
         | 
| 194 | 
            +
                    border-radius: 50%;
         | 
| 195 | 
            +
                    width: 30px;
         | 
| 196 | 
            +
                    height: 30px;
         | 
| 197 | 
            +
                    display: flex;
         | 
| 198 | 
            +
                    align-items: center;
         | 
| 199 | 
            +
                    justify-content: center;
         | 
| 200 | 
            +
                    cursor: pointer;
         | 
| 201 | 
            +
                    transition: background-color 0.2s;
         | 
| 202 | 
            +
                    padding: 0;
         | 
| 203 | 
            +
                    margin-left: 5px;
         | 
| 204 | 
            +
                    box-shadow: none;
         | 
| 205 | 
            +
                  }
         | 
| 206 | 
            +
             | 
| 207 | 
            +
                  .delete-button:hover {
         | 
| 208 | 
            +
                    background-color: rgba(231, 76, 60, 0.2);
         | 
| 209 | 
            +
                  }
         | 
| 210 | 
            +
             | 
| 211 | 
            +
                  /* Modal Dialog */
         | 
| 212 | 
            +
                  .modal {
         | 
| 213 | 
            +
                    display: none;
         | 
| 214 | 
            +
                    position: fixed;
         | 
| 215 | 
            +
                    z-index: 100;
         | 
| 216 | 
            +
                    left: 0;
         | 
| 217 | 
            +
                    top: 0;
         | 
| 218 | 
            +
                    width: 100%;
         | 
| 219 | 
            +
                    height: 100%;
         | 
| 220 | 
            +
                    background-color: rgba(0, 0, 0, 0.5);
         | 
| 221 | 
            +
                    align-items: center;
         | 
| 222 | 
            +
                    justify-content: center;
         | 
| 223 | 
            +
                  }
         | 
| 224 | 
            +
             | 
| 225 | 
            +
                  .modal-content {
         | 
| 226 | 
            +
                    background-color: rgb(31, 41, 55);
         | 
| 227 | 
            +
                    border-radius: 10px;
         | 
| 228 | 
            +
                    padding: 20px;
         | 
| 229 | 
            +
                    width: 90%;
         | 
| 230 | 
            +
                    max-width: 400px;
         | 
| 231 | 
            +
                    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
         | 
| 232 | 
            +
                    border: 1px solid rgba(255, 255, 255, 0.1);
         | 
| 233 | 
            +
                  }
         | 
| 234 | 
            +
             | 
| 235 | 
            +
                  .modal-title {
         | 
| 236 | 
            +
                    font-size: 18px;
         | 
| 237 | 
            +
                    margin-bottom: 15px;
         | 
| 238 | 
            +
                    color: white;
         | 
| 239 | 
            +
                  }
         | 
| 240 | 
            +
             | 
| 241 | 
            +
                  .modal-text {
         | 
| 242 | 
            +
                    margin-bottom: 20px;
         | 
| 243 | 
            +
                    color: rgba(255, 255, 255, 0.9);
         | 
| 244 | 
            +
                  }
         | 
| 245 | 
            +
             | 
| 246 | 
            +
                  .modal-buttons {
         | 
| 247 | 
            +
                    display: flex;
         | 
| 248 | 
            +
                    justify-content: flex-end;
         | 
| 249 | 
            +
                    gap: 10px;
         | 
| 250 | 
            +
                  }
         | 
| 251 | 
            +
             | 
| 252 | 
            +
                  .modal-cancel {
         | 
| 253 | 
            +
                    background-color: rgba(255, 255, 255, 0.2);
         | 
| 254 | 
            +
                    color: white;
         | 
| 255 | 
            +
                  }
         | 
| 256 | 
            +
             | 
| 257 | 
            +
                  .modal-delete {
         | 
| 258 | 
            +
                    background-color: #e74c3c;
         | 
| 259 | 
            +
                  }
         | 
| 260 | 
            +
             | 
| 261 | 
            +
                  .modal-delete:hover {
         | 
| 262 | 
            +
                    background-color: #c0392b;
         | 
| 263 | 
            +
                  }
         | 
| 264 | 
            +
                </style>
         | 
| 265 | 
            +
              </head>
         | 
| 266 | 
            +
              <body onclick="closeMenu(event)">
         | 
| 267 | 
            +
                <div class="container">
         | 
| 268 | 
            +
                  <!-- Hamburger Menu Button -->
         | 
| 269 | 
            +
                  <button
         | 
| 270 | 
            +
                    id="menuButton"
         | 
| 271 | 
            +
                    class="text-white focus:outline-none"
         | 
| 272 | 
            +
                    onclick="toggleMenu(event)"
         | 
| 273 | 
            +
                  >
         | 
| 274 | 
            +
                    <i class="fas fa-bars"></i>
         | 
| 275 | 
            +
                  </button>
         | 
| 276 | 
            +
             | 
| 277 | 
            +
                  <!-- Menu Content -->
         | 
| 278 | 
            +
                  <div
         | 
| 279 | 
            +
                    id="menu"
         | 
| 280 | 
            +
                    class="absolute top-0 left-0 h-full w-64 bg-gray-800 text-white transform -translate-x-full transition-transform duration-300 ease-in-out opacity-0 visibility-hidden"
         | 
| 281 | 
            +
                  >
         | 
| 282 | 
            +
                    <div class="px-4 py-2 text-lg font-semibold">メニュー</div>
         | 
| 283 | 
            +
                    <button onclick="showUserRegister()">
         | 
| 284 | 
            +
                      <i class="fas fa-user-plus"></i> メンバーを追加
         | 
| 285 | 
            +
                    </button>
         | 
| 286 | 
            +
                    <button onclick="showIndex()">
         | 
| 287 | 
            +
                      <i class="fas fa-home"></i> ホーム画面
         | 
| 288 | 
            +
                    </button>
         | 
| 289 | 
            +
                    <button onclick="showResults()">
         | 
| 290 | 
            +
                      <i class="fas fa-chart-bar"></i> フィードバックを表示
         | 
| 291 | 
            +
                    </button>
         | 
| 292 | 
            +
                    <button onclick="showTalkDetail()">
         | 
| 293 | 
            +
                      <i class="fas fa-comments"></i> 会話詳細を表示
         | 
| 294 | 
            +
                    </button>
         | 
| 295 | 
            +
                    <button onclick="resetAction()">
         | 
| 296 | 
            +
                      <i class="fas fa-redo"></i> リセット
         | 
| 297 | 
            +
                    </button>
         | 
| 298 | 
            +
                    <button onclick="toggleMenu(event)">
         | 
| 299 | 
            +
                      <i class="fas fa-times"></i> 閉じる
         | 
| 300 | 
            +
                    </button>
         | 
| 301 | 
            +
                  </div>
         | 
| 302 | 
            +
             | 
| 303 | 
            +
                  <h1>会話分析に使用するメンバーを選択</h1>
         | 
| 304 | 
            +
             | 
| 305 | 
            +
                  <div class="select-controls">
         | 
| 306 | 
            +
                    <button class="select-button" onclick="selectAllUsers()">
         | 
| 307 | 
            +
                      すべて選択
         | 
| 308 | 
            +
                    </button>
         | 
| 309 | 
            +
                    <button class="select-button" onclick="deselectAllUsers()">
         | 
| 310 | 
            +
                      選択解除
         | 
| 311 | 
            +
                    </button>
         | 
| 312 | 
            +
                  </div>
         | 
| 313 | 
            +
             | 
| 314 | 
            +
                  <div class="user-list" id="userList">
         | 
| 315 | 
            +
                    <div class="loading">
         | 
| 316 | 
            +
                      <div class="spinner"></div>
         | 
| 317 | 
            +
                      <p>メンバーリストを読み込み中...</p>
         | 
| 318 | 
            +
                    </div>
         | 
| 319 | 
            +
                  </div>
         | 
| 320 | 
            +
             | 
| 321 | 
            +
                  <div class="selected-count" id="selectedCount">選択中: 0人</div>
         | 
| 322 | 
            +
             | 
| 323 | 
            +
                  <div class="button-container">
         | 
| 324 | 
            +
                    <button class="secondary" onclick="location.href='/userregister'">
         | 
| 325 | 
            +
                      新規登録
         | 
| 326 | 
            +
                    </button>
         | 
| 327 | 
            +
                    <button
         | 
| 328 | 
            +
                      id="proceedButton"
         | 
| 329 | 
            +
                      onclick="proceedWithSelectedUsers()"
         | 
| 330 | 
            +
                      disabled
         | 
| 331 | 
            +
                    >
         | 
| 332 | 
            +
                      選択して次へ
         | 
| 333 | 
            +
                    </button>
         | 
| 334 | 
            +
                  </div>
         | 
| 335 | 
            +
                </div>
         | 
| 336 | 
            +
             | 
| 337 | 
            +
                <!-- 削除確認モーダル -->
         | 
| 338 | 
            +
                <div id="deleteModal" class="modal">
         | 
| 339 | 
            +
                  <div class="modal-content">
         | 
| 340 | 
            +
                    <div class="modal-title">メンバーの削除</div>
         | 
| 341 | 
            +
                    <div class="modal-text" id="deleteModalText">
         | 
| 342 | 
            +
                      このメンバーを削除しますか?
         | 
| 343 | 
            +
                    </div>
         | 
| 344 | 
            +
                    <div class="modal-buttons">
         | 
| 345 | 
            +
                      <button class="modal-cancel" onclick="hideDeleteModal()">
         | 
| 346 | 
            +
                        キャンセル
         | 
| 347 | 
            +
                      </button>
         | 
| 348 | 
            +
                      <button class="modal-delete" onclick="confirmDelete()">削除</button>
         | 
| 349 | 
            +
                    </div>
         | 
| 350 | 
            +
                  </div>
         | 
| 351 | 
            +
                </div>
         | 
| 352 | 
            +
                <script src="{{ url_for('static', filename='process1.js') }}"></script>
         | 
| 353 | 
            +
              </body>
         | 
| 354 | 
            +
            </html>
         | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  |