mirror of
https://github.com/vladmandic/automatic
synced 2026-08-31 09:31:00 +02:00
22e6ab2bb8
Signed-off-by: Vladimir Mandic <mandic00@live.com>
12 lines
448 B
TypeScript
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);
|
|
}
|