Book a Demo

Author Topic: HTML and CSS style editor  (Read 7288 times)

Henrique Narciso

  • EA User
  • **
  • Posts: 86
  • Karma: +0/-0
    • View Profile
HTML and CSS style editor
« on: December 29, 2009, 04:25:38 am »
Hello,
i'm trying to generate a cleaner HTML report, does any one know where I can take out the " Flow To  ;Flow From" table?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: HTML and CSS style editor
« Reply #1 on: December 29, 2009, 06:30:29 pm »
Henrique,

I think you'll have to be a bit more precise on what and how you are trying to achieve

Geert

Henrique Narciso

  • EA User
  • **
  • Posts: 86
  • Karma: +0/-0
    • View Profile
Re: HTML and CSS style editor
« Reply #2 on: December 29, 2009, 11:36:24 pm »
Hello,

I hope I'm not going to be too detailed now.

I'm trying to not generate this part of the HTML.

<div class="TableGroup" id="TableGroup">
            <ul class="ItemTitle">
                  <li onClick="parent.toggleItem('FlowTo');" id="FlowToTitle">Flow To</li>
                  <li onClick="parent.toggleItem('FlowFrom');" id="FlowFromTitle">Flow From</li>
            </ul>

marcelloh

  • EA User
  • **
  • Posts: 192
  • Karma: +0/-0
    • View Profile
Re: HTML and CSS style editor
« Reply #3 on: December 30, 2009, 01:29:27 am »
What you could do, is to have your own HTML templates set.
(And in that, you can remove certain parts you don't want.)

I've looked for you, but this issue of yours (how to find stuff inside the HTML templates) is really something they should work on.

For now: Make your own html-templates, and put in every part something unique like this <!--- MyUniqueThing --->
(So for each template part it must be unique!)

Generate the same HTML, then look into the source and see which template causes your issue.
(I know this sounds like $hit, but, at least you're probably helped this way, and you know in the future much faster where to look.)
« Last Edit: December 30, 2009, 01:30:38 am by marcelloh »

Henrique Narciso

  • EA User
  • **
  • Posts: 86
  • Karma: +0/-0
    • View Profile
Re: HTML and CSS style editor
« Reply #4 on: December 30, 2009, 01:54:58 am »
Hello,

what I have done so far is:
cleaned almost 80% of the items, leaving only the javascript with most of its functions(took out the toggle functions which is the area I don't want)

the thing is that the file generates the info, only the script doesn't present it.

Henrique

Henrique Narciso

  • EA User
  • **
  • Posts: 86
  • Karma: +0/-0
    • View Profile
Re: HTML and CSS style editor
« Reply #5 on: December 30, 2009, 09:07:18 pm »
just to update in my progress...

I have found that only when I take out in the "Page - Basic Template" the  <body onload="initPage(this);" class="Content">
#CONTENT#
</body> code.

This is the only option I find that doesn't write the tabblegroup section.

This however doesn't provide the information in the object. :(

I have found in the ea.css the "TableGroup {" section however I can only change the backgound. This points to the correct place I want to eliminate.

marcelloh

  • EA User
  • **
  • Posts: 192
  • Karma: +0/-0
    • View Profile
Re: HTML and CSS style editor
« Reply #6 on: December 30, 2009, 10:01:14 pm »
I don't know the exact effect, but this this has a class "TableGroup".

It is a div, so that means you can hide it.
By giving the style this attribute:
display:none;

Don't know if you're hiding more then you want  :-/

Henrique Narciso

  • EA User
  • **
  • Posts: 86
  • Karma: +0/-0
    • View Profile
Re: HTML and CSS style editor
« Reply #7 on: December 30, 2009, 11:27:56 pm »
where do I apply that "display:none;" ?
in the CSS - Main?

Henrique Narciso

  • EA User
  • **
  • Posts: 86
  • Karma: +0/-0
    • View Profile
Re: HTML and CSS style editor
« Reply #8 on: December 30, 2009, 11:32:42 pm »
It worked! thanks!

marcelloh

  • EA User
  • **
  • Posts: 192
  • Karma: +0/-0
    • View Profile
Re: HTML and CSS style editor
« Reply #9 on: December 31, 2009, 01:35:36 am »
Perhaps for the other persons, give hints how you solved this :-)
(And I'm glad it worked for you)

Henrique Narciso

  • EA User
  • **
  • Posts: 86
  • Karma: +0/-0
    • View Profile
Re: HTML and CSS style editor
« Reply #10 on: January 04, 2010, 10:10:41 pm »
Hello all,

in sumary what I did was:
- in the resources\webstyle template, open the template
- in the CSS - Main section, write "display:none;" in the ".TableGroup UL" and ".TableGroup {" sections

best regards!
Henrique Narciso