Ember - KB Addons

  • doc:dev-ember-addons

Application

Put the following into application.hbs:

<KbBase
  @actionSignOut={{this.actionSignOut}}
  @appName="My App"
  @appMenu={{@model.appMenu}}
  @appLogo="/assets/img/logo-white-small.png"
  @currentContact={{this.currentContact}}
  @isAuthenticated={{this.session.isAuthenticated}}
  @logoLink="about"
>
  {{outlet}}
</KbBase>

Add the Header in your template:

Tip

Add a Profile and one or more Panel sections.

<KbBase::Header>

  <KbBase::Header::Profile>
  </KbBase::Header::Profile>

  <KbBase::Header::Panel>
  </KbBase::Header::Panel>
  <KbBase::Header::Panel>
  </KbBase::Header::Panel>

</KbBase::Header>

Table

<KbTable::Container>
  <KbTable::Table>

    <KbTable::Head>

      <KbTable::Head::Cell>
      </KbTable::Head::Cell>

    </KbTable::Head>

    <KbTable::Body>

      <KbTable::Body::Row>

        <KbTable::Body::Cell>
        </KbTable::Body::Cell>

      </KbTable::Body::Row>

    </KbTable::Body>

  </KbTable::Table>
</KbTable::Container>