WIP: grundstruktur

This commit is contained in:
titz lapi 2022-11-04 20:36:33 +01:00
parent df5a05dfc5
commit 862d65c894

20
frontlog.js Normal file
View File

@ -0,0 +1,20 @@
let frontlogList = {};
let frontlog_mxel = document.body.dataset['frontlog']??3;
let frontlog = document.createElement('frontlog');
document.body.appendChild(frontlog);
let frontlogAdd = function(title,icon,msg,col, time) {
let elem = document.createElement('flogelem');
{
let elemid = 'fl_';
{
let ch = 'abcdefghijklmnopqrstuvwxyz0123456789';
let chl = ch.length;
for ( let i = 0; i < length; i++ ) {
elemid += ch.charAt(Math.floor(Math.random() * chl));
}
}
elem.id = elemid;
}
elem.appendChild
}