Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 233 of 806  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown
  66789   Sun Apr 18 11:54:38 2010 Reply siva kumarsivakumarkp@fastmail.fmQuestionWindows2.7.8 Re: background color and font

Stefan Ritt wrote:

siva kumar wrote:

Stefan,

i recently download the elog server for windows and configured. its working with me fine

i would like to configure my elog server for to display a different color when am giving a specific "value" for a attribute "Status".

from the documentation i found to use the

Style Status Fixed = background-color:green

but with this configuration, the entire raw will be with red color or the specified color. i am looking only for that specific box (Status column) to be with specific color.

my configuration is as follows

Attributes = Author, Type, Category,  Subject, Location, Problem Description, Status

Options Status = Fixed, Under Process, Not Fixed

Style Status Fixed  = background-color:green

Style Status Not Fixed  = background-color:red

Style Status Under Process  = background-color:yellow

Am attaching two images, one is current display and next one is what i am looking for

am not sure about will it possible or not.  please guide me. if it possible with javascript please tell me how i can include a external javascript for this pupose.

Thanks in advance

siva

I have added a new option for you:

Cell Style <attribute> <value> = ...

which does exactly that. The new version is 2.7.8-5 is ready for download. 

 Dear Stefan,

I really appreciate you doing this for me. i downloaded the latest version and configured as you said. its working very well. Actually this is what i am exactly looking for. Thank you very much

i would like to ask you about one more issue.

is it possible to deduct a numeric attribute from another numeric attrubute

let me explain clearly. suppose i have two attribute, both having a numeric value which is submitted by the user.

i would like to get its difference of these two attribute in an another attribute

please let me know its possible or not

once again i would like to appreciate you for making this wonderful application and helping me to resolve the issue

Best Regards

siva

 

  66790   Mon Apr 19 08:49:49 2010 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.7.8 Re: background color and font

siva kumar wrote:

I really appreciate you doing this for me. i downloaded the latest version and configured as you said. its working very well. Actually this is what i am exactly looking for. Thank you very much

i would like to ask you about one more issue.

is it possible to deduct a numeric attribute from another numeric attrubute

let me explain clearly. suppose i have two attribute, both having a numeric value which is submitted by the user.

i would like to get its difference of these two attribute in an another attribute

please let me know its possible or not

once again i would like to appreciate you for making this wonderful application and helping me to resolve the issue

You can do this is JavaScript. Just have a look here:

https://midas.psi.ch/elogs/Contributions/30 

  66802   Mon May 3 23:12:55 2010 Reply Ruslanrusslan@cern.chQuestionWindows2.7.8 Re: background color and font

Stefan Ritt wrote:

siva kumar wrote:

Stefan,

i recently download the elog server for windows and configured. its working with me fine

i would like to configure my elog server for to display a different color when am giving a specific "value" for a attribute "Status".

from the documentation i found to use the

Style Status Fixed = background-color:green

but with this configuration, the entire raw will be with red color or the specified color. i am looking only for that specific box (Status column) to be with specific color.

my configuration is as follows

Attributes = Author, Type, Category,  Subject, Location, Problem Description, Status

Options Status = Fixed, Under Process, Not Fixed

Style Status Fixed  = background-color:green

Style Status Not Fixed  = background-color:red

Style Status Under Process  = background-color:yellow

Am attaching two images, one is current display and next one is what i am looking for

am not sure about will it possible or not.  please guide me. if it possible with javascript please tell me how i can include a external javascript for this pupose.

Thanks in advance

siva

I have added a new option for you:

Cell Style <attribute> <value> = ...

which does exactly that. The new version is 2.7.8-5 is ready for download. 

Hello Stefan,

I can not find 2.7.8-5 tar file. Could you please point where it is?

Thanks,

Ruslan.

 

  66803   Tue May 4 09:22:19 2010 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.7.8 Re: background color and font

Ruslan wrote:

 

Hello Stefan,

I can not find 2.7.8-5 tar file. Could you please point where it is?

Thanks,

Ruslan. 

This is an intermediate (-5) release. Usually I do not build the tar files, since linux users can always grab the source code via SVN and built it themselves. I just make the for the Windows users since most of the do not have a C compiler. Exceptionally I made a 2.7.8-5.tar file for you, which you can obtain from the download area. 

  66804   Tue May 4 09:40:40 2010 Reply Ruslanrusslan@cern.chQuestionWindows2.7.8 Re: background color and font

Stefan Ritt wrote:

Ruslan wrote:

 

Hello Stefan,

I can not find 2.7.8-5 tar file. Could you please point where it is?

Thanks,

Ruslan. 

This is an intermediate (-5) release. Usually I do not build the tar files, since linux users can always grab the source code via SVN and built it themselves. I just make the for the Windows users since most of the do not have a C compiler. Exceptionally I made a 2.7.8-5.tar file for you, which you can obtain from the download area. 

 Thanks a lot Stefan.

  66805   Tue May 4 10:48:06 2010 Reply Ruslanrusslan@cern.chQuestionLinux2.7.8 Re: background color and font

Stefan Ritt wrote:

Ruslan wrote:

 

Hello Stefan,

I can not find 2.7.8-5 tar file. Could you please point where it is?

Thanks,

Ruslan. 

This is an intermediate (-5) release. Usually I do not build the tar files, since linux users can always grab the source code via SVN and built it themselves. I just make the for the Windows users since most of the do not have a C compiler. Exceptionally I made a 2.7.8-5.tar file for you, which you can obtain from the download area. 

The problem is still there in 2.7.8-5. The following line 'Cell Style Status Done = background-color:green' does not do anything whereas 'Style Status Done = background-color:green' highlights the whole row. Is that fixed?

Thanks,

Ruslan.

  66806   Tue May 4 11:43:22 2010 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.7.8 Re: background color and font

Ruslan wrote:

 

The problem is still there in 2.7.8-5. The following line 'Cell Style Status Done = background-color:green' does not do anything whereas 'Style Status Done = background-color:green' highlights the whole row. Is that fixed?

Thanks,

Ruslan.

Then it must be a typo in your elogd.cfg, or you forgot to restart the server. At the bottom of the elog page you must see ELOG V2.7.8-2294 like on this page. For the Demo logbook (accessible via "Demo" on the top left corner of this page, you can see how it works (Type=Routine gets green).

  66807   Tue May 4 12:32:28 2010 Reply Ruslanrusslan@cern.chQuestionLinux2.7.8 Re: background color and font

Stefan Ritt wrote:

Ruslan wrote:

 

The problem is still there in 2.7.8-5. The following line 'Cell Style Status Done = background-color:green' does not do anything whereas 'Style Status Done = background-color:green' highlights the whole row. Is that fixed?

Thanks,

Ruslan.

Then it must be a typo in your elogd.cfg, or you forgot to restart the server. At the bottom of the elog page you must see ELOG V2.7.8-2294 like on this page. For the Demo logbook (accessible via "Demo" on the top left corner of this page, you can see how it works (Type=Routine gets green).

 Right, I should have restarted the server. Thanks! Everything looks perfect now!

ELOG V3.1.5-3fb85fa6