Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create piusv.html #1

Merged
merged 1 commit into from
Jan 3, 2025
Merged

Create piusv.html #1

merged 1 commit into from
Jan 3, 2025

Conversation

wvhn
Copy link

@wvhn wvhn commented Jan 2, 2025

No description provided.

@SergeoLacruz SergeoLacruz merged commit 334c192 into SergeoLacruz:develop Jan 3, 2025
4 checks passed
@SergeoLacruz
Copy link
Owner

Thanks for the contribution

@SergeoLacruz
Copy link
Owner

Looks odd here:
widget

@wvhn
Copy link
Author

wvhn commented Jan 3, 2025

Right. You need the icons "status_led.svg" from smartVISU develop branch:
./icons/sw: https://github.com/Martin-Gleiss/smartvisu/blob/develop/icons/sw/status_led.svg
./icons/ws: https://github.com/Martin-Gleiss/smartvisu/blob/develop/icons/ws/status_led.svg

I don't want to integrate the collapsible block into the widget because that causes problems with the pages generated automatically by the smartvisu plugin of shNG. (They come with their own blocks). On the other hand, the standard collapsible blocks align the contents centered, So I put a div around the widget if I use it in a collapsible block:

<div style="text-align: left; margin-left:4%; margin-right: 4%;">
	{{piusv.info('', 'installation.bus.usv', 'full')}}
</div>

I am still not happy with the responsiveness of the table and the way text overflow is handled. It looked much better on my laptop yesterday than now on the desktop computer. Maybe you have a better way to format it on different devices.
grafik

@wvhn wvhn deleted the patch-1 branch January 3, 2025 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants