File tree Expand file tree Collapse file tree 3 files changed +7
-19
lines changed Expand file tree Collapse file tree 3 files changed +7
-19
lines changed Original file line number Diff line number Diff line change 1717 < link href ="/css/bootstrap.min.css " rel ="stylesheet ">
1818</ head >
1919
20- < body class ="h-100 ">
20+ < body class ="h-100 w-100 d-flex ">
2121 < script type ="module " src ="./index.ts "> </ script >
22- < div class ="scriptonly " id ="loading ">
22+ < div class ="h-100 w-100 align-items-center justify-content-center scriptonly " id ="loading ">
2323 < img src ="/images/spinner.gif " alt ="Loading... " />
2424 </ div >
25- < div id ="achtable " style ="display:none ">
26- </ div >
25+ < div id ="unicodetable " class ="d-none w-100 h-100 "> </ div >
2726 < div id ="errdiv " class ="d-none d-flex flex-column justify-content-center align-items-center w-100 h-100 ">
2827 < div class ="alert alert-danger m-3 " role ="alert ">
2928 < img class ="pe-2 " src ="/images/stop.svg " alt ="Error " width ="100 " height ="100 " />
Original file line number Diff line number Diff line change @@ -508,7 +508,7 @@ async function main() {
508508 TooltipModule ,
509509 ] ) ;
510510
511- const table = new Tabulator ( "#achtable " , {
511+ const table = new Tabulator ( "#unicodetable " , {
512512 autoResize : true ,
513513 data,
514514 columns : [
@@ -767,8 +767,8 @@ async function main() {
767767 } ;
768768 } ) ;
769769
770- document . getElementById ( "loading" ) ! . style . display = " none";
771- document . getElementById ( "achtable " ) ! . style . display = "block" ;
770+ document . getElementById ( "loading" ) ! . classList . add ( "d- none") ;
771+ document . getElementById ( "unicodetable " ) ! . classList . remove ( "d-none" ) ;
772772}
773773
774774main ( ) ;
Original file line number Diff line number Diff line change @@ -7,17 +7,6 @@ html, body {
77}
88
99body {
10- background-color : # f0f0f0 ;
11- font-family : sans-serif;
10+ font-family : sans-serif;
1211}
1312
14- div # loading {
15- width : 100% ;
16- height : 100% ;
17- display : flex;
18- justify-content : center;
19- align-items : center;
20- background-color : white;
21- }
22-
23-
You can’t perform that action at this time.
0 commit comments