Spaces:
Running
Running
feedback updated..
Browse files- frontend/vehicles.html +60 -38
frontend/vehicles.html
CHANGED
|
@@ -1143,8 +1143,8 @@
|
|
| 1143 |
|
| 1144 |
<!-- TAB: Feedback -->
|
| 1145 |
<div id="tab-feedback" class="hidden flex-1 min-h-0 overflow-y-auto" style="padding:24px">
|
| 1146 |
-
<div class="w-
|
| 1147 |
-
<div class="bg-black border border-slate-800 rounded-2xl p-10 shadow-2xl space-y-10
|
| 1148 |
<div class="text-center space-y-3">
|
| 1149 |
<h2 class="text-2xl font-bold tracking-tight" style="color:#f0ece6">Share Your Feedback</h2>
|
| 1150 |
<p class="text-xs" style="color:#777">We are actively refining UrbanFlow. Your technical insights directly drive our roadmap.</p>
|
|
@@ -1155,8 +1155,9 @@
|
|
| 1155 |
</div>
|
| 1156 |
|
| 1157 |
<div class="grid grid-cols-1 lg:grid-cols-2 gap-10">
|
| 1158 |
-
<
|
| 1159 |
-
|
|
|
|
| 1160 |
<div>
|
| 1161 |
<label class="text-[10px] font-bold uppercase tracking-widest block mb-3" style="color:#a89f97">Overall Experience</label>
|
| 1162 |
<div class="fb-stars" id="fb-stars">
|
|
@@ -1167,6 +1168,7 @@
|
|
| 1167 |
<span class="fb-star" data-v="5" onclick="setRating(5)">★</span>
|
| 1168 |
</div>
|
| 1169 |
</div>
|
|
|
|
| 1170 |
<div>
|
| 1171 |
<label class="text-[10px] font-bold uppercase tracking-widest block mb-3" style="color:#a89f97">Recommend Product</label>
|
| 1172 |
<div class="flex gap-2" id="fb-recommend">
|
|
@@ -1176,38 +1178,71 @@
|
|
| 1176 |
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-recommend', 'Highly')"><i class="fa-solid fa-face-grin-stars text-xl"></i><span class="block mt-1 text-[8px] uppercase">Highly</span></div>
|
| 1177 |
</div>
|
| 1178 |
</div>
|
| 1179 |
-
</div>
|
| 1180 |
|
| 1181 |
-
<div class="grid grid-cols-1 sm:grid-cols-3 gap-6">
|
| 1182 |
<div>
|
| 1183 |
-
<label class="text-[10px] font-bold uppercase tracking-widest block mb-3" style="color:#a89f97">Security
|
|
|
|
|
|
|
| 1184 |
<div class="flex gap-2" id="fb-security">
|
| 1185 |
-
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-security', 'Poor')"><i class="fa-solid fa-face-frown text-lg"></i></div>
|
| 1186 |
-
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-security', 'Fair')"><i class="fa-solid fa-face-meh text-lg"></i></div>
|
| 1187 |
-
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-security', 'Good')"><i class="fa-solid fa-face-smile text-lg"></i></div>
|
| 1188 |
-
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-security', 'Great')"><i class="fa-solid fa-face-grin-stars text-lg"></i></div>
|
| 1189 |
</div>
|
| 1190 |
</div>
|
|
|
|
| 1191 |
<div>
|
| 1192 |
-
<label class="text-[10px] font-bold uppercase tracking-widest block mb-3" style="color:#a89f97">Integrations
|
|
|
|
|
|
|
| 1193 |
<div class="flex gap-2" id="fb-integration">
|
| 1194 |
-
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-integration', 'Poor')"><i class="fa-solid fa-face-frown text-lg"></i></div>
|
| 1195 |
-
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-integration', 'Fair')"><i class="fa-solid fa-face-meh text-lg"></i></div>
|
| 1196 |
-
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-integration', 'Good')"><i class="fa-solid fa-face-smile text-lg"></i></div>
|
| 1197 |
-
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-integration', 'Great')"><i class="fa-solid fa-face-grin-stars text-lg"></i></div>
|
| 1198 |
</div>
|
| 1199 |
</div>
|
|
|
|
| 1200 |
<div>
|
| 1201 |
-
<label class="text-[10px] font-bold uppercase tracking-widest block mb-3" style="color:#a89f97">Ease of Use
|
|
|
|
|
|
|
| 1202 |
<div class="flex gap-2" id="fb-ease">
|
| 1203 |
-
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-ease', 'Poor')"><i class="fa-solid fa-face-frown text-lg"></i></div>
|
| 1204 |
-
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-ease', 'Fair')"><i class="fa-solid fa-face-meh text-lg"></i></div>
|
| 1205 |
-
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-ease', 'Good')"><i class="fa-solid fa-face-smile text-lg"></i></div>
|
| 1206 |
-
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-ease', 'Great')"><i class="fa-solid fa-face-grin-stars text-lg"></i></div>
|
| 1207 |
</div>
|
| 1208 |
</div>
|
| 1209 |
</div>
|
| 1210 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1211 |
<div>
|
| 1212 |
<label class="text-[10px] font-bold uppercase tracking-widest block mb-4" style="color:#a89f97">Feature Prioritization (Select all that apply)</label>
|
| 1213 |
<div class="grid grid-cols-2 gap-3" id="fb-priorities">
|
|
@@ -1219,26 +1254,13 @@
|
|
| 1219 |
<div class="fb-chip" onclick="this.classList.toggle('active')" data-val="anpr">ANPR Integration</div>
|
| 1220 |
</div>
|
| 1221 |
</div>
|
| 1222 |
-
</div>
|
| 1223 |
|
| 1224 |
-
|
| 1225 |
-
<div>
|
| 1226 |
-
<label class="text-[10px] font-bold uppercase tracking-widest block mb-3" style="color:#a89f97">Feedback Category</label>
|
| 1227 |
-
<select class="fb-select w-full" id="fb-type">
|
| 1228 |
-
<option value="general">General Professional Feedback</option>
|
| 1229 |
-
<option value="bug">Technical Issue / Bug Report</option>
|
| 1230 |
-
<option value="feature">Strategic Feature Request</option>
|
| 1231 |
-
<option value="accuracy">Inference Accuracy Review</option>
|
| 1232 |
-
<option value="ux">Dashboard Workflow / UX</option>
|
| 1233 |
-
</select>
|
| 1234 |
-
</div>
|
| 1235 |
-
|
| 1236 |
-
<div>
|
| 1237 |
<label class="text-[10px] font-bold uppercase tracking-widest block mb-3" style="color:#a89f97">Detailed Word Feedback</label>
|
| 1238 |
-
<textarea class="fb-textarea w-full min-h-[
|
| 1239 |
</div>
|
| 1240 |
|
| 1241 |
-
<button onclick="submitFeedback()" class="w-full py-4 font-bold text-sm rounded-xl transition hover:scale-[1.01] active:scale-95 shadow-lg flex items-center justify-center gap-3"
|
| 1242 |
style="background:#111;border:1px solid var(--cocoa);color:var(--cocoa-l)">
|
| 1243 |
Transmit Feedback <i class="fa-solid fa-paper-plane text-[10px]"></i>
|
| 1244 |
</button>
|
|
@@ -1246,7 +1268,7 @@
|
|
| 1246 |
</div>
|
| 1247 |
|
| 1248 |
<div class="pt-6 border-t border-[#111]">
|
| 1249 |
-
<p class="text-[10px] text-center" style="color:#444">
|
| 1250 |
</div>
|
| 1251 |
</div>
|
| 1252 |
</div>
|
|
|
|
| 1143 |
|
| 1144 |
<!-- TAB: Feedback -->
|
| 1145 |
<div id="tab-feedback" class="hidden flex-1 min-h-0 overflow-y-auto" style="padding:24px">
|
| 1146 |
+
<div class="max-w-6xl mx-auto space-y-6">
|
| 1147 |
+
<div class="bg-black border border-slate-800 rounded-2xl p-10 shadow-2xl space-y-10">
|
| 1148 |
<div class="text-center space-y-3">
|
| 1149 |
<h2 class="text-2xl font-bold tracking-tight" style="color:#f0ece6">Share Your Feedback</h2>
|
| 1150 |
<p class="text-xs" style="color:#777">We are actively refining UrbanFlow. Your technical insights directly drive our roadmap.</p>
|
|
|
|
| 1155 |
</div>
|
| 1156 |
|
| 1157 |
<div class="grid grid-cols-1 lg:grid-cols-2 gap-10">
|
| 1158 |
+
<!-- Left Side: Emoji Metrics & Selectors -->
|
| 1159 |
+
<div class="space-y-6 flex flex-col justify-between">
|
| 1160 |
+
<div class="space-y-6">
|
| 1161 |
<div>
|
| 1162 |
<label class="text-[10px] font-bold uppercase tracking-widest block mb-3" style="color:#a89f97">Overall Experience</label>
|
| 1163 |
<div class="fb-stars" id="fb-stars">
|
|
|
|
| 1168 |
<span class="fb-star" data-v="5" onclick="setRating(5)">★</span>
|
| 1169 |
</div>
|
| 1170 |
</div>
|
| 1171 |
+
|
| 1172 |
<div>
|
| 1173 |
<label class="text-[10px] font-bold uppercase tracking-widest block mb-3" style="color:#a89f97">Recommend Product</label>
|
| 1174 |
<div class="flex gap-2" id="fb-recommend">
|
|
|
|
| 1178 |
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-recommend', 'Highly')"><i class="fa-solid fa-face-grin-stars text-xl"></i><span class="block mt-1 text-[8px] uppercase">Highly</span></div>
|
| 1179 |
</div>
|
| 1180 |
</div>
|
|
|
|
| 1181 |
|
|
|
|
| 1182 |
<div>
|
| 1183 |
+
<label class="text-[10px] font-bold uppercase tracking-widest block mb-3" style="color:#a89f97">Security
|
| 1184 |
+
<span class="info-wrap ml-1"><span class="info-btn"><i class="fa-solid fa-info"></i></span><span class="info-tip">How confident are you in our data handling and privacy measures?</span></span>
|
| 1185 |
+
</label>
|
| 1186 |
<div class="flex gap-2" id="fb-security">
|
| 1187 |
+
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-security', 'Poor')"><i class="fa-solid fa-face-frown text-lg"></i><span class="block mt-1 text-[8px] uppercase">Poor</span></div>
|
| 1188 |
+
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-security', 'Fair')"><i class="fa-solid fa-face-meh text-lg"></i><span class="block mt-1 text-[8px] uppercase">Fair</span></div>
|
| 1189 |
+
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-security', 'Good')"><i class="fa-solid fa-face-smile text-lg"></i><span class="block mt-1 text-[8px] uppercase">Good</span></div>
|
| 1190 |
+
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-security', 'Great')"><i class="fa-solid fa-face-grin-stars text-lg"></i><span class="block mt-1 text-[8px] uppercase">Great</span></div>
|
| 1191 |
</div>
|
| 1192 |
</div>
|
| 1193 |
+
|
| 1194 |
<div>
|
| 1195 |
+
<label class="text-[10px] font-bold uppercase tracking-widest block mb-3" style="color:#a89f97">Integrations
|
| 1196 |
+
<span class="info-wrap ml-1"><span class="info-btn"><i class="fa-solid fa-info"></i></span><span class="info-tip">How well does UrbanFlow fit into your existing TMS or software ecosystem?</span></span>
|
| 1197 |
+
</label>
|
| 1198 |
<div class="flex gap-2" id="fb-integration">
|
| 1199 |
+
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-integration', 'Poor')"><i class="fa-solid fa-face-frown text-lg"></i><span class="block mt-1 text-[8px] uppercase">Poor</span></div>
|
| 1200 |
+
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-integration', 'Fair')"><i class="fa-solid fa-face-meh text-lg"></i><span class="block mt-1 text-[8px] uppercase">Fair</span></div>
|
| 1201 |
+
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-integration', 'Good')"><i class="fa-solid fa-face-smile text-lg"></i><span class="block mt-1 text-[8px] uppercase">Good</span></div>
|
| 1202 |
+
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-integration', 'Great')"><i class="fa-solid fa-face-grin-stars text-lg"></i><span class="block mt-1 text-[8px] uppercase">Great</span></div>
|
| 1203 |
</div>
|
| 1204 |
</div>
|
| 1205 |
+
|
| 1206 |
<div>
|
| 1207 |
+
<label class="text-[10px] font-bold uppercase tracking-widest block mb-3" style="color:#a89f97">Ease of Use
|
| 1208 |
+
<span class="info-wrap ml-1"><span class="info-btn"><i class="fa-solid fa-info"></i></span><span class="info-tip">How intuitive is the dashboard and configuration process?</span></span>
|
| 1209 |
+
</label>
|
| 1210 |
<div class="flex gap-2" id="fb-ease">
|
| 1211 |
+
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-ease', 'Poor')"><i class="fa-solid fa-face-frown text-lg"></i><span class="block mt-1 text-[8px] uppercase">Poor</span></div>
|
| 1212 |
+
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-ease', 'Fair')"><i class="fa-solid fa-face-meh text-lg"></i><span class="block mt-1 text-[8px] uppercase">Fair</span></div>
|
| 1213 |
+
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-ease', 'Good')"><i class="fa-solid fa-face-smile text-lg"></i><span class="block mt-1 text-[8px] uppercase">Good</span></div>
|
| 1214 |
+
<div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-ease', 'Great')"><i class="fa-solid fa-face-grin-stars text-lg"></i><span class="block mt-1 text-[8px] uppercase">Great</span></div>
|
| 1215 |
</div>
|
| 1216 |
</div>
|
| 1217 |
</div>
|
| 1218 |
|
| 1219 |
+
<div class="grid grid-cols-2 gap-4 mt-6">
|
| 1220 |
+
<div>
|
| 1221 |
+
<label class="text-[10px] font-bold uppercase tracking-widest block mb-3" style="color:#a89f97">Primary Use Case</label>
|
| 1222 |
+
<select class="fb-select w-full" id="fb-usecase">
|
| 1223 |
+
<option value="" disabled selected>Select your use case</option>
|
| 1224 |
+
<option value="research">Academic / Traffic Research</option>
|
| 1225 |
+
<option value="planning">Urban Planning & Capacity</option>
|
| 1226 |
+
<option value="highway">Highway Authority (NHAI/State)</option>
|
| 1227 |
+
<option value="smartcity">Smart City Integrator</option>
|
| 1228 |
+
<option value="other">Other Institutional</option>
|
| 1229 |
+
</select>
|
| 1230 |
+
</div>
|
| 1231 |
+
<div>
|
| 1232 |
+
<label class="text-[10px] font-bold uppercase tracking-widest block mb-3" style="color:#a89f97">Feedback Category</label>
|
| 1233 |
+
<select class="fb-select w-full" id="fb-type">
|
| 1234 |
+
<option value="" disabled selected>General Professional Feedback</option>
|
| 1235 |
+
<option value="bug">Technical Issue / Bug Report</option>
|
| 1236 |
+
<option value="feature">Strategic Feature Request</option>
|
| 1237 |
+
<option value="accuracy">Inference Accuracy Review</option>
|
| 1238 |
+
<option value="ux">Dashboard Workflow / UX</option>
|
| 1239 |
+
</select>
|
| 1240 |
+
</div>
|
| 1241 |
+
</div>
|
| 1242 |
+
</div>
|
| 1243 |
+
|
| 1244 |
+
<!-- Right Side: Features & Text -->
|
| 1245 |
+
<div class="space-y-6 flex flex-col">
|
| 1246 |
<div>
|
| 1247 |
<label class="text-[10px] font-bold uppercase tracking-widest block mb-4" style="color:#a89f97">Feature Prioritization (Select all that apply)</label>
|
| 1248 |
<div class="grid grid-cols-2 gap-3" id="fb-priorities">
|
|
|
|
| 1254 |
<div class="fb-chip" onclick="this.classList.toggle('active')" data-val="anpr">ANPR Integration</div>
|
| 1255 |
</div>
|
| 1256 |
</div>
|
|
|
|
| 1257 |
|
| 1258 |
+
<div class="flex-1 min-h-[140px]">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1259 |
<label class="text-[10px] font-bold uppercase tracking-widest block mb-3" style="color:#a89f97">Detailed Word Feedback</label>
|
| 1260 |
+
<textarea class="fb-textarea w-full h-full min-h-[220px]" style="height: calc(100% - 24px);" id="fb-text" placeholder="Please take a moment to provide a meaningful response. Describe your specific workflow needs or any limitations you encountered..."></textarea>
|
| 1261 |
</div>
|
| 1262 |
|
| 1263 |
+
<button onclick="submitFeedback()" class="w-full py-4 font-bold text-sm rounded-xl transition hover:scale-[1.01] active:scale-95 shadow-lg flex items-center justify-center gap-3 mt-4"
|
| 1264 |
style="background:#111;border:1px solid var(--cocoa);color:var(--cocoa-l)">
|
| 1265 |
Transmit Feedback <i class="fa-solid fa-paper-plane text-[10px]"></i>
|
| 1266 |
</button>
|
|
|
|
| 1268 |
</div>
|
| 1269 |
|
| 1270 |
<div class="pt-6 border-t border-[#111]">
|
| 1271 |
+
<p class="text-[10px] text-center" style="color:#444">Queries: <strong style="color:#c89a6c">support@urbanflow.in</strong></p>
|
| 1272 |
</div>
|
| 1273 |
</div>
|
| 1274 |
</div>
|