Announcement

Collapse
No announcement yet.

Refresh admin panel

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Refresh admin panel

    My suggestion for simplify admin panel:

    application/Espo/Resources/metadata/app/adminPanel.json:
    Code:
    {
       "system":{
          "label":"Basic Settings",
          "items":[
             {
                "url":"#Admin/settings",
                "label":"Settings",
                "description":"settings"
             },
             
             {
                "url":"#ScheduledJob",
                "label":"Scheduled Jobs",
                "description":"scheduledJob"
             },
             
             {
                "url":"#Admin/notifications",
                "label":"Notifications",
                "description":"notifications"
             },
             
             {
                "url":"#Admin/upgrade",
                "label":"Upgrade",
                "description":"upgrade"
             },
             
             {
                "url":"#Admin/rebuild",
                "label":"Rebuild",
                "description":"rebuild"
             }
          ]
       },
       "customization":{
          "label":"Personalization",
          "items":[
             {
                "url":"#Admin/layouts",
                "label":"Layout Manager",
                "description":"layoutManager"
             },
             {
                "url":"#Admin/entityManager",
                "label":"Entity Manager",
                "description":"entityManager"
             },
             {
                "url":"#Admin/userInterface",
                "label":"Menu",
                "description":"userInterface"
             }
             
          ]
       },
       "users":{
          "label":"Users",
          "items":[
             {
                "url":"#User",
                "label":"Users",
                "description":"users"
             },
             {
                "url":"#Team",
                "label":"Teams",
                "description":"teams"
             },
             {
                "url":"#Role",
                "label":"Roles",
                "description":"roles"
             },
             {
                "url":"#Admin/authTokens",
                "label":"Auth Tokens",
                "description":"authTokens"
             }
          ]
       },
       "email":{
          "label":"Email",
          "items":[
             
             {
                "url":"#InboundEmail",
                "label":"Inbound Emails",
                "description":"inboundEmails"
             },
             {
                "url":"#EmailTemplate",
                "label":"Email Templates",
                "description":"emailTemplates"
             }
          ]
       },
       "data":{
          "label":"Data",
          "items":[
             {
                "url":"#Import",
                "label":"Import",
                "description":"import"
             }
          ]
       },
       "extensions":{
          "label":"Extensions",
          "items":[
             {
                "url":"#Admin/extensions",
                "label":"Extensions",
                "description":"extensions"
             },
             {
                "url":"#Admin/integrations",
                "label":"Integrations",
                "description":"integrations"
             }
          ]
       }
       
    }
    application/Espo/Resources/layouts/Settings/settings.json:
    Code:
    [
        {
            "label": "System",
            "rows": [
                [{"name": "useCache"},{"name": "companyLogo"}],
                [{"name": "disableExport"},{"name": "globalSearchEntityList"}],
                [{"name": "followCreatedEntities"}, false]
            ]
        },
        {
            "label": "Locale",
            "rows": [
                [{"name": "dateFormat"}, {"name": "timeZone"}],
                [{"name": "timeFormat"}, {"name": "weekStart"}],
                [{"name": "thousandSeparator"}, {"name": "decimalMark"}],
                [{"name": "language"}, false]
            ]
        },
        {
            "label": "System Mail",
            "rows": [
                [{"name": "outboundEmailFromAddress"}, {"name": "outboundEmailIsShared"}],
                [{"name": "outboundEmailFromName"}, false],
                [{"name": "smtpServer"}, {"name": "smtpPort"}],
                [{"name": "smtpAuth"}, {"name": "smtpSecurity"}],
                [{"name": "smtpUsername"}, {"name": "testSend", "customLabel": null, "view": "OutboundEmail.Fields.TestSend"}],
                [{"name": "smtpPassword"}, false]
            ]
        },
    
        {
            "label": "Currency Settings",
            "rows": [
                [{"name": "defaultCurrency"}, {"name": "currencyList"}],
                [{"name": "baseCurrency"}, {"name": "currencyRates"}]
            ]
        },
        {
            "label": "Configuration",
            "rows": [
                [{"name": "authenticationMethod"}]
            ]
        },
        {
            "label": "LDAP",
            "name": "LDAP",
            "rows": [
                [{"name": "ldapHost"}, {"name": "ldapPort"}],
                [{"name": "ldapAuth"}, {"name": "ldapSecurity"}],
                [{"name": "ldapUsername"}, false],
                [{"name": "ldapPassword"}, false],
                [{"name": "ldapBindRequiresDn"}, {"name": "ldapUserLoginFilter"}],
                [{"name": "ldapBaseDn"}, false],
                [{"name": "ldapAccountCanonicalForm"}, false],
                [{"name": "ldapAccountDomainName"}, {"name": "ldapAccountDomainNameShort"}],
                [{"name": "ldapTryUsernameSplit"}, {"name": "ldapOptReferrals"}],
                [{"name": "ldapCreateEspoUser"}, false]
            ]
        }
    ]
Working...
X