Book a Demo

Author Topic: how to customize HTML reports ?  (Read 3333 times)

JohnDoe

  • EA User
  • **
  • Posts: 191
  • Karma: +0/-0
  • EA rocks !
    • View Profile
how to customize HTML reports ?
« on: August 04, 2007, 11:09:17 am »
Hello,

Are there any options to change the layout, colors, fonts and visuals of the HTML report ?

Regards
Bernd

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: how to customize HTML reports ?
« Reply #1 on: August 04, 2007, 11:25:33 am »
I don't think there's much.

Take a look at the output, and see if you can find a suitable cascading style sheet you can change. For the things you suggest that should do the trick.

Otherwise, you need to be a bit creative.

Perhaps you could change the base template, assuming that such a thing is exposed. NB: I do not think it is, but hopefully somebody will correct me.

However...

A 'quick and dirty' way comes to mind. You could write something along the lines of an XSLT script that would handle this nicely. If you've got an intelligent editor you can probably write a macro of some kind, but XSLT tends to handle complex input better and is designed for just this kind of thing. There is definitely some front end work involved, but the payoff can be worthwhile. Also, you should be able to get usable results very quickly.

Still, watch this thread to see if anyone sets me straight on how to get at the script templates.

HTH, David

PS: Check the EA Wiki and User Group. Find directions in the top post of the first thread of the Automation section of this forum. [Hint: check the footer of the post for directions to the EA Wiki.]
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: how to customize HTML reports ?
« Reply #2 on: August 05, 2007, 01:10:31 pm »
There is a HTML template editor that should give you what you want.  See http://sparxsystems.com/EAUserGuide/webtemplate.htm.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: how to customize HTML reports ?
« Reply #3 on: August 06, 2007, 03:57:30 am »
Thanks Simon,

That'll save some work!

David
No, you can't have it!