Spaces:
Runtime error
Runtime error
| <html lang="ja" class="dark"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>会話フィードバック画面</title> | |
| <link | |
| rel="stylesheet" | |
| href="{{ url_for('static', filename='loading.css') }}" | |
| /> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script> | |
| tailwind.config = { | |
| darkMode: "class", | |
| }; | |
| </script> | |
| <script src="https://use.fontawesome.com/releases/v5.10.0/js/all.js"></script> | |
| <style> | |
| /* Main Container */ | |
| body { | |
| background: linear-gradient(135deg, #2c3e50, #1f2937); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| min-height: 100vh; | |
| font-family: "Arial", sans-serif; | |
| color: #fff; | |
| } | |
| /* Main Content Wrapper */ | |
| .main-content { | |
| border: 5px solid rgba(255, 255, 255, 0.2); | |
| padding: 2rem; | |
| border-radius: 1rem; | |
| width: 90%; | |
| max-width: 500px; | |
| background-color: rgba(0, 0, 0, 0.3); | |
| box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4); | |
| text-align: center; | |
| } | |
| /* 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); | |
| } | |
| /* Hamburger Menu Button */ | |
| #menuButton { | |
| background-color: rgba(255, 255, 255, 0.1); | |
| border: none; | |
| border-radius: 50%; | |
| padding: 0.5rem; | |
| cursor: pointer; | |
| transition: background-color 0.2s ease; | |
| } | |
| #menuButton:hover { | |
| background-color: rgba(255, 255, 255, 0.2); | |
| } | |
| /* Hamburger Menu Styles */ | |
| #menu { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| z-index: 10; | |
| transform: translateX(-100%); | |
| visibility: hidden; | |
| opacity: 0; | |
| background-color: rgb(31, 41, 55); | |
| transition: transform 0.3s ease-in-out, visibility 0s 0.3s, | |
| opacity 0.3s ease-in-out; | |
| backdrop-filter: blur(10px); | |
| border-right: 1px solid rgba(255, 255, 255, 0.2); | |
| } | |
| #menu.open { | |
| transform: translateX(0); | |
| visibility: visible; | |
| opacity: 1; | |
| transition: transform 0.3s ease-in-out, visibility 0s 0s, | |
| opacity 0.3s ease-in-out; | |
| } | |
| #menu button { | |
| transition: background-color 0.2s ease; | |
| background-color: rgba(0, 0, 0, 0.1); | |
| margin: 2px; | |
| border-radius: 5px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: flex-start; | |
| gap: 10px; | |
| padding: 0.75rem 1rem; | |
| width: 100%; | |
| text-align: left; | |
| border: none; | |
| color: #fff; | |
| font-size: 1rem; | |
| cursor: pointer; | |
| } | |
| #menu button:hover { | |
| background-color: rgba(55, 65, 81, 0.7); | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="loader" id="loader"> | |
| <div class="one"></div> | |
| <div class="two"></div> | |
| <div class="three"></div> | |
| <div class="four"></div> | |
| </div> | |
| <div class="main-content relative"> | |
| <!-- Title --> | |
| <div class="main-title">会話フィードバック</div> | |
| <!-- Hamburger Menu --> | |
| <div class="absolute top-4 left-4"> | |
| <button | |
| id="menuButton" | |
| class="text-white text-2xl focus:outline-none" | |
| onclick="toggleMenu(event)" | |
| > | |
| <i class="fas fa-bars"></i> | |
| </button> | |
| <!-- Menu Content --> | |
| <div | |
| id="menu" | |
| 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" | |
| > | |
| <div class="px-4 py-2 text-lg font-semibold">メニュー</div> | |
| <button onclick="showUserRegister()"> | |
| <i class="fas fa-user-plus"></i> メンバーを追加 | |
| </button> | |
| <button onclick="showRecorder()"> | |
| <i class="fas fa-microphone"></i> 録音画面を表示 | |
| </button> | |
| <button onclick="showResults()"> | |
| <i class="fas fa-chart-bar"></i> フィードバックを表示 | |
| </button> | |
| <button onclick="showTalkDetail()"> | |
| <i class="fas fa-comments"></i> 会話詳細を表示 | |
| </button> | |
| <button onclick="resetAction()"> | |
| <i class="fas fa-redo"></i> リセット | |
| </button> | |
| <button onclick="toggleMenu(event)"> | |
| <i class="fas fa-times"></i> 閉じる | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Feedback Details --> | |
| <div class="text-xl font-semibold mb-6" id="level">会話レベル:</div> | |
| <div class="text-lg mb-2" id="Harassment_bool">ハラスメントの有無:</div> | |
| <div class="text-lg mb-2" id="Harassment_type">ハラスメントの種類:</div> | |
| <div class="text-lg mb-2" id="Harassment_loop">繰り返しの程度:</div> | |
| <div class="text-lg mb-2" id="Harassment_comfort">会話の心地よさ:</div> | |
| <div class="text-lg mb-2" id="Harassment_volume"> | |
| 非難またはハラスメントの程度: | |
| </div> | |
| </div> | |
| <script src="{{ url_for('static', filename='menu.js') }}"></script> | |
| <script src="{{ url_for('static', filename='feedback.js') }}"></script> | |
| </body> | |
| </html> | |