ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
69259
|
Tue Nov 17 12:10:07 2020 |
| David Dunne | ddunne@seven.com.au | Question | Linux | 3.1.4 | Style <attribute> and Cell Style <attribute> on the same row |
Query
(FYI, OS = FreeBSD, Elog Version as showing on logon box = V3.1.4-)
Is it possible to use both Style <attribute> and Cell Style <attribute> on the same row?
For example, have a Logbook containing several Attributes and display a subset of those attributes in Summary Mode. Two attributes are of interest for this query which are part of the attributes displayed in Summary Mode, attributes ‘Assign Line’ and ‘Service’
If the ‘Attribute Assign Line = Assign 1’ then shade all cells in that row #808080
but if the ‘Attribute Service = 1600’ always shade that cell #7A5776
Config file includes
Style Assign Line Assign 1 = background-color:#808080
Cell Style Service 1600 = background-color:#7A5776
The result is the row gets shaded #808080 if ‘Assign Line = Assign Line 1’ but fails to shade the Service cell colour #7A5776 if it equals 1600
Extract from HTML source for the ‘1600’ cell when both conditions are correct shows both background-color values are present and the cell is styled the first value listed (which is Style Assign Line Assign 1 = background-color:#808080 but I always want #7A5776 for cell Service when it is of value 1600)
.
<td class="list2" style="background-color:#808080" style="background-color:#7A5776"><a href="../Daily/1">1600</a></td>
Thank you,
David |
69280
|
Tue Dec 15 14:50:55 2020 |
| Satyajit Jena | satya.ino@gmail.com | Question | Linux | 3.1.4 | Is there a way to upload a file in custom input? |
Hi,
I am trying to implement a Custom input forms by following this https://elog.psi.ch/elogs/Contributions/49. Is there a way to also insert an image or files to it? I want to take a snap from the iPad and want that to go as an attachment or attach a file(s) into the form. Is there a way to do that?
Your suggestions are highly appreciated.
Regards,
sjena
|
69281
|
Tue Dec 15 15:19:25 2020 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 3.1.4 | Re: Is there a way to upload a file in custom input? |
When you submit a "normal" elog entry, you can click on "Choose file" to add an attachment. On a mobile device, you will then be asked to select a photo from your library or take one with your camera. You can do the same on a custom form. You have to extract the code from the normal submissoin form and program it on your custom page. It needs however some work and might not be straight forward.
Stefan
Satyajit Jena wrote: |
Hi,
I am trying to implement a Custom input forms by following this https://elog.psi.ch/elogs/Contributions/49. Is there a way to also insert an image or files to it? I want to take a snap from the iPad and want that to go as an attachment or attach a file(s) into the form. Is there a way to do that?
Your suggestions are highly appreciated.
Regards,
sjena
|
|
69282
|
Tue Dec 15 17:41:57 2020 |
| Satyajit Jena | satya.ino@gmail.com | Question | Linux | 3.1.4 | Re: Is there a way to upload a file in custom input? |
Thanks Stefan,
I am not yet able to figure out how attachment submission is done, I am trying. It would be helpful if you can refer me to some pointer.
With regards,
satyajit
Stefan Ritt wrote: |
When you submit a "normal" elog entry, you can click on "Choose file" to add an attachment. On a mobile device, you will then be asked to select a photo from your library or take one with your camera. You can do the same on a custom form. You have to extract the code from the normal submissoin form and program it on your custom page. It needs however some work and might not be straight forward.
Stefan
Satyajit Jena wrote: |
Hi,
I am trying to implement a Custom input forms by following this https://elog.psi.ch/elogs/Contributions/49. Is there a way to also insert an image or files to it? I want to take a snap from the iPad and want that to go as an attachment or attach a file(s) into the form. Is there a way to do that?
Your suggestions are highly appreciated.
Regards,
sjena
|
|
|
69295
|
Tue Feb 2 04:01:21 2021 |
| MATT TERRON | matao11235@gmail.com | Question | Linux | Windows | 3.1.4 | Different Top Groups or Groups have the same logbook name |
I have built different top groups for different departments. But occasionally these different top groups have the same logbook name, say 'Maintenance Log'. So is there a way I can have the same logbook name under different 'Top Groups', rather than rename these logbooks as 'Department1 Maintenance Log' all the way to 'Department_X Maintenance Log'? |
69296
|
Tue Feb 2 07:43:49 2021 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | Windows | 3.1.4 | Re: Different Top Groups or Groups have the same logbook name |
Unfortunately you have to name these top groups differently, because they are internally used for the database name.
MATT TERRON wrote: |
I have built different top groups for different departments. But occasionally these different top groups have the same logbook name, say 'Maintenance Log'. So is there a way I can have the same logbook name under different 'Top Groups', rather than rename these logbooks as 'Department1 Maintenance Log' all the way to 'Department_X Maintenance Log'?
|
|
69297
|
Tue Feb 2 08:17:15 2021 |
| MATT TERRON | matao11235@gmail.com | Question | Linux | Windows | 3.1.4 | Re: Different Top Groups or Groups have the same logbook name |
So both Top Group names and Logbook names should be unique inside one .cfg file, is that correct?
Stefan Ritt wrote: |
Unfortunately you have to name these top groups differently, because they are internally used for the database name.
MATT TERRON wrote: |
I have built different top groups for different departments. But occasionally these different top groups have the same logbook name, say 'Maintenance Log'. So is there a way I can have the same logbook name under different 'Top Groups', rather than rename these logbooks as 'Department1 Maintenance Log' all the way to 'Department_X Maintenance Log'?
|
|
|
69298
|
Tue Feb 2 08:25:46 2021 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | Windows | 3.1.4 | Re: Different Top Groups or Groups have the same logbook name |
That's correct.
Stefan Ritt wrote: |
Unfortunately you have to name these top groups differently, because they are internally used for the database name.
MATT TERRON wrote: |
I have built different top groups for different departments. But occasionally these different top groups have the same logbook name, say 'Maintenance Log'. So is there a way I can have the same logbook name under different 'Top Groups', rather than rename these logbooks as 'Department1 Maintenance Log' all the way to 'Department_X Maintenance Log'?
|
|
|