feat: enforce Europe/Istanbul timezone, fix PWA image proxy, add Monday weekly login sync, and standardize English routes

This commit is contained in:
tyuXX 2026-11-09 21:45:27 +00:00
parent 56274f479b
commit 93f0bcb7a1
16 changed files with 851 additions and 175 deletions

View file

@ -8,7 +8,7 @@
<p class="page-subtitle">
<%= t('privateLessons.subtitle') %>
<% if (lastSynced) { %>
• <span class="sync-time"><%= t('privateLessons.syncedLabel') %> <%= new Date(lastSynced).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' }) %></span>
• <span class="sync-time"><%= t('privateLessons.syncedLabel') %> <%= formatTime(lastSynced) %></span>
<% } %>
</p>
</div>
@ -27,7 +27,7 @@
<div class="student-profile-card">
<div class="student-profile-main">
<% if (formMeta.photoUrl) { %>
<img src="<%= formMeta.photoUrl %>" alt="<%= formMeta.studentName %>" class="student-avatar" />
<img src="<%= proxyImage(formMeta.photoUrl) %>" alt="<%= formMeta.studentName %>" class="student-avatar" onerror="this.style.display='none'" />
<% } %>
<div class="student-meta">
<h3 class="student-name"><%= formMeta.studentName %></h3>
@ -148,7 +148,7 @@
</div>
<div class="lesson-card-body">
<% if (item.teacherPhoto) { %>
<img src="<%= item.teacherPhoto %>" alt="<%= item.teacherName %>" class="lesson-teacher-photo" />
<img src="<%= proxyImage(item.teacherPhoto) %>" alt="<%= item.teacherName %>" class="lesson-teacher-photo" onerror="this.style.display='none'" />
<% } else { %>
<div class="lesson-teacher-placeholder"><%= item.teacherName ? item.teacherName[0] : 'Ö' %></div>
<% } %>
@ -184,7 +184,7 @@
</div>
<div class="lesson-card-body">
<% if (item.teacherPhoto) { %>
<img src="<%= item.teacherPhoto %>" alt="<%= item.teacherName %>" class="lesson-teacher-photo" />
<img src="<%= proxyImage(item.teacherPhoto) %>" alt="<%= item.teacherName %>" class="lesson-teacher-photo" onerror="this.style.display='none'" />
<% } else { %>
<div class="lesson-teacher-placeholder"><%= item.teacherName ? item.teacherName[0] : 'Ö' %></div>
<% } %>