Page 39 of 48
Re: Dashticz - Module - Garbage collector
Posted: Monday 23 November 2020 21:23
by Lokonli
Enz0jacco wrote: ↑Friday 20 November 2020 0:35
okay number 1 is fixed by just inserting a new image in the img/garbage folder with the new color.
still looking to get rid of the colon:P
For the colon:
In latest beta there is a new garbage block parameter to configure the date separator.
Code: Select all
block['garbage'] = {
date_separator: ' => ' //change it to any text you like
}
Re: Dashticz - Module - Garbage collector
Posted: Monday 23 November 2020 22:40
by HansieNL
- Spoiler: show
Lokonli wrote: ↑Monday 23 November 2020 18:09
Check latest beta:
Code: Select all
/* This will give the block a red border if trash collection is collected for today */
.trash.trashtoday {
border-color: red
}
/* This will give the block a green border if trash collection is collected for tomorrow*/
.trash.trashtomorrow {
border-color: green
}
/* This will reduce the opacity in case no trash is scheduled for today or tomorrow */
.trash:not(.trashtoday):not(.trashtomorrow) .dt_state {
opacity: 0.2 !important;
}
/* This will increase the font of the trash row that is scheduled for today */
.dt_state .trashtoday {
font-size: 20px
}
Thanks for this option. I'll see tomorrow if the garbage icon and info changes.
Edit: works great!
Re: Dashticz - Module - Garbage collector
Posted: Monday 23 November 2020 23:36
by Enz0jacco
working like a charm! thanx Lokonli
Re: Dashticz - Module - Garbage collector
Posted: Wednesday 25 November 2020 22:09
by madpatrick
Lokonli wrote: ↑Monday 23 November 2020 21:23
Enz0jacco wrote: ↑Friday 20 November 2020 0:35
okay number 1 is fixed by just inserting a new image in the img/garbage folder with the new color.
still looking to get rid of the colon:P
For the colon:
In latest beta there is a new garbage block parameter to configure the date separator.
Code: Select all
block['garbage'] = {
date_separator: ' => ' //change it to any text you like
}
Lokonli
Is it possible to line the seperator after the text ?
Re: Dashticz - Module - Garbage collector
Posted: Friday 27 November 2020 23:42
by Lokonli
madpatrick wrote:Lokonli wrote: ↑Monday 23 November 2020 21:23
Enz0jacco wrote: ↑Friday 20 November 2020 0:35
okay number 1 is fixed by just inserting a new image in the img/garbage folder with the new color.
still looking to get rid of the colon:P
For the colon:
In latest beta there is a new garbage block parameter to configure the date separator.
Code: Select all
block['garbage'] = {
date_separator: ' => ' //change it to any text you like
}
Lokonli
Is it possible to line the seperator after the text ?
Check beta 3.6.8
Sent from my SM-A320FL using Tapatalk
Re: Dashticz - Module - Garbage collector
Posted: Saturday 28 November 2020 10:51
by madpatrick
Lokonli wrote: ↑Friday 27 November 2020 23:42
Lokonli
Check beta 3.6.8
Sent from my SM-A320FL using Tapatalk
Great !!
Re: Dashticz - Module - Garbage collector
Posted: Saturday 28 November 2020 14:40
by HansieNL
With the latest garbage update the text is to long to fit the block on iPad in portret mode.
@lokonli Is it possible to disable the new table layout?
Re: Dashticz - Module - Garbage collector
Posted: Saturday 28 November 2020 18:46
by Lokonli
HansieNL wrote: ↑Saturday 28 November 2020 14:40
With the latest garbage update the text is to long to fit the block on iPad in portret mode.
@lokonli Is it possible to disable the new table layout?
How did it look before?
I can remove the table formatting but then the line 'restafval: 9-12-2020' still won't fit.
Was the font smaller in the previous release?
Re: Dashticz - Module - Garbage collector
Posted: Saturday 28 November 2020 18:55
by madpatrick
Somehow it changed the font settings and also the image to an icon
Re: Dashticz - Module - Garbage collector
Posted: Wednesday 02 December 2020 22:52
by Lokonli
madpatrick wrote: ↑Saturday 28 November 2020 18:55
Somehow it changed the font settings and also the image to an icon
I've added the block parameter 'layout' to the garbage block.
To use the previous plain text layout use:
The new table layout is default, and can be set with:
Re: Dashticz - Module - Garbage collector
Posted: Friday 04 December 2020 16:16
by fvdp80
Does someone know why the collection dates from Mijnafvalwijzer are messed up?
- garbage.jpg (15.2 KiB) Viewed 1299 times
config.js
- Spoiler: show
Code: Select all
blocks['mygarbage'] = {
company: 'mijnafvalwijzer',
zipcode: 'xxxX',
street: xxx',
housenumber: xxx,
maxitems: 5,
width: 4,
use_names: 1,
garbage_mapping: {
gft: ['gft', 'tuin', 'refuse bin', 'green', 'groen', 'Biodégradables', 'snoei'],
pmd: ['plastic', 'pmd', 'verpakking', 'kunststof', 'valorlux'],
papier: ['papier', 'blauw', 'blue', 'recycling bin collection'],
},
garbage: {
gft: {kliko: 'green', code: '#375b23', name: 'GFT', icon: 'img/garbage/kliko_green.png'},
pmd: {kliko: 'orange', code: '#db5518', name: 'Plastic', icon: 'img/garbage/kliko_orange.png'},
papier: {kliko: 'blue', code: '#153477', name: 'Papier', icon: 'img/garbage/kliko_blue.png'},
},
}
Re: Dashticz - Module - Garbage collector
Posted: Friday 04 December 2020 16:50
by Lokonli
Hmm, something goes wrong with the filtering. I'll check.
Re: Dashticz - Module - Garbage collector
Posted: Friday 04 December 2020 17:13
by Lokonli
The 2021 data has been added, but wasn't handled correctly.
Fixed in latest beta.
Re: Dashticz - Module - Garbage collector
Posted: Saturday 05 December 2020 11:27
by madpatrick
Lokonli wrote: ↑Wednesday 02 December 2020 22:52
I've added the block parameter 'layout' to the garbage block.
To use the previous plain text layout use:
The new table layout is default, and can be set with:
Working great !
Re: Dashticz - Module - Garbage collector
Posted: Wednesday 09 December 2020 8:16
by poweredge
- Untitled.png (109.5 KiB) Viewed 1240 times
I read thru the topic - but could find any pointer. can someone tell me how i can:
1 change the date/time/format ? (my other calenders/home agenda is displayed correctly but not the 'afvalwijzer'/den bosch region)
2 the locale is on nl-NL but i see still as well the english names.
Thanks!
Re: Dashticz - Module - Garbage collector
Posted: Wednesday 09 December 2020 9:00
by Enz0jacco
with the new update my break line between the trash type and date is not working anymore. I tried to put the line break in the date separator but that just gives me a </br>.
any other way to get the trash type on top and the date on the bottom?
thnx!
Re: Dashticz - Module - Garbage collector
Posted: Wednesday 09 December 2020 9:45
by Lokonli
Enz0jacco wrote: ↑Wednesday 09 December 2020 9:00
with the new update my break line between the trash type and date is not working anymore. I tried to put the line break in the date separator but that just gives me a </br>.
any other way to get the trash type on top and the date on the bottom?
thnx!
You should get the 'old' behavior if you add 'layout: 0' to your block definition.
(but then of course you'll loose the table formatting)
Re: Dashticz - Module - Garbage collector
Posted: Wednesday 09 December 2020 9:59
by Lokonli
poweredge wrote: ↑Wednesday 09 December 2020 8:16
Untitled.png
I read thru the topic - but could find any pointer. can someone tell me how i can:
1 change the date/time/format ? (my other calenders/home agenda is displayed correctly but not the 'afvalwijzer'/den bosch region)
2 the locale is on nl-NL but i see still as well the english names.
Thanks!
Did you already try with both config settings:
Code: Select all
config['calendarlanguage'] = 'nl_NL';
config['language'] = 'nl_NL';
Re: Dashticz - Module - Garbage collector
Posted: Wednesday 09 December 2020 10:12
by poweredge
config['calendarlanguage'] = 'nl_NL'; did the trick - date format now correct and language adjusted as well .. already had the datatimeformatting OK but not this one ... appreciated
Re: Dashticz - Module - Garbage collector
Posted: Wednesday 09 December 2020 13:26
by Enz0jacco
Lokonli wrote:Enz0jacco wrote: ↑Wednesday 09 December 2020 9:00
with the new update my break line between the trash type and date is not working anymore. I tried to put the line break in the date separator but that just gives me a </br>.
any other way to get the trash type on top and the date on the bottom?
thnx!
You should get the 'old' behavior if you add 'layout: 0' to your block definition.
(but then of course you'll loose the table formatting)
That’s no problem for me! Thnx again!
Sent from my iPad using Tapatalk