Spaces:
Runtime error
Runtime error
Update templates/reset.html
Browse files- templates/reset.html +29 -109
templates/reset.html
CHANGED
|
@@ -6,88 +6,8 @@
|
|
| 6 |
<title>リセット画面</title>
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
<script src="https://use.fontawesome.com/releases/v5.10.0/js/all.js"></script>
|
| 9 |
-
<
|
| 10 |
-
|
| 11 |
-
body {
|
| 12 |
-
background: linear-gradient(135deg, #2c3e50, #1f2937);
|
| 13 |
-
display: flex;
|
| 14 |
-
align-items: center;
|
| 15 |
-
justify-content: center;
|
| 16 |
-
min-height: 100vh;
|
| 17 |
-
font-family: "Arial", sans-serif;
|
| 18 |
-
color: #fff;
|
| 19 |
-
}
|
| 20 |
-
|
| 21 |
-
.main-content {
|
| 22 |
-
border: 5px solid rgba(255, 255, 255, 0.2);
|
| 23 |
-
border-radius: 1rem;
|
| 24 |
-
margin: 1rem auto; /* 中央揃え */
|
| 25 |
-
width: 90%;
|
| 26 |
-
max-width: 500px;
|
| 27 |
-
/*width: 100%; */ /* 枠線全体を広げる */
|
| 28 |
-
/*max-width: 90%;*/ /* 最大幅を画面の90%に設定 */
|
| 29 |
-
}
|
| 30 |
-
|
| 31 |
-
/* Hamburger Menu Button */
|
| 32 |
-
#menuButton {
|
| 33 |
-
background-color: rgba(255, 255, 255, 0.1);
|
| 34 |
-
border: none;
|
| 35 |
-
border-radius: 50%;
|
| 36 |
-
padding: 0.5rem;
|
| 37 |
-
cursor: pointer;
|
| 38 |
-
transition: background-color 0.2s ease;
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
#menuButton:hover {
|
| 42 |
-
background-color: rgba(255, 255, 255, 0.2);
|
| 43 |
-
}
|
| 44 |
-
|
| 45 |
-
/* Hamburger Menu Styles */
|
| 46 |
-
#menu {
|
| 47 |
-
position: absolute;
|
| 48 |
-
top: 0;
|
| 49 |
-
left: 0;
|
| 50 |
-
z-index: 10;
|
| 51 |
-
transform: translateX(-100%);
|
| 52 |
-
visibility: hidden;
|
| 53 |
-
opacity: 0;
|
| 54 |
-
background-color: rgb(31, 41, 55);
|
| 55 |
-
transition: transform 0.3s ease-in-out, visibility 0s 0.3s,
|
| 56 |
-
opacity 0.3s ease-in-out;
|
| 57 |
-
backdrop-filter: blur(10px);
|
| 58 |
-
border-right: 1px solid rgba(255, 255, 255, 0.2);
|
| 59 |
-
}
|
| 60 |
-
|
| 61 |
-
#menu.open {
|
| 62 |
-
transform: translateX(0);
|
| 63 |
-
visibility: visible;
|
| 64 |
-
opacity: 1;
|
| 65 |
-
transition: transform 0.3s ease-in-out, visibility 0s 0s,
|
| 66 |
-
opacity 0.3s ease-in-out;
|
| 67 |
-
}
|
| 68 |
-
|
| 69 |
-
#menu button {
|
| 70 |
-
transition: background-color 0.2s ease;
|
| 71 |
-
background-color: rgba(0, 0, 0, 0.1);
|
| 72 |
-
margin: 2px;
|
| 73 |
-
border-radius: 5px;
|
| 74 |
-
display: flex;
|
| 75 |
-
align-items: center;
|
| 76 |
-
justify-content: flex-start;
|
| 77 |
-
gap: 10px;
|
| 78 |
-
padding: 0.75rem 1rem;
|
| 79 |
-
width: 100%;
|
| 80 |
-
text-align: left;
|
| 81 |
-
border: none;
|
| 82 |
-
color: #fff;
|
| 83 |
-
font-size: 1rem;
|
| 84 |
-
cursor: pointer;
|
| 85 |
-
}
|
| 86 |
-
|
| 87 |
-
#menu button:hover {
|
| 88 |
-
background-color: rgba(55, 65, 81, 0.7);
|
| 89 |
-
}
|
| 90 |
-
</style>
|
| 91 |
</head>
|
| 92 |
<body>
|
| 93 |
<div class="main-content relative">
|
|
@@ -107,34 +27,34 @@
|
|
| 107 |
</button>
|
| 108 |
|
| 109 |
<!-- Menu Content -->
|
| 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 |
</div>
|
| 137 |
-
</div>
|
| 138 |
<!-- Hamburger Menu End -->
|
| 139 |
|
| 140 |
<input type="button" id="select-all" value="全選択" />
|
|
|
|
| 6 |
<title>リセット画面</title>
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
<script src="https://use.fontawesome.com/releases/v5.10.0/js/all.js"></script>
|
| 9 |
+
<link rel="stylesheet" type="text/css" href="menu.css" />
|
| 10 |
+
<link rel="stylesheet" type="text/css" href="main.css" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
</head>
|
| 12 |
<body>
|
| 13 |
<div class="main-content relative">
|
|
|
|
| 27 |
</button>
|
| 28 |
|
| 29 |
<!-- Menu Content -->
|
| 30 |
+
<div
|
| 31 |
+
id="menu"
|
| 32 |
+
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"
|
| 33 |
+
>
|
| 34 |
+
<div class="px-4 py-2 text-lg font-semibold">メニュー</div>
|
| 35 |
+
<button onclick="showUserRegister()">
|
| 36 |
+
<i class="fas fa-user-plus"></i> メンバーを追加
|
| 37 |
+
</button>
|
| 38 |
+
<button onclick="showUserSelect()">
|
| 39 |
+
<i class="fas fa-users"></i> メンバーを選択
|
| 40 |
+
</button>
|
| 41 |
+
<button onclick="showRecorder()">
|
| 42 |
+
<i class="fas fa-microphone"></i> 録音画面を表示
|
| 43 |
+
</button>
|
| 44 |
+
<button onclick="showResults()">
|
| 45 |
+
<i class="fas fa-chart-bar"></i> フィードバックを表示
|
| 46 |
+
</button>
|
| 47 |
+
<button onclick="showTalkDetail()">
|
| 48 |
+
<i class="fas fa-comments"></i> 会話詳細を表示
|
| 49 |
+
</button>
|
| 50 |
+
<button onclick="resetAction()">
|
| 51 |
+
<i class="fas fa-redo"></i> リセット
|
| 52 |
+
</button>
|
| 53 |
+
<button onclick="toggleMenu(event)">
|
| 54 |
+
<i class="fas fa-times"></i> 閉じる
|
| 55 |
+
</button>
|
| 56 |
+
</div>
|
| 57 |
</div>
|
|
|
|
| 58 |
<!-- Hamburger Menu End -->
|
| 59 |
|
| 60 |
<input type="button" id="select-all" value="全選択" />
|