Spaces:
Running
Running
add_guruguru
Browse files- templates/feedback.html +174 -170
templates/feedback.html
CHANGED
@@ -1,170 +1,174 @@
|
|
1 |
-
<!DOCTYPE html>
|
2 |
-
<html lang="ja" class="dark">
|
3 |
-
<head>
|
4 |
-
<meta charset="UTF-8" />
|
5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
6 |
-
<title>会話フィードバック画面</title>
|
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 |
-
background-color
|
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 |
-
<div class="
|
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 |
-
<div class="text-
|
162 |
-
<div class="text-lg mb-2" id="
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="ja" class="dark">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8" />
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
6 |
+
<title>会話フィードバック画面</title>
|
7 |
+
<link
|
8 |
+
rel="stylesheet"
|
9 |
+
href="{{ url_for('static', filename='loading.css') }}"
|
10 |
+
/>
|
11 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
12 |
+
<script>
|
13 |
+
tailwind.config = {
|
14 |
+
darkMode: "class",
|
15 |
+
};
|
16 |
+
</script>
|
17 |
+
<script src="https://use.fontawesome.com/releases/v5.10.0/js/all.js"></script>
|
18 |
+
<style>
|
19 |
+
/* Main Container */
|
20 |
+
body {
|
21 |
+
background: linear-gradient(135deg, #2c3e50, #1f2937);
|
22 |
+
display: flex;
|
23 |
+
align-items: center;
|
24 |
+
justify-content: center;
|
25 |
+
min-height: 100vh;
|
26 |
+
font-family: "Arial", sans-serif;
|
27 |
+
color: #fff;
|
28 |
+
}
|
29 |
+
|
30 |
+
/* Main Content Wrapper */
|
31 |
+
.main-content {
|
32 |
+
border: 5px solid rgba(255, 255, 255, 0.2);
|
33 |
+
padding: 2rem;
|
34 |
+
border-radius: 1rem;
|
35 |
+
width: 90%;
|
36 |
+
max-width: 500px;
|
37 |
+
background-color: rgba(0, 0, 0, 0.3);
|
38 |
+
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
|
39 |
+
text-align: center;
|
40 |
+
}
|
41 |
+
|
42 |
+
/* Title */
|
43 |
+
.main-title {
|
44 |
+
font-size: 2.5rem;
|
45 |
+
font-weight: bold;
|
46 |
+
margin-bottom: 1.5rem;
|
47 |
+
color: #fff;
|
48 |
+
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
|
49 |
+
}
|
50 |
+
|
51 |
+
/* Hamburger Menu Button */
|
52 |
+
#menuButton {
|
53 |
+
background-color: rgba(255, 255, 255, 0.1);
|
54 |
+
border: none;
|
55 |
+
border-radius: 50%;
|
56 |
+
padding: 0.5rem;
|
57 |
+
cursor: pointer;
|
58 |
+
transition: background-color 0.2s ease;
|
59 |
+
}
|
60 |
+
|
61 |
+
#menuButton:hover {
|
62 |
+
background-color: rgba(255, 255, 255, 0.2);
|
63 |
+
}
|
64 |
+
|
65 |
+
/* Hamburger Menu Styles */
|
66 |
+
#menu {
|
67 |
+
position: absolute;
|
68 |
+
top: 0;
|
69 |
+
left: 0;
|
70 |
+
z-index: 10;
|
71 |
+
transform: translateX(-100%);
|
72 |
+
visibility: hidden;
|
73 |
+
opacity: 0;
|
74 |
+
background-color: rgb(31, 41, 55);
|
75 |
+
transition: transform 0.3s ease-in-out, visibility 0s 0.3s,
|
76 |
+
opacity 0.3s ease-in-out;
|
77 |
+
backdrop-filter: blur(10px);
|
78 |
+
border-right: 1px solid rgba(255, 255, 255, 0.2);
|
79 |
+
}
|
80 |
+
|
81 |
+
#menu.open {
|
82 |
+
transform: translateX(0);
|
83 |
+
visibility: visible;
|
84 |
+
opacity: 1;
|
85 |
+
transition: transform 0.3s ease-in-out, visibility 0s 0s,
|
86 |
+
opacity 0.3s ease-in-out;
|
87 |
+
}
|
88 |
+
|
89 |
+
#menu button {
|
90 |
+
transition: background-color 0.2s ease;
|
91 |
+
background-color: rgba(0, 0, 0, 0.1);
|
92 |
+
margin: 2px;
|
93 |
+
border-radius: 5px;
|
94 |
+
display: flex;
|
95 |
+
align-items: center;
|
96 |
+
justify-content: flex-start;
|
97 |
+
gap: 10px;
|
98 |
+
padding: 0.75rem 1rem;
|
99 |
+
width: 100%;
|
100 |
+
text-align: left;
|
101 |
+
border: none;
|
102 |
+
color: #fff;
|
103 |
+
font-size: 1rem;
|
104 |
+
cursor: pointer;
|
105 |
+
}
|
106 |
+
|
107 |
+
#menu button:hover {
|
108 |
+
background-color: rgba(55, 65, 81, 0.7);
|
109 |
+
}
|
110 |
+
</style>
|
111 |
+
</head>
|
112 |
+
<body>
|
113 |
+
<div class="loader" id="loader">
|
114 |
+
<div class="one"></div>
|
115 |
+
<div class="two"></div>
|
116 |
+
<div class="three"></div>
|
117 |
+
<div class="four"></div>
|
118 |
+
</div>
|
119 |
+
<div class="main-content relative">
|
120 |
+
<!-- Title -->
|
121 |
+
<div class="main-title">会話フィードバック</div>
|
122 |
+
|
123 |
+
<!-- Hamburger Menu -->
|
124 |
+
<div class="absolute top-4 left-4">
|
125 |
+
<button
|
126 |
+
id="menuButton"
|
127 |
+
class="text-white text-2xl focus:outline-none"
|
128 |
+
onclick="toggleMenu(event)"
|
129 |
+
>
|
130 |
+
<i class="fas fa-bars"></i>
|
131 |
+
</button>
|
132 |
+
|
133 |
+
<!-- Menu Content -->
|
134 |
+
<div
|
135 |
+
id="menu"
|
136 |
+
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"
|
137 |
+
>
|
138 |
+
<div class="px-4 py-2 text-lg font-semibold">メニュー</div>
|
139 |
+
<button onclick="showUserRegister()">
|
140 |
+
<i class="fas fa-user-plus"></i> メンバーを追加
|
141 |
+
</button>
|
142 |
+
<button onclick="showRecorder()">
|
143 |
+
<i class="fas fa-microphone"></i> 録音画面を表示
|
144 |
+
</button>
|
145 |
+
<button onclick="showResults()">
|
146 |
+
<i class="fas fa-chart-bar"></i> フィードバックを表示
|
147 |
+
</button>
|
148 |
+
<button onclick="showTalkDetail()">
|
149 |
+
<i class="fas fa-comments"></i> 会話詳細を表���
|
150 |
+
</button>
|
151 |
+
<button onclick="resetAction()">
|
152 |
+
<i class="fas fa-redo"></i> リセット
|
153 |
+
</button>
|
154 |
+
<button onclick="toggleMenu(event)">
|
155 |
+
<i class="fas fa-times"></i> 閉じる
|
156 |
+
</button>
|
157 |
+
</div>
|
158 |
+
</div>
|
159 |
+
|
160 |
+
<!-- Feedback Details -->
|
161 |
+
<div class="text-xl font-semibold mb-6" id="level">会話レベル:</div>
|
162 |
+
<div class="text-lg mb-2" id="Harassment_bool">ハラスメントの有無:</div>
|
163 |
+
<div class="text-lg mb-2" id="Harassment_type">ハラスメントの種類:</div>
|
164 |
+
<div class="text-lg mb-2" id="Harassment_loop">繰り返しの程度:</div>
|
165 |
+
<div class="text-lg mb-2" id="Harassment_comfort">会話の心地よさ:</div>
|
166 |
+
<div class="text-lg mb-2" id="Harassment_volume">
|
167 |
+
非難またはハラスメントの程度:
|
168 |
+
</div>
|
169 |
+
</div>
|
170 |
+
|
171 |
+
<script src="{{ url_for('static', filename='menu.js') }}"></script>
|
172 |
+
<script src="{{ url_for('static', filename='feedback.js') }}"></script>
|
173 |
+
</body>
|
174 |
+
</html>
|