mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Implemented 'style <attribute> <value> = ...'
SVN revision: 2080
This commit is contained in:
parent
c00c714057
commit
aa60682437
@ -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 <attribute> <value> = <style></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 <attribute> = <string></b></code><br>
|
<code><b>Change <attribute> = <string></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
|
||||||
|
|||||||
2174
src/elogd.c
2174
src/elogd.c
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user