namaz vakitlerine seçilen şehir bilgisi eklendi.

This commit is contained in:
2026-07-31 05:21:58 +02:00
parent 33b13f6afa
commit fd346d1aa1
+5 -2
View File
@@ -157,7 +157,10 @@ async function loadDesktopKazaProgress(container, pb) {
const totalCompleted = Math.max(0, grandInitialTotal - grandCurrentDebtTotal); const totalCompleted = Math.max(0, grandInitialTotal - grandCurrentDebtTotal);
const pct = const pct =
grandInitialTotal > 0 grandInitialTotal > 0
? Math.min(100, Math.max(0, Math.round((totalCompleted / grandInitialTotal) * 100))) ? Math.min(
100,
Math.max(0, Math.round((totalCompleted / grandInitialTotal) * 100)),
)
: 0; : 0;
const bar = container.querySelector("#desktopKazaBar"); const bar = container.querySelector("#desktopKazaBar");
@@ -214,7 +217,7 @@ async function loadImsakiye(container, selectedCity) {
widget.innerHTML = ` widget.innerHTML = `
<div class="flex items-center justify-between mb-2"> <div class="flex items-center justify-between mb-2">
<span class="text-xs font-semibold text-orange-400">🕌 NAMAZ VAKİTLERİ</span> <span class="text-xs font-semibold text-orange-400">🕌 NAMAZ VAKİTLERİ ${selectedCity}</span>
<span class="text-[10px] bg-indigo-500/20 text-indigo-300 border border-indigo-500/30 px-2 py-0.5 rounded-full">Şu an: ${times.currentPrayer?.name}</span> <span class="text-[10px] bg-indigo-500/20 text-indigo-300 border border-indigo-500/30 px-2 py-0.5 rounded-full">Şu an: ${times.currentPrayer?.name}</span>
</div> </div>
<div class="grid grid-cols-2 gap-2 text-xs"> <div class="grid grid-cols-2 gap-2 text-xs">