0.3.1 • Published 7 years ago

ember-adminlte-theme-fixed v0.3.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Ember-admin-lte-theme-fixed

Fixed all warnings and deprecations, check my last commit to see the modifications. Modified to fit some needs

Installation

  • git clone git@github.com:G4brym/ember-adminlte-theme-fixed.git this repository
  • npm install ember-adminlte-theme-fixed
  • vi package.json

    "devDependencies": { "ember-adminlte-theme-fixed": "0.3.0" }

Using

add component for application.hbs

<div class="wrapper">
  {{main-header}}      
  {{main-sidebar}}     
  {{#content-wrapper}} 
    {{outlet}}
  {{/content-wrapper}}
  {{main-footer}}      
  {{control-sidebar}}
</div>

config import plugins ember-cli-build.js

var app = new EmberApp(defaults, {
  adminLTE: {
    plugins: ['morris', 'icheck', 'datepicker', 
      'bootstrap-wysihtml5', 'daterangepicker', 'jvectormap',
      'select2', 'input-mask'
    ]
  }
});

Running

Example index CSP questions

//config/environment.js

contentSecurityPolicyHeader: 'Content-Security-Policy',
contentSecurityPolicy: {
  'default-src': "'none'",
  'script-src': "'self' 'unsafe-inline' *",
  'font-src': "'self' 'unsafe-inline' maxcdn.bootstrapcdn.com fonts.googleapis.com fonts.gstatic.com",
  'connect-src': "'self' *",
  'img-src': "'self' * data:",
  'style-src': "'self' 'unsafe-inline' maxcdn.bootstrapcdn.com fonts.googleapis.com"
}

Preview Image

npm.io

Running Tests

  • npm test (Runs ember try:testall to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.