Skip to content

Commit 454fb3a

Browse files
save file
1 parent e4d6d98 commit 454fb3a

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

utils/misc/base64-encode-file/v2.0/base64-encode-file-v2.0.html

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@
4343
console.log('base64-encode-file-v2.0.html');
4444
console.log();
4545
console.json=v=>console.log(JSON.stringify(v,null,4));
46-
var df=true,version='v2.0'
47-
;
46+
var version='v2.0';
47+
var df=true;
48+
4849

4950
var ext;
5051
var $;
@@ -72,7 +73,7 @@
7273
mod.base.add({ext,$,datatype,keydown,menu,menumod});
7374

7475

75-
hdr = mod['hdr-base64'];
76+
hdr = mod['misc-hdr'];
7677
//mod.menu.main = mod.menu.main();
7778
preview.filemod = mod['file-preview'];
7879
preview.filename = mod['fn-preview'];
@@ -222,9 +223,11 @@
222223
<body>
223224

224225

225-
<hdr-base64 component=grp>
226-
<img class=title src='image/base64-file-50.png' style='top:5px;height:40px'>
227-
<time slot=date datetime=2025-10-18>18 Oct 2025</time>
226+
<misc-hdr v2.0 component=grp>
227+
<img slot=title class=title src='images/base64-encode-file.png' style='top:-35px;height:100px'>
228+
<time slot=date datetime=2025-04-19>
229+
19 Apr 2026
230+
</time>
228231
</hdr-base64>
229232

230233

@@ -362,6 +365,7 @@
362365

363366

364367
hdr.initdom(root);
368+
hdr.set.version(version);
365369

366370

367371
preview.root = $(root,'#preview');

0 commit comments

Comments
 (0)