mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Added top test
SVN revision: 664
This commit is contained in:
parent
d7a24c3952
commit
7f35424dba
@ -21,9 +21,11 @@
|
||||
[<a class=nav href="#global">Global</a>]
|
||||
- Logbooks :
|
||||
[<a class=nav href="#general">General</a>]
|
||||
[<a class=nav href="#groups">Logbook groups</a>]
|
||||
[<a class=nav href="#attrib">Attributes</a>]
|
||||
[<a class=nav href="#conditional">Conditional Attributes</a>]
|
||||
[<a class=nav href="#email">E-mail</a>]
|
||||
[<a class=nav href="#access">Access</a>]
|
||||
[<a class=nav href="#access">Access Control</a>]
|
||||
[<a class=nav href="#flags">Flags</a>]
|
||||
[<a class=nav href="#themes">Themes</a>]
|
||||
* </div>
|
||||
@ -246,6 +248,7 @@ The user and group to run the elogd daemon under when started by root.<p>
|
||||
</UL>
|
||||
|
||||
<hr>
|
||||
<a name="groups"><hr>
|
||||
<div class=section> Groups of logbooks </div>
|
||||
<p>
|
||||
|
||||
@ -280,6 +283,43 @@ to the selected upper group. Please note that a logbook can be contained in more
|
||||
group, but then it should not be the first logbook in those groups. The colors of the tabs
|
||||
and the title bar can be specified in the CSS file.<p>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class=section> Top groups </div>
|
||||
<p>
|
||||
|
||||
Sometimes groups of logbooks should be completely separate. Imagine two groups of logbooks,
|
||||
one for the engineering department and one for the administration department. These groups
|
||||
should have different administrators, and the logbook tabs at the top of the screen should
|
||||
not show the logbooks from the other department. Prior to ELOG version 2.4.1, one had to
|
||||
run two elogd servers in parallel, listening under different ports. Since 2.4.1, one can achieve
|
||||
the same behaviour using <code><b>Top groups</b></code>. The configuration could look like this:
|
||||
|
||||
<UL><pre>
|
||||
Group Linux PCs = Red Hat, Debian, Mandrake
|
||||
Group Windows PCs = 98, ME, NT, XP, CE
|
||||
Group CE = 1.0, 2.UL
|
||||
|
||||
Top group engineering = Linux PCs, Windows PCs
|
||||
Top group administration = Employees, Purchases
|
||||
|
||||
[global engineering]
|
||||
Password file = engineers.pwd
|
||||
Admin user = stefan
|
||||
|
||||
[global administration]
|
||||
Password file = admin.pwd
|
||||
Admin user = bill
|
||||
</UL></pre>
|
||||
|
||||
Note that there can be a <b><code>[global]</code></b> section for each top level group of logbooks.
|
||||
The rule is that a configuration setting in an individual logbook section overrides a setting
|
||||
in the <b><code>[global <top group>]</code></b> setting, which by itsel overrides a setting
|
||||
in the <b><code>[global]</code></b> section. This way one can define settings for all top level
|
||||
groups (such as the SMTP host) in the <b><code>[global]</code></b> section, and define different
|
||||
password files and administrators in the individual top level group sections.
|
||||
<p>
|
||||
|
||||
<hr>
|
||||
<div class=title> Individual logbook options </div>
|
||||
<p>
|
||||
@ -539,21 +579,34 @@ switch between the different display modi:<br>
|
||||
</small>
|
||||
</pre>
|
||||
|
||||
<li><b><code>Bottom text = <file></code></b>
|
||||
</br>
|
||||
If this option is present, the HTML contents of <b><code>file</code></b> is displayed at
|
||||
the bottom of an Elog page instead of the little Elog home page link. It can contain for
|
||||
example a link back to the main logbook selection page like:
|
||||
<li><b><code>Top text = <file> | <string></code></b>
|
||||
<br>
|
||||
The text of this option gets displayed at the top of every Elog page.
|
||||
It can be a string or a filename which gets displayed. Might be useful
|
||||
to display company logos etc.<br>
|
||||
<br>
|
||||
|
||||
If a file is specified, it must be present in the resource directory.
|
||||
Alternatively, an absolute path can be used if the file
|
||||
name starts with a <b><code>"/"</code></b> (Unix) or <b><code>"\"</code></b> or <b><code>
|
||||
"x:"</code></b> (Windows).
|
||||
<p>
|
||||
|
||||
<li><b><code>Bottom text = <file> | <string></code></b>
|
||||
<br>
|
||||
The text of this option gets displayed at the bottom of every Elog page
|
||||
instead of the little Elog home page link. It can be a string or a file.
|
||||
It can contain for example a link back to the main logbook selection page like:
|
||||
|
||||
<pre>
|
||||
<center><a href="/">Main page</a></center>
|
||||
</pre>
|
||||
|
||||
Or it can contain other useful links. The file must be present in the resource directory.
|
||||
Or it can contain other useful links. If a file is specified, it must
|
||||
be present in the resource directory.
|
||||
Alternatively, an absolute path can be used if the file
|
||||
name starts with a <b><code>"/"</code></b> (Unix) or <b><code>"\"</code></b> or <b><code>
|
||||
"x:"</code></b> (Windows).
|
||||
|
||||
<p>
|
||||
|
||||
<li><b><code>Help URL = <URL></code></b>
|
||||
@ -1466,7 +1519,7 @@ These two images display the same logbook entry using different themes:
|
||||
<div class=footer>
|
||||
Content by <a class=nav href="mailto:Stefan.Ritt@psi.ch">Stefan Ritt</a>,
|
||||
Web pages by <a class=nav href="mailto:fredp@mygale.org">Fred Pacquier</a>
|
||||
- last modified on 19/12/2001
|
||||
- last modified on 12/01/2004
|
||||
</div>
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user