JusTalk_compleate / templates /userRegister.html
mizzzuno's picture
Update templates/userRegister.html
ddf56da verified
<!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>