Author Topic: The really fast Throwback (retro) template. Large folders and phones? No problem  (Read 23315 times)

0 Members and 1 Guest are viewing this topic.

Offline danny

  • Tireless poster
  • ****
  • Posts: 189
    • View Profile
    • Startfetch
Re: Introducing: The really fast Throwback (retro) template. Updated.
« Reply #90 on: January 20, 2019, 08:54:33 PM »
Very nice! :D I quickly tested and everything looks good, congrats.
Thanks!  And I have a question:  Is that date reformat script sync or async? 

Offline LeoNeeson

  • Tireless poster
  • ****
  • Posts: 586
  • Solitario...
    • View Profile
    • twitter.com/LeoNeeson
Re: Introducing: The really fast Throwback (retro) template. Updated.
« Reply #91 on: January 21, 2019, 07:38:02 AM »
Is that date reformat script sync or async?
I'm not expert on this, but I guess it's synchronous by default. If you want to make it asynchronous, you could add the attribute 'async', here (marked in red color):

Quote
<script type="text/javascript" language="javascript" async>function mdy(data)

...but I haven't tested (and I don't know if this makes any difference on speed).
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
• I'm open to help and share any file you may need (just ask me) ;)

Offline danny

  • Tireless poster
  • ****
  • Posts: 189
    • View Profile
    • Startfetch
Re: Introducing: The really fast Throwback (retro) template. Updated.
« Reply #92 on: January 22, 2019, 09:34:09 PM »
On the phone, maybe maybe a different script is needed so that the pagination behavior doesn't happen?

Offline danny

  • Tireless poster
  • ****
  • Posts: 189
    • View Profile
    • Startfetch
Re: Introducing: The really fast Throwback (retro) template. Updated.
« Reply #93 on: January 22, 2019, 09:35:29 PM »
for the timestamp: that's why i introduced %item-modified-dt% such format is compatible with {.time.} and you can transform it as you want.
Howabout %item-modified-date% for just the date (not the time).  Please? 
« Last Edit: January 23, 2019, 05:49:15 AM by danny »

Offline dj

  • Tireless poster
  • ****
  • Posts: 152
  • 👣 🐾
    • View Profile
    • PWAs
Re: Introducing: The really fast Throwback (retro) template. Updated.
« Reply #94 on: January 23, 2019, 03:58:28 AM »
@danny, do you mean time?
//year, month, day, hour, minute, second  "numeric", "2-digit"; weekday  "narrow", "short", "long"
{hour: '2-digit', minute: '2-digit'} docu

PS: I added readme.txt to my last post



Offline danny

  • Tireless poster
  • ****
  • Posts: 189
    • View Profile
    • Startfetch
Re: Introducing: The really fast Throwback (retro) template. Updated.
« Reply #95 on: January 23, 2019, 06:00:48 AM »
@danny, do you mean time?{hour: '2-digit', minute: '2-digit'} docu PS: I added readme.txt to my last post
Yes, I'm still having trouble with the script for short date without time.  The phones do synchronous pagination behavior, like scroll, wait, scroll, wait, scroll, wait... 

This needs revised (halp?)
Can I get a version that doesn't make the phone stumble? 
head
Code: [Select]
<script type="text/javascript" language="javascript">function mdy(data) {var options={ year: '2-digit', month: '2-digit', day: 'numeric' }; var locales=navigator.language;document.write( new Date((data*24-613658)*3600*1000).toLocaleString(locales, options)); }</script>file list
Code: [Select]
<td><span class='del' data-it='%item-url%'></span></td>
« Last Edit: January 24, 2019, 12:29:06 PM by danny »

Offline dj

  • Tireless poster
  • ****
  • Posts: 152
  • 👣 🐾
    • View Profile
    • PWAs
Re: Introducing: The really fast Throwback (retro) template. Updated.
« Reply #96 on: January 23, 2019, 05:57:18 PM »
Can I get a version that doesn't make the phone stumble? 
Have you tried my originally version?

Change var ref=document.querySelectorAll('td:nth-child(2)') for Throwback-X

Offline danny

  • Tireless poster
  • ****
  • Posts: 189
    • View Profile
    • Startfetch
Re: Introducing: The really fast Throwback (retro) template. Updated.
« Reply #97 on: January 23, 2019, 08:03:03 PM »
Have you tried my originally version?
Change var ref=document.querySelectorAll('td:nth-child(2)') for Throwback-X
Hours of trying it.  But I couldn't get it installed right (in the template).  It did nothing.  Halp? 
« Last Edit: January 23, 2019, 08:15:55 PM by danny »

Offline dj

  • Tireless poster
  • ****
  • Posts: 152
  • 👣 🐾
    • View Profile
    • PWAs
Re: Introducing: The really fast Throwback (retro) template. Updated.
« Reply #98 on: January 24, 2019, 04:29:24 AM »
Don't forget use ISO Date Format in hfs

Follow members gave a thank to your post:


Offline danny

  • Tireless poster
  • ****
  • Posts: 189
    • View Profile
    • Startfetch
Re: Introducing: The really fast Throwback (retro) template. Updated.
« Reply #99 on: January 24, 2019, 05:20:40 AM »
Don't forget use ISO Date Format in hfs
Thank you so much.  That doesn't slow it down at all. 

It is interesting in folders with a few thousand files, that the long date appears for several seconds before becoming shorter.  Meanwhile, the HTML3 adaptive size tables keep moving and resizing until perfectly fitting the new shorter date.  This is likely if there is a long filename. 
It gets very animated.

The time I'd most like to see that, is for filling in photo thumbnails. 
« Last Edit: January 24, 2019, 12:23:32 PM by danny »

Offline danny

  • Tireless poster
  • ****
  • Posts: 189
    • View Profile
    • Startfetch
Re: Introducing: The really fast Throwback (retro) template. Updated.
« Reply #100 on: January 26, 2019, 07:56:58 PM »
Making good progress on Throwback-X.  But, there's a question:  Should we keep the marquee? 

Questions on style are a bit more important than expected because rate of ~1200 downloads/yr for throwback templates.  I think that the large download volume has 4 causes:  Speed, ALL error pages are error-correcting pages, style is easier for end user; easy to edit. 

So, style which makes end users work better, does make that top-4 list.   
Although Throwback-X put the two branches back together, there may be more releases:
Throwback-X (blue-gray-white)
Throwback-X-Noir (I think that Leo will like it; and, me too)
TB10-Core (build other templates from it, not at post#1, available in the core post)

Actually, I did have two style questions:
Should anything link have underline to help the daftest of end users operate the mouse?  And, should there be the marquee to promote HFS?  Opinions requested--say anything.
« Last Edit: June 10, 2019, 04:28:19 PM by danny »

Offline LeoNeeson

  • Tireless poster
  • ****
  • Posts: 586
  • Solitario...
    • View Profile
    • twitter.com/LeoNeeson
Opinions for the Throwback-X template...
« Reply #101 on: January 26, 2019, 09:06:43 PM »
Throwback-X-Noir (I think that Leo will like it; and, me too)
Sounds cool... 8)

Actually, I did have two style questions:
Should anything link have underline to help the daftest of end users operate the mouse?  And, should there be the marquee to promote HFS?  Opinions requested--say anything.
For me, I think it's OK the way it is. I mean:

A) Should we keep the marquee: for me, no. It was fun to recreate the 1998 version, however, a static footer could be cool (it doesn't need to be a marquee), something like (added at the end of [files]):

Code: [Select]
<br>
<table class=lil width="100%" bgcolor="#DDDDDD">
<tr>
<td align="center" style="font-size:3pt">
<a style="font-size:8pt" href="http://www.rejetto.com/hfs/"><span style="color:red">&#9829;</span> Powered by HFS (HTTP File Server) v%version%</a>
</td>
</tr>
</table>

You can personalize with CSS at you wish, but the important thing to promote HFS is:

Code: [Select]
<a href="http://www.rejetto.com/hfs/"><span style="color:red">&#9829;</span> Powered by HFS (HTTP File Server) v%version%</a>
B) Should any link have underline: for me, no. Like I've said, I think it's OK the way it is.

But that's my own opinion, don't take what I've said like something important, feel free to customize you template the way you like. :)

Cheers,
Leo.-
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
• I'm open to help and share any file you may need (just ask me) ;)

Offline danny

  • Tireless poster
  • ****
  • Posts: 189
    • View Profile
    • Startfetch
Re: Introducing: The really fast Throwback (retro) template. Updated.
« Reply #102 on: January 28, 2019, 06:57:51 AM »
Thanks! The advice on footer is excellent.

Offline Harley

  • Occasional poster
  • *
  • Posts: 10
  • Bonjour
    • View Profile
    • Southwest Spirits
Re: Introducing: The really fast Throwback (retro) template. Updated.
« Reply #103 on: February 18, 2019, 04:45:38 PM »
Has a dumb question, should I be using the downloads from the very first post in May of 2018 for this template or one of the other download links located in one of the replies, I am not a coder, just an HFS user and I kind of got lost in the soup reading the thread, THIS is the post I downloaded from, am I correct?


EDIT:

Well, not sure exactly about all the techy stuffs, is not a true nerd but not a total loss either, 
Throwback9.tpl was EXACTLY what I wanted. I am so grateful.
I just wanted, plain, easy to see, easy to download, just the facts mam.
I got what I wanted. Deals with a lot of older folks, this makes things even more of a snap.
Thank all of you for all your hard work.
Blessings are sent to all of you for good fortune and prosperity.


« Last Edit: February 18, 2019, 05:23:55 PM by Harley »

Offline danny

  • Tireless poster
  • ****
  • Posts: 189
    • View Profile
    • Startfetch
Re: Introducing: The really fast Throwback (retro) template. Updated.
« Reply #104 on: February 21, 2019, 05:46:58 PM »
...should I be using the downloads from the very first post in May of 2018 for this template...THIS is the post I downloaded from, am I correct?  EDIT:...Throwback9.tpl was EXACTLY what I wanted. I am so grateful.  I just wanted, plain, easy to see, easy to download, just the facts mam. I got what I wanted. Deals with a lot of older folks, this makes things even more of a snap...
Yes, that's right, finished updates are at Post#1 (because the rest of the thread is development).  And, thanks!  I'm glad you enjoy it.

Older folks might like Throwback10 even better.  Especially because you can sort by newest, making it easy to find files that you have added recently.  There's no waiting--it sorts instantly.   Edit: And, file search box too.
« Last Edit: June 24, 2019, 12:09:49 PM by danny »

Follow members gave a thank to your post: