Improve pricing modal performance and charting

This commit is contained in:
Mikhail Chusavitin
2026-03-17 12:37:58 +03:00
parent df5be91353
commit df14da2265
5 changed files with 451 additions and 111 deletions

View File

@@ -507,6 +507,23 @@
Кол-во котировок: <span id="modal-quote-count"></span>
</div>
</div>
<div class="bg-gray-50 p-3 rounded space-y-2">
<div class="text-sm font-medium text-gray-700">График цены</div>
<div id="modal-price-chart" class="w-full">
<div class="h-44 flex items-center justify-center text-sm text-gray-400">Загрузка...</div>
</div>
<div class="flex items-center gap-4 text-xs text-gray-500">
<span class="inline-flex items-center gap-1">
<span class="w-3 h-0.5 bg-orange-500"></span>
Котировки
</span>
<span class="inline-flex items-center gap-1">
<span class="w-3 h-0.5 bg-slate-500"></span>
Текущая цена
</span>
</div>
</div>
</div>
<div class="flex justify-end gap-2 p-4 border-t">
<button onclick="closeModal()" class="px-4 py-2 border rounded hover:bg-gray-50">Отмена</button>