Header

basic

Header text

Example

Title Text

Description text

HTML code
<DIV class="header">
  <DIV class=icon><i class="fa fa-app-report"></i></DIV>
  <DIV class=text>
    <h1>Title Text</h1>
    <p>Description text</p>
  </DIV>
</DIV>
Type molecule
Group basic
Elements title, description, icon

PHP

Wrapper to use element through PHP

Extends eUiElement
Render html
Create arguments title, description, icon, style
Code example

Parameters as arguments

$Header = $this->get('ui', 'header', 'Title', 'Description', 'app-report', 'small');

Parameters as array

$Header = $this->get('ui', 'header', Array(
  'title'       => 'Title',
  'description' => 'Description'
  'icon'        => 'app-report'
));

All parameters

$Header = $this->get('ui', 'header', Array(
  'title'       => 'Title',
  'description' => 'Description'
  'icon'        => 'app-report'
  'color'       => 'green'
  'size'        => 'large'
));

Javascript

Wrapper to use element through Javascript

Code example
var $Header = cms.get('ui', 'header', {
  icon:        'app-addnew'
  title:       'Title',
  description: 'Description',
  color:       'green',
  size:        'large'
  menu: [{
    icon:     'app-edit',
    tooltip:  '',
    onclick:  function(){}
  }]
});

Styles

Elements Css style

jumbo

Jumbo

Description text

large

Large

Description text

normal

Normal

Description text

small

Small

Description text

mini

Mini

Description text

justified

Justified

Description text

vertically (used in mobile header)
no-border

No-border

Description text

no-margin

No-margin

Description text

violet

Violet

Description text

purple

Purple

Description text

indigo

Indigo

Description text

blue

Blue

Description text

azure

Azure

Description text

cyan

Cyan

Description text

teal

Teal

Description text

darkgreen

Darkgreen

Description text

green

Green

Description text

lime

Lime

Description text

yellow

Yellow

Description text

amber

Amber

Description text

orange

Orange

Description text

darkorange

Darkorange

Description text

red

Red

Description text

pink

Pink

Description text

brown

Brown

Description text

white

White

Description text

lightgray

Lightgray

Description text

gray

Gray

Description text

darkgray

Darkgray

Description text

black

Black

Description text

success

Success

Description text

warning

Warning

Description text

danger

Danger

Description text

error

Error

Description text

info

Info

Description text

muted

Muted

Description text

selected

Selected

Description text