ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
1830
|
Thu May 18 08:08:25 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | ELOG V2.6. | Re: Linking two sets of logbooks |
You can achieve that with the top text option, which lets you define some HTML code visible at every ELOG page. Just create a file, let's call it top.html, and put in following contents:
<table class="frame" cellpadding=0 cellspacing=0>
<tr><td class="tabs">
<span class="sltab"><a href="https://cmsdaq.cern.ch/elog/" title="CMS ELOG at CERN">CMSDAQ</a></span>
</td></tr>
</table>
Then put following statement into your elogd.cfg:
Top text = top.html
That should do the job. |
1831
|
Fri May 19 12:10:54 2006 |
| Fergus Lynch | flynch@alternativenetworks.com | Request | Windows | ELOG V2.6. | $datetime display | Apologies for being so dense but try as I might I cannot get the $datetime display to show only Day, Month , Year,hour and minutes, NOT seconds.
I dont nee the seconds display!
Could you please clarify the systax for me.
Many Thanks
Fergus |
1832
|
Fri May 19 12:19:38 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | Windows | ELOG V2.6. | Re: Re: $datetime display |
Fergus Lynch wrote: | Apologies for being so dense but try as I might I cannot get the $datetime display to show only Day, Month , Year,hour and minutes, NOT seconds.
I dont nee the seconds display!
Could you please clarify the systax for me. |
Can you show me the elogd.cfg syntax you try to use? |
1833
|
Fri May 19 14:01:34 2006 |
| Fergus Lynch | flynch@alternativenetworks.com | Request | Windows | ELOG V2.6. | Re: Re: $datetime display |
Stefan Ritt wrote: |
Fergus Lynch wrote: | Apologies for being so dense but try as I might I cannot get the $datetime display to show only Day, Month , Year,hour and minutes, NOT seconds.
I dont nee the seconds display!
Could you please clarify the systax for me. |
Can you show me the elogd.cfg syntax you try to use? |
Hi There!
See in bold below (I'm sure this is me being dense, so thanks for quick reply)
Fergus
Theme = default
Comment = Recording work carried out on any core system
Time format = %B %d, %Y, %H:%M
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type, Status |
1834
|
Sat May 20 09:48:52 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | Windows | ELOG V2.6. | Re: Re: $datetime display |
Fergus Lynch wrote: |
Stefan Ritt wrote: |
Fergus Lynch wrote: | Apologies for being so dense but try as I might I cannot get the $datetime display to show only Day, Month , Year,hour and minutes, NOT seconds.
I dont nee the seconds display!
Could you please clarify the systax for me. |
Can you show me the elogd.cfg syntax you try to use? |
Hi There!
See in bold below (I'm sure this is me being dense, so thanks for quick reply)
Fergus
Theme = default
Comment = Recording work carried out on any core system
Time format = %B %d, %Y, %H:%M
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type, Status |
What about
Time format = %B %d, %Y, %H:%M:%S |
1835
|
Mon May 22 10:37:36 2006 |
| Fergus Lynch | flynch@alternativenetworks.com | Request | Windows | ELOG V2.6. | Re: Re: $datetime display |
Stefan Ritt wrote: |
Fergus Lynch wrote: |
Stefan Ritt wrote: |
Fergus Lynch wrote: | Apologies for being so dense but try as I might I cannot get the $datetime display to show only Day, Month , Year,hour and minutes, NOT seconds.
I dont nee the seconds display!
Could you please clarify the systax for me. |
Can you show me the elogd.cfg syntax you try to use? |
Hi There!
See in bold below (I'm sure this is me being dense, so thanks for quick reply)
Fergus
Theme = default
Comment = Recording work carried out on any core system
Time format = %B %d, %Y, %H:%M
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type, Status |
What about
Time format = %B %d, %Y, %H:%M:%S |
Thanks, did the trick and working perfectly (I was being dense!) |
1836
|
Wed May 24 08:22:36 2006 |
| Ed To | eto@arc.nasa.gov | Question | Windows | 2.6.1 | Display legal banner | Hi,
I read somewhere that javascript is supported with elog. For legal reasons, I have to post a legal banner before the login prompt. Can you tell me how to do this? I'm not a programmer, but I guess I could use the javascript alert command to do this. What file would I need to change?
Thank you for your help.
Ed. |
1837
|
Wed May 24 09:00:34 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.6.1 | Re: Display legal banner |
Ed To wrote: | I read somewhere that javascript is supported with elog. For legal reasons, I have to post a legal banner before the login prompt. Can you tell me how to do this? I'm not a programmer, but I guess I could use the javascript alert command to do this. What file would I need to change? |
Unfortunately it was not possible to do that for the login page, so I had to add a new option Bottom text login which I implemented just now. You can now indeed use the alert command to do what you want, like
in elog.cfg:
Bottom text login = alert.html
and in alert.html:
<script language="JavaScript" type="text/javascript">
<!--
alert("Hello world");
//-->
</script>
or whatever legal statement you have to make.
The new version can be downloaded as elog261-5.exe from the home page. |
|