Skip to content

Commit

Permalink
update UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Junhui Tong committed Jul 17, 2024
1 parent 06bcf61 commit 528d3a2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion excel.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ var path = WScript.Arguments(0);
for (;;) {
var cmd = WScript.StdIn.ReadLine();
if (cmd == "exit") {
WScript.Echo("received exit");
WScript.Echo("excel sync: received exit");
break;
}

Expand Down
8 changes: 5 additions & 3 deletions frontend/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,11 @@ async function main() {

const usage = document.createElement('div');
usage.classList.add('alert', 'alert-info', 'alert-dismissible', 'fade', 'show')
usage.innerText =
'This app keep sync with Excel and show the data in current(active) row so that you can see all columns without scrolling if there are too many columns.\n' +
'It assume there is a heading row in Excel and use the heading as the first column in the table. '
usage.innerHTML = `
This app keep sync with Excel and show the data in current(active) row so that you can see all columns without scrolling if there are too many columns.<br>
It assume there is a heading row in Excel and use the heading as the first column in the table. <br>
<b>Usage:</b> Click "Launch Excel to open file", Excel window will open (window might be flashing on taskbar instead of showing up, just click on the flashing icon to bring it up). Then open your file. Locate to any cell, you will see full row data below.
`.trim()
usage.style.marginTop = '10px'

const launch = document.createElement('button');
Expand Down
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@timepp/ev",
"version": "0.1.9",
"version": "0.1.10",
"exports": "./launch.ts"
}
4 changes: 2 additions & 2 deletions static_assets.json

Large diffs are not rendered by default.

0 comments on commit 528d3a2

Please sign in to comment.