Darstellung der Farblegende:

#from user.weatherservicesradar import DwdRadar

...

                 #for $idx,$val in $DwdRadar.TEXT['de'].items()

                 <p>

                 <i class="statusIcon" 
style="background-color:$DwdRadar.COLORS[$idx]"></i>

                 $val

                 </p>

                 #end for

Und in einer CSS-Datei:

*.statusIcon* {

  *width*:14px;

  *height*:14px;

  *display*:inline-block;

  *border*:1px solid #808080;

}

[image: Farblegende.png]

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/a6c72b4b-e268-4a7a-b3a0-fc14038d321cn%40googlegroups.com.

Reply via email to