Files
automatic/ui/legacy.ts
T
Vladimir Mandic 22e6ab2bb8 add legacy notice
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-20 21:18:35 +02:00

12 lines
448 B
TypeScript

import { log } from './logger';
export function addLegacyNotice() {
log('legacyNotice');
const notice = document.createElement('div');
notice.id = 'legacy-notice';
notice.className = 'legacy-standard';
notice.textContent = 'Legacy';
notice.title = 'Standard UI is a legacy interface that is no longer maintained and will be removed in the future. Please switch to ModernUI for best experience.';
document.body.appendChild(notice);
}