make that actually work
This commit is contained in:
parent
0157cdffb3
commit
90ef500ace
|
@ -571,6 +571,10 @@ a {
|
||||||
margin-top: 0.5em;
|
margin-top: 0.5em;
|
||||||
margin-bottom: 0.5em
|
margin-bottom: 0.5em
|
||||||
}
|
}
|
||||||
|
.ibox-head span.color {
|
||||||
|
width: 100%;
|
||||||
|
display: inline-block
|
||||||
|
}
|
||||||
|
|
||||||
/* colors */
|
/* colors */
|
||||||
a {color: #92ebf0}
|
a {color: #92ebf0}
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
[[!templatebody <<ENDBODY
|
[[!templatebody <<ENDBODY
|
||||||
<div class="ibox">
|
<div class="ibox">
|
||||||
|
<h4 class="ibox-head">
|
||||||
[[!color
|
[[!color
|
||||||
foreground=<TMPL_IF colorfg><TMPL_VAR raw_colorfg><TMPL_ELSE>black</TMPL_IF>
|
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>
|
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>
|
<TMPL_IF image>
|
||||||
<img class="ibox-img" src="<TMPL_VAR image>"/>
|
<img class="ibox-img" src="<TMPL_VAR image>"/>
|
||||||
</TMPL_IF>
|
</TMPL_IF>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user