Missing style Info/Primary layout panel ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • item
    Active Community Member
    • Mar 2017
    • 1498

    Missing style Info/Primary layout panel ?

    Hi Yuri,
    on demo missing style Info - Primary.

    i have search in code and not find where this setting have missing value.

    it's so or something i forget

    Regards
    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​
  • shalmaxb
    Senior Member
    • Mar 2015
    • 1623

    #2
    This is missing since a few updates already, don`t know why. I extended the style colours in this file:

    client/src/views/admin/layouts/detail.js, which I the put into the client/custom folder.

    The code is (around line 71):

    Code:
    panelDataAttributesDefs: {
    panelName: {
    type: 'varchar',
    },
    style: {
    type: 'enum',
    options: [
    'default',
    'success',
    'danger',
    'warning',
    'primary',
    'info'
    ],
    default: 'default',
    translation: 'LayoutManager.options.style',
    tooltip: 'panelStyle',
    },
    ​

    Comment

    • Kharg
      Senior Member
      • Jun 2021
      • 440

      #3
      Hi, "Primary" and "Info" styles were removed from panels styling, Would it be possible to bring them back? https://github.com/espocrm/espocrm/blob/master/client/src/views/admin/layouts/detail.js#L7...


      done deliberately as the colors were "off".

      Comment

    Working...