Ctrl K
ring2all.com

Branding Module Documentation

Table of Contents

  1. Module Overview (Technical)
  2. Module Overview (Commercial/Business)
  3. Module Overview (End User/Administrator)
  4. Configuration Sections
  5. Settings Reference
  6. Common Scenarios & Examples
  7. Limitations & Important Notes
  8. Troubleshooting Tips
  9. Glossary

---

1. Module Overview (Technical)

What Is Branding?

Branding is a white-labeling module that customizes the visual identity of each tenant. It manages logos, colors, login page design, and application information to match corporate branding.

Architecture

Plaintext
┌─────────────────────────────────────────────────────────────────┐
│                  Branding Architecture                         │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  Branding Configuration                                         │
│  ┌──────────────────────────────────────────────────────────┐   │
│  │        Tenant: Acme Corp                                 │   │
│  │                                                          │   │
│  │  App Information:                                        │   │
│  │  ├─ App Name: Acme PBX                                  │   │
│  │  ├─ Welcome Message: Welcome to Acme                    │   │
│  │  └─ Footer: © 2025 Acme Corp                            │   │
│  │                                                          │   │
│  │  Colors:                                                 │   │
│  │  ├─ Primary: #1E40AF                                    │   │
│  │  └─ Secondary: #64748B                                  │   │
│  │                                                          │   │
│  │  Logos:                                                  │   │
│  │  ├─ Desktop Light: acme-logo.png                        │   │
│  │  ├─ Desktop Dark: acme-logo-dark.png                    │   │
│  │  ├─ Mobile Light: acme-mobile.png                       │   │
│  │  ├─ Mobile Dark: acme-mobile-dark.png                   │   │
│  │  ├─ Favicon Light: favicon.ico                          │   │
│  │  └─ Favicon Dark: favicon-dark.ico                      │   │
│  │                                                          │   │
│  │  Login Design:                                           │   │
│  │  ├─ Background Color: #0F172A                           │   │
│  │  ├─ Background Image: login-bg.jpg                      │   │
│  │  ├─ Form Background: rgba(...)                          │   │
│  │  └─ Button Color: #3B82F6                               │   │
│  │                                                          │   │
│  │  Notifications:                                          │   │
│  │  ├─ Toast Success: #10B981                              │   │
│  │  ├─ Toast Error: #EF4444                                │   │
│  │  ├─ Toast Warning: #F59E0B                              │   │
│  │  └─ Toast Info: #3B82F6                                 │   │
│  │                                                          │   │
│  └──────────────────────────────────────────────────────────┘   │
│       │                                                         │
│       ▼ Applied to                                             │
│  ┌──────────────────────────────────────────────────────────┐   │
│  │        User Interface                                    │   │
│  │                                                          │   │
│  │  ├─ Login page                                          │   │
│  │  ├─ Application header                                  │   │
│  │  ├─ Browser favicon                                     │   │
│  │  ├─ Mobile PWA icons                                    │   │
│  │  └─ Color scheme throughout                             │   │
│  │                                                          │   │
│  └──────────────────────────────────────────────────────────┘   │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Key Tables

TablePurpose
public.brandingBranding configurations

Key Files

FileDescription
modules/branding/Frontend module
/uploads/branding/Logo and image storage
---

2. Module Overview (Commercial/Business)

Business Value

Branding provides complete white-labeling:

Without BrandingWith Branding
Generic interfaceCustom identity
Default colorsCorporate colors
Platform logosCustomer logos
Same for allPer-tenant customization

Use Cases

  1. Reseller White-Label
- Rebrand for each customer

- Hide platform identity

  1. Corporate Identity
- Match company colors

- Display company logo

  1. Multi-tenant Differentiation
- Unique look per tenant

- Easy tenant identification

  1. Professional Appearance
- Custom login page

- Branded experience

Feature Highlights

FeatureBenefit
Light/Dark LogosTheme support
Desktop & MobileResponsive branding
FaviconsBrowser identity
Color CustomizationMatch corporate colors
Login DesignCustom welcome pages
Per-TenantMulti-tenant branding
---

3. Module Overview (End User/Administrator)

What Can You Do?

  • Set application name
  • Upload logos (light/dark modes)
  • Upload mobile logos
  • Upload favicons
  • Set primary and secondary colors
  • Customize login page design
  • Customize notification toast colors (Success, Error, Warning, Info)
  • Set welcome message and footer

Branding Interface

Plaintext
┌─────────────────────────────────────────────────────────────────┐
│              Branding                                           │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  Customize your tenant's visual identity and interface         │
│                                                                 │
│  [🔍 Search tenants...]                                         │
│                                                                 │
│  ┌───────────────────────────────────────────────────────────┐  │
│  │ Tenant Name     │ Branding   │ Status    │ Actions        │  │
│  ├─────────────────┼────────────┼───────────┼────────────────┤  │
│  │ Acme Corp       │ [Logo]     │ ● Active  │ [Configure]    │  │
│  │ Beta Inc        │ [Default]  │ ○ Inactive│ [Configure]    │  │
│  │ Gamma LLC       │ [Logo]     │ ● Active  │ [Configure]    │  │
│  └───────────────────────────────────────────────────────────┘  │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

App Information Section

Plaintext
┌─────────────────────────────────────────────────────────────────┐
│              App Information                                    │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  Application Name: [Acme PBX                    ]              │
│    The name of your application as it appears                   │
│                                                                 │
│  Welcome Message: [Welcome to Acme Communications]             │
│    Welcome message shown to users when they log in              │
│                                                                 │
│  Description: [Enterprise phone system          ]              │
│    Brief description of your application                        │
│                                                                 │
│  Footer Text: [© 2025 Acme Corp. All rights reserved.]        │
│    Footer text displayed at the bottom                          │
│                                                                 │
│  Primary Color: [#1E40AF    ] [🎨]                             │
│    Primary color used for buttons, links, and highlights        │
│                                                                 │
│  Secondary Color: [#64748B   ] [🎨]                            │
│    Secondary color used for backgrounds                         │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Logos & Icons Section

Plaintext
┌─────────────────────────────────────────────────────────────────┐
│              Logos & Icons                                      │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  ▼ Desktop Logos                                                │
│                                                                 │
│  Logo (Light Mode)          Logo (Dark Mode)                   │
│  ┌────────────────┐         ┌────────────────┐                 │
│  │                │         │                │                 │
│  │   [ACME]       │         │   [ACME]       │                 │
│  │                │         │  (white text)  │                 │
│  └────────────────┘         └────────────────┘                 │
│  [Change] [Remove]          [Change] [Remove]                  │
│  200x200px or larger        200x200px or larger                │
│                                                                 │
│  ──────────────────────────────────────────────────────────────│
│                                                                 │
│  ▼ Mobile Logos & Favicons                                      │
│                                                                 │
│  Mobile (Light)  Mobile (Dark)  Favicon (Light) Favicon (Dark) │
│  ┌──────────┐    ┌──────────┐   ┌──────────┐    ┌──────────┐  │
│  │   [A]    │    │   [A]    │   │   [A]    │    │   [A]    │  │
│  └──────────┘    └──────────┘   └──────────┘    └──────────┘  │
│  512x512px       512x512px      32x32px         32x32px        │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Login Design Section

Plaintext
┌─────────────────────────────────────────────────────────────────┐
│              Login Design                                       │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  Background Color: [#0F172A    ] [🎨]                          │
│    Background color for the login page                          │
│                                                                 │
│  Font Color: [#FFFFFF       ] [🎨]                             │
│    Font color for text on the login page                        │
│                                                                 │
│  Form Background: [#1E293B80  ] [🎨]                           │
│    Background color for the login form (with alpha)             │
│                                                                 │
│  Submit Button Color: [#3B82F6CC] [🎨]                         │
│    Color for the submit button (with alpha)                     │
│                                                                 │
│  Add-ons Menu Color: [#47556980] [🎨]                          │
│    Color for the add-ons menu                                   │
│                                                                 │
│  Disable Background Image: ☐                                   │
│                                                                 │
│  Background Image:                                              │
│  ┌──────────────────────────────────────────────────────────┐  │
│  │                                                          │  │
│  │          [Background Image Preview]                      │  │
│  │                                                          │  │
│  └──────────────────────────────────────────────────────────┘  │
│  [Change] [Remove]                                              │
│                                                                 │
│  Login Logo:                                                    │
│  ┌────────────────┐                                            │
│  │   [ACME]       │                                            │
│  └────────────────┘                                            │
│  [Change] [Remove]                                              │
│                                                                 │
│  [Save] [Cancel]                                                │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Quick Tips

TIP
Light & Dark: Upload both versions for theme support.
TIP
Recommended Sizes: Follow size guidelines for best quality.
NOTE
Alpha Colors: Use hex with alpha (e.g., #3B82F680) for transparency.

---

4. Configuration Sections

App Information

FieldDescription
Application NameDisplay name
Welcome MessageLogin greeting
DescriptionApp description
Footer TextFooter content
Primary ColorMain accent color
Secondary ColorBackground color

Logos & Icons

AssetLight ModeDark ModeSize
Desktop Logo200x200px+
Mobile Logo512x512px
Favicon32x32px

Login Design

FieldDescription
Background ColorPage background
Font ColorText color
Form BackgroundLogin form background
Submit ButtonButton color
Add-ons MenuMenu accent
Background ImageOptional image
Login LogoLogin-specific logo
---

5. Settings Reference

AssetSizeFormat
Desktop Logo200x200px+PNG, SVG
Mobile Logo512x512pxPNG
Favicon32x32px or 16x16pxICO, PNG
Background1920x1080pxJPG, PNG

Color Format

FormatExampleUse
Hex 6-digit#3B82F6Solid colors
Hex 8-digit#3B82F680With alpha

Alpha Values

AlphaHexTransparency
100%FFSolid
80%CCSlight
50%80Half
30%4DVery transparent
---

6. Common Scenarios & Examples

Scenario 1: Basic Branding

  1. Configure Branding for tenant
  2. Set Application Name
  3. Upload light mode logo
  4. Set Primary Color
  5. Save

Scenario 2: Full White-Label

  1. Configure Branding
  2. Upload all logos (light/dark)
  3. Upload mobile logos
  4. Upload favicons
  5. Set all colors
  6. Customize login page
  7. Upload login background
  8. Save

Scenario 3: Login Page Customization

  1. Open Login Design section
  2. Set background color
  3. Upload background image
  4. Set form background with alpha
  5. Set button color
  6. Upload login logo
  7. Save

Scenario 4: Dark Mode Support

  1. Upload light mode logo
  2. Upload dark mode logo (inverted/light colors)
  3. Upload both favicon versions
  4. Save
  5. Interface switches automatically

---

7. Limitations & Important Notes

Technical Notes

NOTE
Per-Tenant: Each tenant has separate branding.
NOTE
Cache: Changes may require cache clear.
WARNING
Image Quality: Use high-resolution images.

Best Practices

  1. Consistent Colors: Match corporate palette
  2. Both Themes: Provide light and dark variants
  3. Proper Sizes: Follow recommended dimensions
  4. Test Logos: Verify on different backgrounds
  5. Mobile-First: Ensure mobile logos are clear

Image Guidelines

GuidelineRecommendation
FormatPNG for transparency
BackgroundTransparent preferred
QualityHigh resolution
SizeAt least recommended
---

8. Troubleshooting Tips

Common Issues

SymptomPossible CauseSolution
Logo not showingUpload failedRe-upload
Colors wrongCacheClear browser cache
Blurry logoToo smallUse larger image
Dark mode brokenMissing dark logoUpload dark variant

Check Branding

Sql
SELECT 
  tenant_id,
  app_name,
  primary_color,
  logo_light,
  logo_dark
FROM public.branding
WHERE tenant_id = 'tenant-uuid';

Clear Cache

  1. Browser: Ctrl+Shift+R (hard refresh)
  2. Application: Clear app cache
  3. CDN: Invalidate if applicable

---

9. Glossary

TermDefinition
BrandingVisual identity customization
White-LabelRemove platform identity
FaviconBrowser tab icon
AlphaTransparency value
PWAProgressive Web App
---

Lua Script Status ℹ️

Administration Module

ComponentStatus
Brandingℹ️ Visual customization - no Lua handler required
Branding is a visual customization module. It manages UI appearance settings. No Lua handlers are used - styling is applied by the frontend application.

---

Documentation last updated: January 2026
AI Assistant

👋 Hello! I'm your Ring2All documentation assistant. I can help you find information about configuring and using the Ring2All PBX platform.

How can I help you today?