rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dj

Pages: 1 2 3 ... 20
1
HTML & templates / Re: Responsive small screen template
« on: January 21, 2022, 05:28:33 AM »
@ r1132:

replace
src: audio.src.replace(folder,folder+'thumb/')+ext_th,
with
src: folder+'thumb/folder.jpg',

and put folder.jpg in subfolder thumb
works for me with mobil-light template.


latest Mobillight for Hfs3

2
HTML & templates / Re: Responsive small screen template
« on: January 20, 2022, 05:45:25 AM »
@ r1132:

this audioplayer can't read buildin covers of audiofiles

artwork-thumbs-pictures must have same name and be in subfolder thumb
you can extract cover here

you can also edit const ext_th='png', if your artwork are png files

3
HFS ~ HTTP File Server / Re: a new beginning...
« on: January 19, 2022, 09:49:14 AM »
dark theme
make sufficient contrast ratio

Code: [Select]
:root .theme-dark a {    color: #fff9;}
Modified: alternativ #94b2d1

4
HFS ~ HTTP File Server / Re: a new beginning...
« on: January 16, 2022, 11:12:40 AM »
a new plugin: fileicons
(possibly obsolete with v0.6 )


Modified:
I did something wrong with v0.6 (screenshot)

Modified2:
copy dist folder one folder up to work
but plugins don't work (you need to enable plugin in config.yaml)


Modified3:
the audioplayer from the bundle also works with hfs3(v0.6) default template

5
HFS ~ HTTP File Server / Re: a new beginning...
« on: January 07, 2022, 09:58:32 AM »
@NaitLee have a look at the new plugin example, it may be what you need for your project.
Refer to the README file for details

Have you another example of the middleware plugin?
I don't make sense of it .
Can we manipulate the DOM?

6
HTML & templates / Re: Responsive small screen template
« on: January 02, 2022, 03:59:20 PM »
mobillight-template for hfs3

changelog:
03.01. v0.1: website serving ✓
todo next 04.01. v0.2: login (tested with hfs r0.3) ✓
todo next 05.01. v0.3: search ✓
todo next 06.01. v0.4: archive ✓
todo next 07.01. v0.5: sort (click on "files") ✓
17.01. v0.6: login changed, fixed image preview ✓
22.01. v0.7: archive selected files + (video)thumbs ✓

showtag=tbfolder=help
audiocover.mp3thumbthumbs
video.mp4preload
image.jpgfullsize


review: autorefresh

7
HFS ~ HTTP File Server / Re: a new beginning...
« on: January 01, 2022, 11:53:36 AM »
... So it successfully reads it but then cannot rewrite it. ...

Thanks. The folder was read-only. Now it works. :)

Next I'll test my template.
Need to learn typescript first (modified).


try also other themes like live


8
HFS ~ HTTP File Server / Re: a new beginning...
« on: December 31, 2021, 05:31:46 PM »
Can you tell me what CPU are you running it on? Or is it a VM ?

Intel(R) Atom(TM) x5-Z8300  CPU @ 1.44GHz   1.44 GHz

9
HFS ~ HTTP File Server / Re: a new beginning...
« on: December 31, 2021, 03:30:28 PM »
v0.3 and
exe: This app cannot be run on the PC

10
HTML & templates / Re: Responsive small screen template
« on: December 31, 2021, 08:20:17 AM »
Happy new year 🚀

11
HFS ~ HTTP File Server / Re: a new beginning...
« on: December 22, 2021, 09:13:58 AM »
I did something wrong
"tsc" could not be found

12
Bug reports / Re: How to delete files.
« on: November 17, 2021, 04:54:04 AM »

14
HTML & templates / Re: Custom folder previews
« on: September 15, 2021, 07:41:42 AM »
for hfs2.4

Code: [Select]
[+]
<script>
function folderth(){
 [...document.querySelectorAll('#files a[href$="/"]')].forEach(item =>
 item.insertAdjacentHTML('afterend', '<img loading=lazy height=128 src='+item.href+'folder.jpg>')  //p.jpg
 )
}

if(!document.querySelector('main')) folderth()  //hfs2.4
else document.addEventListener('render', folderth)  //mobil-light_V5.6
</script>

15
HFS ~ HTTP File Server / Re: Two folders, two websites?
« on: September 14, 2021, 08:13:15 AM »
try something like this
Properties - Diff template

Code: [Select]
[+]
<script>
if (location.href=='http://192.168.137.1/') location.href+='/Folder1'; else console.log('todo')
</script>



Pages: 1 2 3 ... 20