idealistsoft/framework-admin

This package is abandoned and no longer maintained. The author suggests using the infuse/admin package instead.

Admin module for Infuse Framework

Installs: 854

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 1

Language:JavaScript

1.0.0 2014-09-22 21:20 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:38:25 UTC


README

Latest Stable Version Total Downloads

Admin module for Infuse Framework

Installation

  1. Install the package with composer:
composer require infuse/admin
  1. Copy the CSS and JS files into the public directory. If you use the minified versions, be sure they are renamed to css/admin.css and js/admin.js.

Admin properties for models

  • admin_type: Type of field for admin String Default: text Available Types:
    • text
    • textarea
    • checkbox
    • datepicker
    • enum
    • password
    • json
    • html Optional
  • admin_enum: Key-value list of enumeration values when admin_type = enum. Array
  • admin_hidden_property Hides the property by default when browsing models in the admin dashboard. Boolean Default: false Optional
  • admin_html: An HTML string that will have values from the model injected. Only used in the admin dashboard. String Example: {username} Optional
  • admin_no_sort: Prevents the column from being sortable in the admin dashboard Boolean Default: false Optional
  • admin_no_wrap: Prevents the column from wrapping in the admin dashboard Boolean Default: false Optional
  • admin_truncate: Prevents the column from truncating values in the admin dashboard Boolean Default: true Optional