Re: Formatting multiple datetime entries, posted by Neal Grafton on Wed Jun 10 13:00:07 2015
|
Stefan Ritt wrote: |
Neal Grafton wrote: | Also, is there a way of automatically displaying the difference in Hrs mins between Time start and Time End? |
I guess you want to do some more complex calculations, like adding the running times, etc. This goes beyond the scope of elog. You can however export elog entries as a CSV file and import it in a spreadsheet program and do there all calculations you want.
/Stefan |
Thanks Stefan
Neal |
Re: Formatting list page data, posted by Stefan Ritt on Thu Jun 25 15:02:55 2009
|
Steve Williamson wrote: |
Thanks for a great piece of software - it does so much and is (mostly) so simple to use. However, I do have a suggestion that (for me, at least) would make it even better -
I use elog for a variety of logging tasks but find that, because I want to see as complete a summary as possible, the list page can get very crowded with longer fields wrapping over several lines. I would like to have more control over the way attributes are displayed here. Specifically, being able to truncate data (e.g. to show just the first n characters of a description), being able to select a substring (e.g. displaying characters before the '@' character to remove the domain from an email address or displaying characters after the space to remove the day from a date in ddd dd/mm/yy format) and being able to concatenate fields (e.g. to show a reference in a single cell as "Incident 1234" by joining call type and call reference attributes).
regards
Steve
|
Something along these lines is however not implemented (and hard to do). The only chance you have is to export your data into a spreadsheet and do the reformatting/report generation there. |
Re: Formatting list page data, posted by Steve Williamson on Fri Jun 26 14:34:58 2009
|
Stefan Ritt wrote: |
Steve Williamson wrote: |
Thanks for a great piece of software - it does so much and is (mostly) so simple to use. However, I do have a suggestion that (for me, at least) would make it even better -
I use elog for a variety of logging tasks but find that, because I want to see as complete a summary as possible, the list page can get very crowded with longer fields wrapping over several lines. I would like to have more control over the way attributes are displayed here. Specifically, being able to truncate data (e.g. to show just the first n characters of a description), being able to select a substring (e.g. displaying characters before the '@' character to remove the domain from an email address or displaying characters after the space to remove the day from a date in ddd dd/mm/yy format) and being able to concatenate fields (e.g. to show a reference in a single cell as "Incident 1234" by joining call type and call reference attributes).
regards
Steve
|
Something along these lines is however not implemented (and hard to do). The only chance you have is to export your data into a spreadsheet and do the reformatting/report generation there.
|
Thanks for looking at the suggestion - it was only a 'nice to have', whereas elog is an essential!
regards |
Re: Formating input fields with size and width, posted by Stefan Ritt on Wed Oct 3 14:23:55 2012
|
UlfO wrote: |
Hi,
Why is the color of an inputfield changing when I have changed the size and width?
I have attached a example.
Regards
/UlfO
|
Please post your configuration file (or the relevant section therein) so that I can have a look.
/Stefan |
Re: Formating input fields with size and width, posted by UlfO on Wed Oct 3 14:28:20 2012
|
Stefan Ritt wrote: |
UlfO wrote: |
Hi,
Why is the color of an inputfield changing when I have changed the size and width?
I have attached a example.
Regards
/UlfO
|
Please post your configuration file (or the relevant section therein) so that I can have a look.
/Stefan
|
OK!
Here it comes:
[Deployment-Plan-PRIMA]
Logbook Tabs = 0
Theme = default
Title Image= <img border=0 src="konturlogo_dynamate.png" alt="DynaMate logo">
Use Email From = weblog@dynamate.se
Use Lock = 1
Mode commands = 0
Comment = Deployment plan PRIMA SSG
Attributes = Activity number, Main Activity task, Activity task, Resources, Task Type, Status, Start Time
Options Main Activity task = Activities pre deployment, Install Changes into Prima, Post Go Live activities week after Go Live
Options Task Type = Depl, Pre, Prep Depl, Prep Test, Prod, Test
Options Status = Finished, Not started, Ongoing
Extendable options = Resources, Task Type, Main Activity task
Moptions Resources = BMM, PMM
Format Activity number = ,,,3,3
Type Start Time = Datetime
Type Activity Number = Numeric
Cell Style Status Finished = background-color:green
Cell Style Status Not started = background-color:red
Cell Style Status Ongoing = background-color:yellow
List Menu Commands = New, Last day, Help
Menu commands = List, New, Edit, Delete, Help
List Display = Activity number, Main Activity task, Activity Task, Start time, Resources, Task Type, Status
Page Title = Deployment plan PRIMA SSG - $Subject
List after submit = 1
Reverse sort = 1
Quick filter = Main Activity task, Resources, Task Type, Status
|
Re: Formating input fields with size and width, posted by Stefan Ritt on Wed Oct 3 14:34:58 2012
|
UlfO wrote: |
Stefan Ritt wrote: |
UlfO wrote: |
Hi,
Why is the color of an inputfield changing when I have changed the size and width?
I have attached a example.
Regards
/UlfO
|
Please post your configuration file (or the relevant section therein) so that I can have a look.
/Stefan
|
OK!
Here it comes:
[Deployment-Plan-PRIMA]
Logbook Tabs = 0
Theme = default
Title Image= <img border=0 src="konturlogo_dynamate.png" alt="DynaMate logo">
Use Email From = weblog@dynamate.se
Use Lock = 1
Mode commands = 0
Comment = Deployment plan PRIMA SSG
Attributes = Activity number, Main Activity task, Activity task, Resources, Task Type, Status, Start Time
Options Main Activity task = Activities pre deployment, Install Changes into Prima, Post Go Live activities week after Go Live
Options Task Type = Depl, Pre, Prep Depl, Prep Test, Prod, Test
Options Status = Finished, Not started, Ongoing
Extendable options = Resources, Task Type, Main Activity task
Moptions Resources = BMM, PMM
Format Activity number = ,,,3,3
Type Start Time = Datetime
Type Activity Number = Numeric
Cell Style Status Finished = background-color:green
Cell Style Status Not started = background-color:red
Cell Style Status Ongoing = background-color:yellow
List Menu Commands = New, Last day, Help
Menu commands = List, New, Edit, Delete, Help
List Display = Activity number, Main Activity task, Activity Task, Start time, Resources, Task Type, Status
Page Title = Deployment plan PRIMA SSG - $Subject
List after submit = 1
Reverse sort = 1
Quick filter = Main Activity task, Resources, Task Type, Status
|
Ok, here it is. You wrote
Format Activity number = ,,,3,3
who told you that you can just leave out the first three arguments? The documentation says that you can trailing parameters can be omitted, not leading. So what you want is
Format Activity number = 0,attribname,attribvalue,3,3
/Stefan |
Re: Formating input fields with size and width, posted by UlfO on Wed Oct 3 14:46:44 2012
|
Stefan Ritt wrote: |
UlfO wrote: |
Stefan Ritt wrote: |
UlfO wrote: |
Hi,
Why is the color of an inputfield changing when I have changed the size and width?
I have attached a example.
Regards
/UlfO
|
Please post your configuration file (or the relevant section therein) so that I can have a look.
/Stefan
|
OK!
Here it comes:
[Deployment-Plan-PRIMA]
Logbook Tabs = 0
Theme = default
Title Image= <img border=0 src="konturlogo_dynamate.png" alt="DynaMate logo">
Use Email From = weblog@dynamate.se
Use Lock = 1
Mode commands = 0
Comment = Deployment plan PRIMA SSG
Attributes = Activity number, Main Activity task, Activity task, Resources, Task Type, Status, Start Time
Options Main Activity task = Activities pre deployment, Install Changes into Prima, Post Go Live activities week after Go Live
Options Task Type = Depl, Pre, Prep Depl, Prep Test, Prod, Test
Options Status = Finished, Not started, Ongoing
Extendable options = Resources, Task Type, Main Activity task
Moptions Resources = BMM, PMM
Format Activity number = ,,,3,3
Type Start Time = Datetime
Type Activity Number = Numeric
Cell Style Status Finished = background-color:green
Cell Style Status Not started = background-color:red
Cell Style Status Ongoing = background-color:yellow
List Menu Commands = New, Last day, Help
Menu commands = List, New, Edit, Delete, Help
List Display = Activity number, Main Activity task, Activity Task, Start time, Resources, Task Type, Status
Page Title = Deployment plan PRIMA SSG - $Subject
List after submit = 1
Reverse sort = 1
Quick filter = Main Activity task, Resources, Task Type, Status
|
Ok, here it is. You wrote
Format Activity number = ,,,3,3
who told you that you can just leave out the first three arguments? The documentation says that you can trailing parameters can be omitted, not leading. So what you want is
Format Activity number = 0,attribname,attribvalue,3,3
/Stefan
|
Sorry!
I´m not so familiar with the meaning of trailing and leading in english.
But now it works!
Thank you very much!
|
Re: Format Form, posted by Stefan Ritt on Mon Oct 2 14:58:32 2017
|
The way and entry form can be customized is kind of limited in elog. You can use "format <attribute> = ..." to request a certain width, number of allowed characters and special CSS class (which of course you have to define). If you want a complete custom entry form, have a look here: elog:66909 . This requires however writing your own HTML, CSS and JavaScript.
Stefan
Tim Schelfhout wrote: |
Hello there,
I am trying to format my entry form a little bit more practical and readable. I am struggling with the following:
- Numbers should be standard fields of 3 characters and can only be 3 characters wide (doing this by Format Leeftijd=1, css, 3, 3)
- Text Entry fields should be max. width of 15 characters ?
Also struggling with mutliple fields on one line:
- Can Spacing between fields be controlled? Even vertical spacing?
- When omitting the css in the Format syntax, the fieldname and field gets colored dark blue
.. found via css inspection a part solution using this (Format Leeftijd=1, attribname, 3, 3), but then the value still gets colored dark blue
Also I see that when one formats the entry field in edit mode it shows differently in list mode. (for example set width is not enforced in list mode)
Anyone ?
|
|
|