kleisli/neos-documentadminbar

There is no license information available for the latest version (1.0.0) of this package.

A backend admin bar for Neos CMS to provide backend functions implemented in the document prototype.

Installs: 13

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Language:CSS

Type:neos-package

1.0.0 2023-04-25 14:41 UTC

This package is auto-updated.

Last update: 2024-04-25 16:47:24 UTC


README

A backend admin bar for Neos CMS to provide backend functions implemented in the document prototype.

DocumentCollection

Usage

Fusion

<Kleisli.Neos.DocumentAdminBar:Component.AdminBar>
    <!-- your backend action elements here -->
</Kleisli.Neos.DocumentAdminBar:Component.AdminBar>

Add CSS

prototype(MySitePackage.Site:Document.AbstractPage) < prototype(Neos.Neos:Page) {
  head {
    # Add stylesheets to your page
    stylesheets {
      adminbar = afx`<link rel="stylesheet" type="text/css" href={StaticResource.uri('Kleisli.Neos.DocumentAdminBar', 'Public/Styles/AdminBar.css')}/>`
      adminbar.@if.inBacked = ${node.context.inBackend}
    }
    
  }
}

Supported css classes:

Tabs

Add class tab or tab-active to a link to display it as Tab.

Example

See package Kleisli.Neos.DocumentCollection

Todo

  • Add button style