Yep i do understand that...
Only in the creative there are a lot options possible [ say thanks to you!!]
An i can save the creative to.
And place the thing back after a update,:-)
Or is this a stupid idea?
Moderators: leecollings, htilburgs, robgeerts
Yep i do understand that...
Code: Select all
blocks['174'] = {};
blocks['174']['width'] = 4;
blocks['174']['width_smartphone'] = 6;
Code: Select all
// RPI Info //
blocks[347] = {} // CPU %
blocks[347]['width'] = 6;
blocks[347]['title'] = 'CPU usage';
blocks[347]['image'] = 'rpi.png';
blocks[348] = {} // CPU temp
blocks[348]['width'] = 6;
blocks[348]['title'] = 'CPU temp';
blocks[348]['image'] = 'tuxpi.jpg';
Code: Select all
.block_347 .title {
text-align: center !important;
vertical-align: middle;
font-size: 15px !important;
font-weight: 900 !important;
color: yellow;
}
Code: Select all
.block_347 .image {
width: 200% !important;
}
Code: Select all
.block_347 .image {
height: 50px !important;
width: 50px !important;
}
Code: Select all
blocks[347]['switch'] = true;
Try, this probably will work....
Code: Select all
.block_347 img.icon,
.block_348 img.icon {
height: 50px !important;
width: 50px !important;
}
Code: Select all
img.icon {
max-width: 50px !important
}
Use something like:RobertK wrote: ↑Monday 12 February 2018 23:17 Thanks! img.icon ... I would not have guessed that.
It works after I also increased max-width for img.icon (otherwise the width of the image did not change, only the heigth changed).
And now I have to figure out how to shift the title and data parts a bit, such that the image and the text do not overlap .Code: Select all
img.icon { max-width: 50px !important }
Thanks for pointing me in the right direction!
Code: Select all
.block_347 .title,
.block_348 .title {
margin-left: 10px !important;
}
.block_347 .state,
.block_348 .state {
margin-left: 10px !important;
}
Code: Select all
<div class="col-xs-8 col-icon"...<\div>
<strong class="title">CPU usage</strong>
<br />
<span>2.08%</span>
</div>
You can install the beta in other directory, so you always have the stable version to fallback to.RobertK wrote: ↑Wednesday 14 February 2018 23:50 Thanks!
The current beta version of the getStateBlock() routine appears to be too different from the (stable) version which I use, to cherrypick the changes
and try them out. I will try with a full beta version (including these changes) later this week.
Thanks for picking this us so quick.
Code: Select all
blocks[s1] = {}
Users browsing this forum: No registered users and 1 guest