переведи на русский - Initial Deployment
Browse files- README.md +7 -5
- index.html +364 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: tele
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: red
|
| 5 |
+
colorTo: red
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,364 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Phone Survey System</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
.gradient-bg {
|
| 11 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 12 |
+
}
|
| 13 |
+
.survey-card {
|
| 14 |
+
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
|
| 15 |
+
transition: all 0.3s ease;
|
| 16 |
+
}
|
| 17 |
+
.survey-card:hover {
|
| 18 |
+
transform: translateY(-5px);
|
| 19 |
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
|
| 20 |
+
}
|
| 21 |
+
.rating-btn {
|
| 22 |
+
transition: all 0.2s ease;
|
| 23 |
+
}
|
| 24 |
+
.rating-btn:hover {
|
| 25 |
+
transform: scale(1.1);
|
| 26 |
+
}
|
| 27 |
+
.rating-btn.active {
|
| 28 |
+
transform: scale(1.15);
|
| 29 |
+
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.5);
|
| 30 |
+
}
|
| 31 |
+
.wave-animation {
|
| 32 |
+
animation: wave 1.5s infinite;
|
| 33 |
+
}
|
| 34 |
+
@keyframes wave {
|
| 35 |
+
0%, 100% { transform: rotate(0deg); }
|
| 36 |
+
25% { transform: rotate(5deg); }
|
| 37 |
+
75% { transform: rotate(-5deg); }
|
| 38 |
+
}
|
| 39 |
+
</style>
|
| 40 |
+
</head>
|
| 41 |
+
<body class="bg-gray-100 font-sans">
|
| 42 |
+
<div class="min-h-screen flex flex-col">
|
| 43 |
+
<!-- Header -->
|
| 44 |
+
<header class="gradient-bg text-white py-6">
|
| 45 |
+
<div class="container mx-auto px-4">
|
| 46 |
+
<div class="flex justify-between items-center">
|
| 47 |
+
<div class="flex items-center space-x-2">
|
| 48 |
+
<i class="fas fa-phone-alt text-2xl wave-animation"></i>
|
| 49 |
+
<h1 class="text-2xl font-bold">Опрос удовлетворенности клиентов</h1>
|
| 50 |
+
</div>
|
| 51 |
+
<div class="hidden md:block">
|
| 52 |
+
<button class="bg-white text-indigo-700 px-4 py-2 rounded-lg font-medium hover:bg-opacity-90 transition">
|
| 53 |
+
<i class="fas fa-sign-in-alt mr-2"></i>Панель администратора
|
| 54 |
+
</button>
|
| 55 |
+
</div>
|
| 56 |
+
</div>
|
| 57 |
+
</div>
|
| 58 |
+
</header>
|
| 59 |
+
|
| 60 |
+
<!-- Main Content -->
|
| 61 |
+
<main class="flex-grow container mx-auto px-4 py-8">
|
| 62 |
+
<div class="max-w-4xl mx-auto grid grid-cols-1 lg:grid-cols-3 gap-8">
|
| 63 |
+
<!-- Survey Control Panel -->
|
| 64 |
+
<div class="lg:col-span-2">
|
| 65 |
+
<div class="survey-card bg-white rounded-xl p-6 mb-6">
|
| 66 |
+
<div class="flex items-center justify-between mb-6">
|
| 67 |
+
<h2 class="text-xl font-semibold text-gray-800">Панель управления опросом</h2>
|
| 68 |
+
<div class="flex items-center space-x-2">
|
| 69 |
+
<span class="relative flex h-3 w-3">
|
| 70 |
+
<span class="animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75"></span>
|
| 71 |
+
<span class="relative inline-flex rounded-full h-3 w-3 bg-green-500"></span>
|
| 72 |
+
</span>
|
| 73 |
+
<span class="text-sm text-gray-600">Active</span>
|
| 74 |
+
</div>
|
| 75 |
+
</div>
|
| 76 |
+
|
| 77 |
+
<div class="mb-6">
|
| 78 |
+
<label class="block text-gray-700 text-sm font-medium mb-2" for="survey-script">
|
| 79 |
+
Survey Script
|
| 80 |
+
</label>
|
| 81 |
+
<div class="bg-gray-50 p-4 rounded-lg border border-gray-200">
|
| 82 |
+
<div class="mb-3">
|
| 83 |
+
<p class="text-gray-700 font-medium">Greeting:</p>
|
| 84 |
+
<p class="text-gray-600 italic">"Hello [Customer Name], this is [Company] calling about your recent service on [Date]. Could you spare a moment to answer a quick survey?"</p>
|
| 85 |
+
</div>
|
| 86 |
+
<div class="mb-3">
|
| 87 |
+
<p class="text-gray-700 font-medium">Main Question:</p>
|
| 88 |
+
<p class="text-gray-600 italic">"On a scale from 1 to 5, how would you rate your satisfaction with our service?"</p>
|
| 89 |
+
</div>
|
| 90 |
+
<div>
|
| 91 |
+
<p class="text-gray-700 font-medium">Responses:</p>
|
| 92 |
+
<ul class="list-disc list-inside text-gray-600 space-y-1">
|
| 93 |
+
<li><span class="font-medium">5:</span> "Thank you for your feedback!"</li>
|
| 94 |
+
<li><span class="font-medium">4:</span> "What could we improve?"</li>
|
| 95 |
+
<li><span class="font-medium">1-3:</span> "We apologize and will improve"</li>
|
| 96 |
+
</ul>
|
| 97 |
+
</div>
|
| 98 |
+
</div>
|
| 99 |
+
</div>
|
| 100 |
+
|
| 101 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-6">
|
| 102 |
+
<div>
|
| 103 |
+
<label class="block text-gray-700 text-sm font-medium mb-2" for="call-time">
|
| 104 |
+
Время звонков
|
| 105 |
+
</label>
|
| 106 |
+
<select id="call-time" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500">
|
| 107 |
+
<option>9:00 AM - 12:00 PM</option>
|
| 108 |
+
<option>12:00 PM - 3:00 PM</option>
|
| 109 |
+
<option>3:00 PM - 6:00 PM</option>
|
| 110 |
+
<option selected>6:00 PM - 9:00 PM</option>
|
| 111 |
+
</select>
|
| 112 |
+
</div>
|
| 113 |
+
<div>
|
| 114 |
+
<label class="block text-gray-700 text-sm font-medium mb-2" for="retry-attempts">
|
| 115 |
+
Попытки дозвона
|
| 116 |
+
</label>
|
| 117 |
+
<select id="retry-attempts" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500">
|
| 118 |
+
<option>1</option>
|
| 119 |
+
<option selected>2</option>
|
| 120 |
+
<option>3</option>
|
| 121 |
+
</select>
|
| 122 |
+
</div>
|
| 123 |
+
</div>
|
| 124 |
+
|
| 125 |
+
<div class="flex flex-col sm:flex-row space-y-3 sm:space-y-0 sm:space-x-3">
|
| 126 |
+
<button id="start-survey" class="flex-1 bg-green-600 hover:bg-green-700 text-white py-3 px-4 rounded-lg font-medium transition flex items-center justify-center">
|
| 127 |
+
<i class="fas fa-play mr-2"></i> Начать опрос
|
| 128 |
+
</button>
|
| 129 |
+
<button id="pause-survey" class="flex-1 bg-yellow-500 hover:bg-yellow-600 text-white py-3 px-4 rounded-lg font-medium transition flex items-center justify-center">
|
| 130 |
+
<i class="fas fa-pause mr-2"></i> Пауза
|
| 131 |
+
</button>
|
| 132 |
+
<button id="stop-survey" class="flex-1 bg-red-600 hover:bg-red-700 text-white py-3 px-4 rounded-lg font-medium transition flex items-center justify-center">
|
| 133 |
+
<i class="fas fa-stop mr-2"></i> Стоп
|
| 134 |
+
</button>
|
| 135 |
+
</div>
|
| 136 |
+
</div>
|
| 137 |
+
|
| 138 |
+
<!-- Call Simulation -->
|
| 139 |
+
<div class="survey-card bg-white rounded-xl p-6">
|
| 140 |
+
<h2 class="text-xl font-semibold text-gray-800 mb-6">Симуляция звонка</h2>
|
| 141 |
+
|
| 142 |
+
<div class="bg-gray-800 rounded-xl p-6 text-white mb-6">
|
| 143 |
+
<div class="flex items-center justify-between mb-4">
|
| 144 |
+
<div class="flex items-center">
|
| 145 |
+
<i class="fas fa-phone-alt mr-2"></i>
|
| 146 |
+
<span>Опросный звонок</span>
|
| 147 |
+
</div>
|
| 148 |
+
<div class="text-sm">00:45</div>
|
| 149 |
+
</div>
|
| 150 |
+
|
| 151 |
+
<div class="bg-gray-700 rounded-lg p-4 mb-4">
|
| 152 |
+
<p class="italic">"Hello John Doe, this is ACME Services calling about your recent appliance repair on June 15th. Could you spare a moment to answer a quick survey?"</p>
|
| 153 |
+
</div>
|
| 154 |
+
|
| 155 |
+
<div class="text-center py-4">
|
| 156 |
+
<p class="mb-4">"On a scale from 1 to 5, how would you rate your satisfaction with our service?"</p>
|
| 157 |
+
|
| 158 |
+
<div class="flex justify-center space-x-3 mb-6">
|
| 159 |
+
<button class="rating-btn w-12 h-12 rounded-full bg-red-500 text-white font-bold flex items-center justify-center">1</button>
|
| 160 |
+
<button class="rating-btn w-12 h-12 rounded-full bg-orange-500 text-white font-bold flex items-center justify-center">2</button>
|
| 161 |
+
<button class="rating-btn w-12 h-12 rounded-full bg-yellow-500 text-white font-bold flex items-center justify-center">3</button>
|
| 162 |
+
<button class="rating-btn w-12 h-12 rounded-full bg-blue-500 text-white font-bold flex items-center justify-center">4</button>
|
| 163 |
+
<button class="rating-btn w-12 h-12 rounded-full bg-green-500 text-white font-bold flex items-center justify-center active">5</button>
|
| 164 |
+
</div>
|
| 165 |
+
|
| 166 |
+
<div id="followup-question" class="hidden">
|
| 167 |
+
<p class="mb-4">"Thank you! What could we improve in our service?"</p>
|
| 168 |
+
<div class="flex justify-center space-x-3">
|
| 169 |
+
<button class="bg-gray-600 hover:bg-gray-500 text-white py-2 px-4 rounded-lg transition">
|
| 170 |
+
<i class="fas fa-microphone mr-2"></i> Record Response
|
| 171 |
+
</button>
|
| 172 |
+
<button class="bg-gray-600 hover:bg-gray-500 text-white py-2 px-4 rounded-lg transition">
|
| 173 |
+
Skip
|
| 174 |
+
</button>
|
| 175 |
+
</div>
|
| 176 |
+
</div>
|
| 177 |
+
</div>
|
| 178 |
+
</div>
|
| 179 |
+
|
| 180 |
+
<div class="flex justify-center">
|
| 181 |
+
<button id="simulate-call" class="bg-indigo-600 hover:bg-indigo-700 text-white py-2 px-6 rounded-lg font-medium transition">
|
| 182 |
+
<i class="fas fa-sync-alt mr-2"></i> Новый звонок
|
| 183 |
+
</button>
|
| 184 |
+
</div>
|
| 185 |
+
</div>
|
| 186 |
+
</div>
|
| 187 |
+
|
| 188 |
+
<!-- Statistics Panel -->
|
| 189 |
+
<div class="lg:col-span-1">
|
| 190 |
+
<div class="survey-card bg-white rounded-xl p-6 mb-6">
|
| 191 |
+
<h2 class="text-xl font-semibold text-gray-800 mb-6">Статистика опроса</h2>
|
| 192 |
+
|
| 193 |
+
<div class="space-y-6">
|
| 194 |
+
<div>
|
| 195 |
+
<div class="flex justify-between items-center mb-2">
|
| 196 |
+
<span class="text-gray-600">Всего звонков</span>
|
| 197 |
+
<span class="font-medium">1,248</span>
|
| 198 |
+
</div>
|
| 199 |
+
<div class="w-full bg-gray-200 rounded-full h-2.5">
|
| 200 |
+
<div class="bg-indigo-600 h-2.5 rounded-full" style="width: 100%"></div>
|
| 201 |
+
</div>
|
| 202 |
+
</div>
|
| 203 |
+
|
| 204 |
+
<div>
|
| 205 |
+
<div class="flex justify-between items-center mb-2">
|
| 206 |
+
<span class="text-gray-600">Завершено</span>
|
| 207 |
+
<span class="font-medium">876 (70%)</span>
|
| 208 |
+
</div>
|
| 209 |
+
<div class="w-full bg-gray-200 rounded-full h-2.5">
|
| 210 |
+
<div class="bg-green-500 h-2.5 rounded-full" style="width: 70%"></div>
|
| 211 |
+
</div>
|
| 212 |
+
</div>
|
| 213 |
+
|
| 214 |
+
<div>
|
| 215 |
+
<div class="flex justify-between items-center mb-2">
|
| 216 |
+
<span class="text-gray-600">Нет ответа</span>
|
| 217 |
+
<span class="font-medium">248 (20%)</span>
|
| 218 |
+
</div>
|
| 219 |
+
<div class="w-full bg-gray-200 rounded-full h-2.5">
|
| 220 |
+
<div class="bg-yellow-500 h-2.5 rounded-full" style="width: 20%"></div>
|
| 221 |
+
</div>
|
| 222 |
+
</div>
|
| 223 |
+
|
| 224 |
+
<div>
|
| 225 |
+
<div class="flex justify-between items-center mb-2">
|
| 226 |
+
<span class="text-gray-600">Отказались</span>
|
| 227 |
+
<span class="font-medium">124 (10%)</span>
|
| 228 |
+
</div>
|
| 229 |
+
<div class="w-full bg-gray-200 rounded-full h-2.5">
|
| 230 |
+
<div class="bg-red-500 h-2.5 rounded-full" style="width: 10%"></div>
|
| 231 |
+
</div>
|
| 232 |
+
</div>
|
| 233 |
+
</div>
|
| 234 |
+
</div>
|
| 235 |
+
|
| 236 |
+
<!-- Rating Distribution -->
|
| 237 |
+
<div class="survey-card bg-white rounded-xl p-6">
|
| 238 |
+
<h2 class="text-xl font-semibold text-gray-800 mb-6">Распределение оценок</h2>
|
| 239 |
+
|
| 240 |
+
<div class="space-y-4">
|
| 241 |
+
<div class="flex items-center">
|
| 242 |
+
<span class="w-8 font-medium">5</span>
|
| 243 |
+
<div class="flex-1 mx-2">
|
| 244 |
+
<div class="h-4 bg-green-500 rounded" style="width: 65%"></div>
|
| 245 |
+
</div>
|
| 246 |
+
<span class="w-12 text-right">65%</span>
|
| 247 |
+
</div>
|
| 248 |
+
<div class="flex items-center">
|
| 249 |
+
<span class="w-8 font-medium">4</span>
|
| 250 |
+
<div class="flex-1 mx-2">
|
| 251 |
+
<div class="h-4 bg-blue-500 rounded" style="width: 20%"></div>
|
| 252 |
+
</div>
|
| 253 |
+
<span class="w-12 text-right">20%</span>
|
| 254 |
+
</div>
|
| 255 |
+
<div class="flex items-center">
|
| 256 |
+
<span class="w-8 font-medium">3</span>
|
| 257 |
+
<div class="flex-1 mx-2">
|
| 258 |
+
<div class="h-4 bg-yellow-500 rounded" style="width: 8%"></div>
|
| 259 |
+
</div>
|
| 260 |
+
<span class="w-12 text-right">8%</span>
|
| 261 |
+
</div>
|
| 262 |
+
<div class="flex items-center">
|
| 263 |
+
<span class="w-8 font-medium">2</span>
|
| 264 |
+
<div class="flex-1 mx-2">
|
| 265 |
+
<div class="h-4 bg-orange-500 rounded" style="width: 4%"></div>
|
| 266 |
+
</div>
|
| 267 |
+
<span class="w-12 text-right">4%</span>
|
| 268 |
+
</div>
|
| 269 |
+
<div class="flex items-center">
|
| 270 |
+
<span class="w-8 font-medium">1</span>
|
| 271 |
+
<div class="flex-1 mx-2">
|
| 272 |
+
<div class="h-4 bg-red-500 rounded" style="width: 3%"></div>
|
| 273 |
+
</div>
|
| 274 |
+
<span class="w-12 text-right">3%</span>
|
| 275 |
+
</div>
|
| 276 |
+
</div>
|
| 277 |
+
|
| 278 |
+
<div class="mt-6 p-4 bg-gray-50 rounded-lg">
|
| 279 |
+
<div class="flex items-center justify-between mb-2">
|
| 280 |
+
<span class="font-medium">Средняя оценка</span>
|
| 281 |
+
<span class="text-2xl font-bold text-indigo-600">4.4</span>
|
| 282 |
+
</div>
|
| 283 |
+
<div class="flex items-center">
|
| 284 |
+
<div class="flex mr-2">
|
| 285 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 286 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 287 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 288 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 289 |
+
<i class="fas fa-star-half-alt text-yellow-400"></i>
|
| 290 |
+
</div>
|
| 291 |
+
<span class="text-gray-600">из 5</span>
|
| 292 |
+
</div>
|
| 293 |
+
</div>
|
| 294 |
+
</div>
|
| 295 |
+
</div>
|
| 296 |
+
</div>
|
| 297 |
+
</main>
|
| 298 |
+
|
| 299 |
+
<!-- Footer -->
|
| 300 |
+
<footer class="bg-gray-800 text-white py-6">
|
| 301 |
+
<div class="container mx-auto px-4 text-center">
|
| 302 |
+
<p>© 2023 Система опроса клиентов. Все права защищены.</p>
|
| 303 |
+
<div class="flex justify-center space-x-4 mt-4">
|
| 304 |
+
<a href="#" class="hover:text-indigo-300"><i class="fab fa-twitter"></i></a>
|
| 305 |
+
<a href="#" class="hover:text-indigo-300"><i class="fab fa-facebook"></i></a>
|
| 306 |
+
<a href="#" class="hover:text-indigo-300"><i class="fab fa-linkedin"></i></a>
|
| 307 |
+
<a href="#" class="hover:text-indigo-300"><i class="fab fa-github"></i></a>
|
| 308 |
+
</div>
|
| 309 |
+
</div>
|
| 310 |
+
</footer>
|
| 311 |
+
</div>
|
| 312 |
+
|
| 313 |
+
<script>
|
| 314 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 315 |
+
// Rating buttons interaction
|
| 316 |
+
const ratingButtons = document.querySelectorAll('.rating-btn');
|
| 317 |
+
ratingButtons.forEach(button => {
|
| 318 |
+
button.addEventListener('click', function() {
|
| 319 |
+
// Remove active class from all buttons
|
| 320 |
+
ratingButtons.forEach(btn => btn.classList.remove('active'));
|
| 321 |
+
|
| 322 |
+
// Add active class to clicked button
|
| 323 |
+
this.classList.add('active');
|
| 324 |
+
|
| 325 |
+
// Show follow-up question for ratings 1-4
|
| 326 |
+
const rating = parseInt(this.textContent);
|
| 327 |
+
const followupQuestion = document.getElementById('followup-question');
|
| 328 |
+
|
| 329 |
+
if (rating >= 1 && rating <= 4) {
|
| 330 |
+
followupQuestion.classList.remove('hidden');
|
| 331 |
+
} else {
|
| 332 |
+
followupQuestion.classList.add('hidden');
|
| 333 |
+
}
|
| 334 |
+
});
|
| 335 |
+
});
|
| 336 |
+
|
| 337 |
+
// Simulate call button
|
| 338 |
+
document.getElementById('simulate-call').addEventListener('click', function() {
|
| 339 |
+
// Reset the call simulation
|
| 340 |
+
ratingButtons.forEach(btn => btn.classList.remove('active'));
|
| 341 |
+
document.getElementById('followup-question').classList.add('hidden');
|
| 342 |
+
|
| 343 |
+
// Show a notification
|
| 344 |
+
alert('New call simulation started. Please select a rating.');
|
| 345 |
+
});
|
| 346 |
+
|
| 347 |
+
// Survey control buttons
|
| 348 |
+
document.getElementById('start-survey').addEventListener('click', function() {
|
| 349 |
+
alert('Survey campaign started!');
|
| 350 |
+
});
|
| 351 |
+
|
| 352 |
+
document.getElementById('pause-survey').addEventListener('click', function() {
|
| 353 |
+
alert('Survey campaign paused.');
|
| 354 |
+
});
|
| 355 |
+
|
| 356 |
+
document.getElementById('stop-survey').addEventListener('click', function() {
|
| 357 |
+
if (confirm('Are you sure you want to stop the survey campaign?')) {
|
| 358 |
+
alert('Survey campaign stopped.');
|
| 359 |
+
}
|
| 360 |
+
});
|
| 361 |
+
});
|
| 362 |
+
</script>
|
| 363 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=digpas/tele" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 364 |
+
</html>
|