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 ... 5
1
Beta / Re: version 2.4
« on: September 25, 2018, 04:20:02 AM »
- SVG vs WebFonts (or font optimization)
If you want to optimize this (since HFS barely uses 10 icons or less), it would be great if you only use the SVG/PNG format, instead of using the complete 'Font Awesome' WebFont.

I try to use svg. Incomplete, not IE (must change i tags for IE)
update: v2 should work with IE11 (currently untested)
v3 can resize icons

Quote
New jQuery version broke old browser support
I'm not fit in jquery, but it should support Internet Explorer: 9+
the some not wide-compatible code syntax is ECMAScript6
I also think, IE11 should still be supported

2
Beta / Re: version 2.4
« on: September 23, 2018, 05:24:55 PM »
There is a problem with the selection tool, when we check a box, it performs the same action as clicking on the name

change '.item-selectable a' to '.item-selectable' (line 932) might help

3
Beta / Re: version 2.4
« on: September 21, 2018, 02:43:41 AM »
http://localhost/fa/font-awesome.css 404 Not Found


addons tested with version 2.4:

addoncheckedadjustment
audioplayerlight(playbutton in footer)
logoutvar ref=document.querySelector('button[onclick*=user]')
jpgimgthumbs
pictureviewercoming tomorrow
archive_as_ziptodo

themes tested with version 2.4: dark
Code: [Select]
[+common-head]
<style>
#files {background:#555}
</style>

4
Until then, a possible workaround solution

my modified addon, adapted to throwback1998

Code: [Select]
[+]
<script>  //formatmodified for mobil-light.tpl
//use ISO Date Format in hfs
var options={ year: '2-digit', month: '2-digit', day: 'numeric' }  //edit here
 //year, month, day, hour, minute, second  "numeric", "2-digit"; weekday  "narrow", "short", "long"
var locales=navigator.language

var ref=document.querySelectorAll('td:nth-child(3) font')  //addapted to throwback1998
if(!ref.length) ref=document.querySelectorAll('tr td:nth-child(3)')  //std-tpl
for (var i=0; i<ref.length; i++)  {
 var tmp=Date.parse(ref[i].textContent.slice(0,19))
 if(tmp) ref[i].textContent = new Date(tmp).toLocaleString(locales, options)
}

</script>

5
HTML & templates / Re: Responsive small screen template
« on: September 09, 2018, 07:50:50 AM »
a preview of version 4, which never reloads the page
update: 4.1beta can use archive addon

6
HTML & templates / Re: Responsive small screen template
« on: August 25, 2018, 06:37:33 PM »
a new theme
update: batchrename renames multiple files (number files)

7
HTML & templates / Re: Simple contact template
« on: August 25, 2018, 06:33:49 PM »
@JavaScript Experts: in the EML version I use this unoptimized code:

Code: [Select]
var FullHeaders = Header0+Header1+Header2+Header3+Header4+Header5+Header6+Header7+Header8+Header9+Header10;
Is there a more efficient way of doing this in, using plain vanilla JavaScript? How we could make the variable 'FullHeaders' much shorter, concatenating the variables Header 0 to 10 (perhaps, using an loop array?). But how?... ???

Cheers,
Leo.-


simply write
Code: [Select]
var FullHeaders =
'Received: from '+LoggedInUser+' ('+LoggedUserIP+')'+'\n' +
'From: "'+GetName+'" <'+GetMail+'>'+'\n' +
'To: "HFS Server Administrator"'+'\n'
...

8
It would be great if we can use another function compatible with those browsers. I'm not expert on these matters, but perhaps using for loop instead of forEach, could solve this problem (or else using another methods). ???

Yes, I replaced the forEach with a loop in rev2.2.
The problem isn't the Array.forEach, it's the Nodelist.forEach.

9
@DJ: Today I was trying to add the rest of the functions, but before touching the code, I found that after your modifications the modal dialog doesn't show up. I've spent a good time trying to figure out the error, but I can't find the way to fix it. There must be a typo somewhere, I guess... ???

I tested it again and it works in Chrome, FF and Edge.
Which browser do you use? Report the webconsole errors?

I added a version, which also works in IE11.

10
HTML & templates / Re: Responsive small screen template
« on: August 12, 2018, 09:55:56 AM »
Added screenshots from the latest stable version 3.4/3.5

and version 3.5, which spares your data volume (removed inline styles in tbody)

update: added Move-Button (just navigate to target directory instead of typing)
  works different to standard-tpl
  • standard-tpl:  select file; click Move; type destination folder in popup; click ok
  • move_addon: select file; click Cut; navigate to destination folder; click Paste

update: added Select All
 Use shift+click to select range of checkboxes
 this addon works also with the standard-template

updated audioplayer (now works also with the standard-template, play m3u, remebers last song)

11
HFS ~ HTTP File Server / Re: Any way to use winzip vs TAR ?
« on: August 04, 2018, 11:32:08 AM »
I have written a addon (diff tpl) to archive files in ZIP archive

It uses JSZip javascript library on the client
For instructions look into the source
Tested with Chrome, FF, Edge, IE11

12
Throwback7rev with delete
Alternativ you can use a a modal dialog

I'm on holiday next week

13
HTML & templates / Re: Responsive small screen template
« on: August 02, 2018, 08:46:57 AM »
Have you set the folder permissions in hfs?
If no permission is set, no button appears.

There are buttons for upload, new folder, delete and rename.
Archive comes to the to-to-list.

the files have been updated, download mobil-light_wo_picV3.1.zip again,
 you get mobil-light_wo_picV3.2.tpl and two alternative panels (a modal dialog and a select)
(Sorry, the javascript modal screen from Leo isn't included)

Or use mobil-light_wo_picV3.3.tpl (it's included in the pagination_theme)

Update: archive_as_zip replaces TAR Archive with ZIP Archive
this addon works also with the standard-template

14
HTML & templates / Re: Responsive small screen template
« on: July 28, 2018, 10:18:39 AM »
add a logout button [➔

works currently only in IE, Edge
this addon works also with the standard-template

15
HTML & templates / Re: how to translate a template
« on: July 28, 2018, 10:13:02 AM »
Quote
Although is nice to be able to translate the default template, RAWR-Designs Templates currently have support for more than 11 languages
the bad: RAWR strings beginns with lv_
the good: you can use {.!lv_name|{.!Name.}.}

so you can use RAWR-files or translate.ini
done in mobil_light

Pages: [1] 2 3 ... 5