ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
647
|
Tue Aug 3 13:06:54 2004 |
| Heiko Scheit | h.scheit@mpi-hd.mpg.de | Bug report | Linux | 2.5.4 | Re: too many <table> tags |
> > There are too many <table> tags when displaying a singel entry. E.g.
> > in http://midas.psi.ch/elogs/Config+Examples/1 the row 'Configuration Name'
> > is not aligned with the others (see attachment).
>
> The <table> tags are there on purpose. As you can combine several attributes
> into one line (see this forum for example), it's necessary to make an
> independent <table> for each line.
Couldn't one include the extra <table> tag only when there is really more than
one attribute per line. All other lines could then be aligned properly.
To increase the width is not really a solution, since this depends on the
text size used. See attachment with really big text. |
648
|
Tue Aug 3 13:31:08 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Linux | 2.5.4 | Re: too many <table> tags |
> Couldn't one include the extra <table> tag only when there is really more than
> one attribute per line. All other lines could then be aligned properly.
Sure one can do a lot of things if one has enough time and not tens of other
requests on the wishlist which really concern some functionality and not just
cosmetics. |
669
|
Thu Aug 12 23:32:46 2004 |
| Steve Jones | steve.jones@freescale.com | Bug report | Linux | 2.5.4 | Re: too many <table> tags |
> > Couldn't one include the extra <table> tag only when there is really more than
> > one attribute per line. All other lines could then be aligned properly.
>
> Sure one can do a lot of things if one has enough time and not tens of other
> requests on the wishlist which really concern some functionality and not just
> cosmetics.
Ouch!
And just to add insult to injury, the same <table> structure doesn't even look the
same between, say, IE6.0 and FireFox 0.9!!
Stefan, keep up the good work! |
703
|
Wed Sep 15 07:42:23 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Linux | 2.5.4 | Re: too many <table> tags |
> > > Couldn't one include the extra <table> tag only when there is really more than
> > > one attribute per line. All other lines could then be aligned properly.
I added that code in revision 1.471. |
69773
|
Mon Apr 8 11:27:09 2024 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | ELOG V3.1.4-395 | Re: today date in template |
This is a nice idea, but currently no text substations in templates are implemented. It only works in attributes right now.
Stefan
> Hello,
> I am using template for some elogbook entries.
>
> Is is possible to automatically change the template using the actual date in some filed.
>
> Something like: the template has a place-holder <start date> and this is replaced with today's date when a new entry is created.
>
> I already have a "date" filed which is automatically filled, but I've been asked to have the date also in the template.
>
> Thanks in advance
> Stefano |
69778
|
Tue Apr 9 04:50:28 2024 |
| Konstantin Olchanski | olchansk@triumf.ca | Question | Linux | ELOG V3.1.4-395 | Re: today date in template |
> This is a nice idea, but currently no text substations in templates are implemented. It only works in attributes right now.
but can it be done by javascript injection? load a custom .js or .html file, in this file run javascript code to root down the DOM tree until you
find the right place, replace .innerHTML with current date?
K.O. |
Draft
|
Tue Apr 9 13:40:44 2024 |
| David Pilgram | David.Pilgram@epost.org.uk | Question | Linux | ELOG V3.1.4-395 | Re: today date in template |
This was given to me by Andreas L,
In my elog.cfg file, I have the following:
Preset text = $shell(date '+[%d %b %y]')\n
and this puts at the top of every new thread I make today the following line
[09 Apr 24]
And for the same result for every reply as well, I have in elog.cfg
Prepend on reply = $shell(date '+[%d %b %y]')\n\n----------\n
with the ten dash characters to show the end of the thread, so the reply entry goes above the dashes.
Obviously time, name of day etc can be included by using the strftime
> > This is a nice idea, but currently no text substations in templates are implemented. It only works in attributes right now.
>
> but can it be done by javascript injection? load a custom .js or .html file, in this file run javascript code to root down the DOM tree until you
> find the right place, replace .innerHTML with current date?
>
> K.O. |
69781
|
Tue Apr 9 13:49:51 2024 |
| David Pilgram | David.Pilgram@epost.org.uk | Question | Linux | ELOG V3.1.4-395 | Re: today date in template |
This was given to me by Andreas Luedeke of this parish.
In my elog.cfg file, I have the following:
Preset text = $shell(date '+[%d %b %y]')\n
and this puts at the top of every new thread I make today the following line
[09 Apr 24]
And for the same result for every reply as well, I have in elog.cfg
Prepend on reply = $shell(date '+[%d %b %y]')\n\n----------\n
with the ten dash characters to show the end of the thread, so the reply entry goes above the dashes.
Obviously time, name of day etc can be included by using the strftime codes.
> > This is a nice idea, but currently no text substations in templates are implemented. It only works in attributes right now.
>
> but can it be done by javascript injection? load a custom .js or .html file, in this file run javascript code to root down the DOM tree until you
> find the right place, replace .innerHTML with current date?
>
> K.O. |