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 ... 12
1
HTML & templates / Re: Live 3 Template With NewFolder, Rename etc
« on: March 18, 2020, 05:08:47 AM »
Live feeling for 2.4Beta and mobil-light

Code: [Select]
[+]
<style>
#menu-panel,header {background: linear-gradient(to bottom, rgb(7, 58, 121) 0%, rgb(36, 115, 162) 40%, rgb(120, 187, 205) 80%, rgb(252, 254, 254) 100%);} /*blue*/
/* header {background: linear-gradient(to bottom, rgb(119, 6, 6) 0%, rgb(176, 48, 48) 52%, rgb(217, 144, 144) 83%, rgb(254, 252, 252) 100%);} red*/
</style>


2
Beta / Re: version 2.4 - addon
« on: March 08, 2020, 08:32:28 AM »
sets dark mode by OS

Code: [Select]
[+]
<script>
if(window.matchMedia('(prefers-color-scheme:dark)').matches) document.body.classList.add('dark-theme')  //light remove
</script>


a better dark theme (with sufficiently high contrast ratio)

Code: [Select]
[+]
<style>
body.dark-theme .item-props {color:#8A8A8A}
body.dark-theme #title-bar {color:#C9C9C9}
body.dark-theme a.pure-button {color:#303030}
body.dark-theme .item .comment {color:#B3B3B3 }
</style>
increase Lighthouse Accessibility 7%
other todo to increase Accessibility: add alt to img, add title to all buttons


Easter bunny will bring's lazyimages (thumbs) with picviewer 🐇
update: also works with the current Firefox

3
HTML & templates / Re: Responsive small screen template
« on: February 29, 2020, 07:57:26 AM »
if you need more file-icons
Code: [Select]
[+]
<script>
var style = document.createElement('style')
style.innerHTML = `
li a::before {font: normal normal normal 16px/1 FontAwesome; color:black}
a[href$=".xls"]::before {content:"\\f1c3  "}
a[href$=".pdf"]::before {content:"\\f1c1  "}
a[href$=".doc"]::before {content:"\\f1c2  "}
`
document.head.appendChild(style)

var style = document.createElement('link')
style.rel='stylesheet'
style.href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'
document.head.appendChild(style)
</script>

4

welcome,

Code: [Select]
not found
{.set ini|{.no pipe|ban-list={.from table|#ini|ban-list.}%ip%#are you trying to break me? {.time.}|.}.}

5
Beta / Re: version 2.4 - addon
« on: February 23, 2020, 06:30:26 AM »
Select 🎉 songs for playlist (same as in mobil-light_V5.4.1)

6
Beta / Re: version 2.4
« on: February 17, 2020, 04:34:53 AM »
i just published latest fixes in RC3 (first post)
windows defender:
rc3    1 danger  :'( Trojan:Win32/Detplock
rc2    0 danger
2.3m 0 danger



7
HTML & templates / Re: Responsive small screen template - update
« on: February 14, 2020, 04:38:43 AM »
changelog:
select songs, topbanner

8
HFS ~ HTTP File Server / Re: Maybe... Websockets?!!
« on: February 03, 2020, 05:11:18 PM »
Edge79 (is being rolled out. I don't have it yet) supports it

in my aforementioned apps I fallback to polling if not supported


9
HFS ~ HTTP File Server / Re: Maybe... Websockets?!!
« on: February 01, 2020, 07:20:11 AM »
you can use Server-sent events

I've used it last in Video player to watch with friends and earlier in my Chat application

10
HTML & templates / Re: How to show New icon on last upload
« on: January 25, 2020, 04:50:37 AM »
HFS2.4 shows a star ★
you need to set Flag files added recently... in VFS

Or use formatmodifiedV3 (reuploaded) 🆕
(or add +'\uD83C\uDD95';  //min to formatmodifiedV2)

11
HTML & templates / Re: Responsive small screen template
« on: January 18, 2020, 05:01:13 AM »
But, just imagine that full file thumbnails ARE needed via mobile data, but only as needed.
In lazyimages for V5.4 full file thumbnails are also shown on mobile, if they are cached

Show a image, refresh folder and you will see the thumbnail.
Or load a page on wifi, then turn wifi off (go to mobile), refresh and you will see thumbnails.
This works currently only in FF for Android, because Chrome native lazy load.
I've re-uploaded file, which also works with Chrome Android.

P.S. Edge79 (I don't have it yet) supports native lazy loading via flag


Edit: Listen to music offline

load the music folder over WiFi with urlvar /?cacheAll=1
then jogging in a forest without cell phone reception and listen to music
and let others know in advance where you go :)


Edit: Select songs for playlist
queue_audio will build-in in next version (probably in mid-February)


Edit: Review: MP_theme is a clone from dannys Throwback


12
HTML & templates / Re: Responsive small screen template
« on: January 16, 2020, 03:36:20 PM »
Mobil-Light with several add-ons pre-installed. 
Mint theme, and a new hfs.filelist.tpl which provides short-date.
Why hide time on large screens?
I recommend to use formatmodified instead of changing hfs.filelist.tpl

13
HTML & templates / Re: Responsive small screen template
« on: January 06, 2020, 12:43:42 PM »
(deleted)
Could you help me do only-on-demand thumbnails for this version of Throwback?

Replace
Code: [Select]
document.addEventListener("DOMContentLoaded", function() {with
Code: [Select]
document.addEventListener("click", function(e) {if(!e.target.href||!e.target.href.endsWith('.jpg')) return;e.preventDefault();or (with a extra button)
Code: [Select]
document.querySelector('#mylazyloadbutton').addEventListener("click", function() {

14
HTML & templates / Re: Responsive small screen template
« on: January 03, 2020, 08:56:39 AM »
Thanks for review.
shuffle play needs addon
this fixes also nexttrack
there's no extra button for shuffle-play

Lazyimages don't load on cellular network.
prevent lazyload until clicking image link:
Code: [Select]
[+]
<script>
var thumbsize=0;
document.querySelector('#files').addEventListener('click', function(){
 var c=[...document.querySelectorAll('a[href$=".jpg"]')]
 if(!c.includes(event.target)) return
 thumbsize=64
 render(b)  //
})
</script>
lazyimages for FF needs adding if(!thumbsize) return;

On firefox, With lazyimages installed, slideshow works. @danny: In your (deleted) file you have removed class gri.

nothing new: newtemplate was bundled with V5.3

15
HTML & templates / Re: Responsive small screen template -update
« on: January 01, 2020, 04:11:36 PM »
I would like to see integrated (pre-assembled) version with mp3-player + photoviewer already within.
Edit: latest version

Features:
never reloads the page
logout(Edge)
searchcategorie
web-app-capable
generate thumbnails on upload
build-in pictureviewer(chrome77)
build-in audioplayer
only 10k
only 10k, this is why additional Slideshow (photoframe) is a addon,
but you can simply add the code at the end

changelog: better addons (with custom event), selectall

Pages: [1] 2 3 ... 12