CA Service Management

  • 1.  CA Cervice Catalog - Center everything HTML

    Posted Mar 28, 2018 07:34 AM

    Hi there,

     

    I want to ask, how to center everything in HTML, on CA Service Catalog?

     

    I tried change the css file but no luck at all. The client is asking to have all elements on the page centered.

     

    Do you guys have some idea?

     

    Regards,

    Fernando Serrano



  • 2.  Re: CA Cervice Catalog - Center everything HTML

    Broadcom Employee
    Posted Mar 28, 2018 07:46 AM

    Good Afternoon Fernando.

    When you wrote: "all elements on the page". What is it that you mean?
    Is it for all 'components' on a Catalog Form?
    Or is it the 'Home' 'Catalog' 'Administration' tabs, all centered?

    And which release of the product are you refering to?

    Please advise. Thanks in advance and kind regards, Louis.



  • 3.  Re: CA Cervice Catalog - Center everything HTML

    Posted Mar 28, 2018 08:25 AM

    Hi Louis,

     

    What I mean, was in "Home" -> "Requests".

    The forms are centered, but the page which shows folders and offerings is not

     

    What the client wants is to see the page with offerings and folders (requests page) centered or full screen.

     

    Product Version: 14.1

     

    Thanks for your answer.

     

    Best Regards,

    Fernando Serrano



  • 4.  Re: CA Cervice Catalog - Center everything HTML

    Broadcom Employee
    Posted Mar 28, 2018 08:38 AM

    Good Afternoon Fernando.

    When you say "Home" -> "Requests", is this then in Request View or Service View?
    Which indeed show the Counts and Requests centered or the Tiles centered in these views.

    The left-hand Catalog Browse then shows the folders and offerings is indeed not centered.
    Full Screen is not possible, as far as I know.

    And are you sure the client wants the Catalog Browse entries centered?
    With all folders/offerings having a different length in their names?
    Do you think that would look 'nice'?

    Thanks and kind regards, Louis.



  • 5.  Re: CA Cervice Catalog - Center everything HTML
    Best Answer

    Broadcom Employee
    Posted Mar 28, 2018 09:28 AM

     

    Good Afternoon Fernando.

    I might have found the customization for you on this.
    Please check the below and let me know your findings.

    Please do make a backup of the file you are about to change.

    A:
    1 In folder C:\Program Files\CA\Service Catalog\filestore\themes\CA_Technologies_R7\css
    2 File main.css
    3 Around line 2318

    td.folder-content {
    border-bottom:4px solid white;
    background-color:#F1F1F1;
    padding:4px;
    line-height: normal;
    vertical-align:middle;
    text-align:left;
    }

    4 In the above section, change
    text-align:left;
    into
    text-align:center;

    5 Save the file.

    B:
    1 Stop the CA Service Catalog services(Accounting and Catalog).
    2 Empty/clear the %USM_HOME%\view\translets folder.
    3 (re)move the %USM_HOME%\logs\*.log files.
    4 Clear the browser-cache.
    5 Start the CA Service Catalog services(Accounting and Catalog).

    Kind regards, Louis.



  • 6.  Re: CA Cervice Catalog - Center everything HTML

    Posted Mar 29, 2018 04:26 AM

    Thanks Louis.

     

    That's exactly what they want here. Thanks!

     

    Regards,

    Fernando Serrano