make that actually work

master
an 2020-11-22 22:37:19 -07:00
bovenliggende 0157cdffb3
commit 90ef500ace
2 gewijzigde bestanden met toevoegingen van 7 en 1 verwijderingen

Bestand weergeven

@ -571,6 +571,10 @@ a {
margin-top: 0.5em;
margin-bottom: 0.5em
}
.ibox-head span.color {
width: 100%;
display: inline-block
}
/* colors */
a {color: #92ebf0}

Bestand weergeven

@ -1,9 +1,11 @@
[[!templatebody <<ENDBODY
<div class="ibox">
<h4 class="ibox-head">
[[!color
foreground=<TMPL_IF colorfg><TMPL_VAR raw_colorfg><TMPL_ELSE>black</TMPL_IF>
background=<TMPL_IF colorbg><TMPL_VAR raw_colorbg><TMPL_ELSE>white</TMPL_IF>
text="<h4 class='ibox-head'><TMPL_VAR name></h4>"]]
text="<TMPL_VAR name>"]]
</h4>
<TMPL_IF image>
<img class="ibox-img" src="<TMPL_VAR image>"/>
</TMPL_IF>