first commit

This commit is contained in:
2026-02-17 08:54:43 +00:00
commit 6ab40e6d65
662 changed files with 80994 additions and 0 deletions

View File

@@ -0,0 +1 @@
document.addEventListener("DOMContentLoaded",()=>{let e=1;if(document.getElementById("add-rows-data")){let t=new DataTable("#add-rows-data",{dom:"<'d-md-flex justify-content-between align-items-center my-2'<'btn-toolbar'<'addRowBtn me-3'>><'dropdown'B>f><'row'<'col-sm-12'tr>><'d-md-flex justify-content-between align-items-center mt-2'ip>",language:{paginate:{first:'<i class="ti ti-chevrons-left"></i>',previous:'<i class="ti ti-chevron-left"></i>',next:'<i class="ti ti-chevron-right"></i>',last:'<i class="ti ti-chevrons-right"></i>'}},columns:[{title:"Company"},{title:"Symbol"},{title:"Price"},{title:"Change"},{title:"Volume"},{title:"Market Cap"},{title:"Rating"},{title:"Status"}]});var a,n=document.querySelector(".addRowBtn");n&&((a=document.createElement("button")).id="addRow",a.className="btn btn-primary btn-sm",a.textContent="Add Row",n.appendChild(a),a.addEventListener("click",()=>{t.row.add(["New Company "+e,"SYM"+e,"$"+(1e3*Math.random()+1e3).toFixed(2),(.5<Math.random()?"+":"-")+(2*Math.random()).toFixed(2)+"%",Math.floor(1e6*Math.random()).toLocaleString(),`$${(100*Math.random()).toFixed(2)}B`,(5*Math.random()).toFixed(1)+" ★",`<span class="badge badge-label badge-soft-${.5<Math.random()?"success":"danger"}">${.5<Math.random()?"Bullish":"Bearish"}</span>`]).draw(!1),e++}))}});