Implemented 'style <attribute> <value> = ...'

SVN revision: 2080
This commit is contained in:
Stefan Ritt 2008-03-12 21:19:15 +00:00
parent c00c714057
commit aa60682437
2 changed files with 1960 additions and 2218 deletions

View File

@ -1499,6 +1499,22 @@ Subst on edit author = $full_name
except that several user names or user emails can be selected at once except that several user names or user emails can be selected at once
using check boxes. using check boxes.
</li> </li>
<li>
<b><code>Style &lt;attribute&gt; &lt;value&gt; = &lt;style&gt;</code></b><br>
Optional formatting of logbok entries in list mode. For some logbooks
it might be useful to display different entries in a different color
for example. To achieve this, a CSS style sheet can be attached to an
entry based on the value of an attribute. If you have an attribute
called <code><b>importnace</b></code> and you want to highlight
all entries where <code><b>importnace</b></code> is <code><b>severe</b></code>
for example, you can specify following style:
<pre>
Style importance severe = background-color:red
</pre>
For possible formattings, please refer to some CSS documentation. You can
change the colors, font styles and sizes.
</li>
<li> <li>
<code><b>Change &lt;attribute&gt; = &lt;string&gt;</b></code><br> <code><b>Change &lt;attribute&gt; = &lt;string&gt;</b></code><br>
Instead of subsituting an attribute, the original attribute can be kept Instead of subsituting an attribute, the original attribute can be kept

File diff suppressed because it is too large Load Diff