Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 98 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subject
  69077   Thu Dec 19 16:40:10 2019 Reply Devin Bougiedab66@cornell.eduBug reportLinux | Windows | Mac OSX | All | Other3.1.4Re: text wrapping broken in firefox
As an example, I created this same entry in the demo logbook using Safari.  As you can see there, the message is wrapped at the width that I set the text entry box.

https://elog.psi.ch/elogs/Linux+Demo/9

> When creating new logbook entries, recent versions of firefox somehow ignore the message width setting.
> 
> For example, configure a logbook with:
> Message Width = 76
> Message Height = 20
> 
> Then, create a new plain text entry that contains very long lines.  The text entry box is the correct size, but once you hit submit and view the full display of the message, it is not wrapped properly.  The summary display is wrapped properly, but not the full display.
> 
> We've only found this to be a problem with recent versions of firefox.  Chromium, Safari, and old versions of firefox behave properly.
  69076   Thu Dec 19 16:28:06 2019 Warning Devin Bougiedab66@cornell.eduBug reportLinux | Windows | Mac OSX | All | Other3.1.4text wrapping broken in firefox
When creating new logbook entries, recent versions of firefox somehow ignore the message width setting.

For example, configure a logbook with:
Message Width = 76
Message Height = 20

Then, create a new plain text entry that contains very long lines.  The text entry box is the correct size, but once you hit submit and view the full display of the message, it is not wrapped properly.  The summary display is wrapped properly, but not the full display.

We've only found this to be a problem with recent versions of firefox.  Chromium, Safari, and old versions of firefox behave properly.
  69075   Fri Dec 6 15:40:19 2019 Reply David Walliswallis@aps.anl.govQuestionLinuxV3.1.3Re: Change column width in list mode?

Awesome, thank you!

Stefan Ritt wrote:

You need

.listframe td:nth-child(3) {
   min-width: 250px;
}

/Stefan

David Wallis wrote:

In some of our logbooks, some columns are very narrow, which makes their content difficult to read. I have tried adding a custom css file like this:

listframe td:nth-child(3) {
   width: 250px;
}

But I find that the column width does not change. I have verified via element inspection that the width attribute is active on the correct column (td).

Am I doing someting wrong, or is this not possible?

 

 

  69074   Wed Dec 4 20:39:41 2019 Reply Johnsecondcomingtechnologies@fastmail.comInfoLinux | WindowsELOG V3.1.4-eadRe: How to selectively use Top/Bottom Text JavaScript.

Wow thanks again Stefan for your kind and prompt responses!!

John

Stefan Ritt wrote:

In JS, you have access to the browser URL via window.location. So you can write conditional code depending on the actual elog command.

Stefan

John wrote:

I think I know what the answer(s) will be already.. that I will need to address this in JS. I don't want each screen to run/show the same code, other than the ones I want to.  AND I do not want to have to create a custom form for each 'menu option' to achieve this (if possible).

Thanx,

John

 

 

  69073   Wed Dec 4 10:37:32 2019 Reply Stefan Rittstefan.ritt@psi.chQuestionLinuxV3.1.3Re: Change column width in list mode?

You need

.listframe td:nth-child(3) {
   min-width: 250px;
}

/Stefan

David Wallis wrote:

In some of our logbooks, some columns are very narrow, which makes their content difficult to read. I have tried adding a custom css file like this:

listframe td:nth-child(3) {
   width: 250px;
}

But I find that the column width does not change. I have verified via element inspection that the width attribute is active on the correct column (td).

Am I doing someting wrong, or is this not possible?

 

  69072   Wed Dec 4 10:15:56 2019 Reply Stefan Rittstefan.ritt@psi.chInfoLinux | WindowsELOG V3.1.4-eadRe: How to selectively use Top/Bottom Text JavaScript.

In JS, you have access to the browser URL via window.location. So you can write conditional code depending on the actual elog command.

Stefan

John wrote:

I think I know what the answer(s) will be already.. that I will need to address this in JS. I don't want each screen to run/show the same code, other than the ones I want to.  AND I do not want to have to create a custom form for each 'menu option' to achieve this (if possible).

Thanx,

John

 

  69071   Wed Dec 4 03:06:50 2019 Question Johnsecondcomingtechnologies@fastmail.comInfoLinux | WindowsELOG V3.1.4-eadHow to selectively use Top/Bottom Text JavaScript.

I think I know what the answer(s) will be already.. that I will need to address this in JS. I don't want each screen to run/show the same code, other than the ones I want to.  AND I do not want to have to create a custom form for each 'menu option' to achieve this (if possible).

Thanx,

John

  69070   Mon Dec 2 23:28:28 2019 Question David Walliswallis@aps.anl.govQuestionLinuxV3.1.3Change column width in list mode?

In some of our logbooks, some columns are very narrow, which makes their content difficult to read. I have tried adding a custom css file like this:

listframe td:nth-child(3) {
   width: 250px;
}

But I find that the column width does not change. I have verified via element inspection that the width attribute is active on the correct column (td).

Am I doing someting wrong, or is this not possible?

ELOG V3.1.5-3fb85fa6