Metrics
0
Watch 2 Star 7 Fork 3

kaka / ember-adminlte-themeHTMLMIT

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
ember-cli admin bootstrap ui theme spread retract

Clone or download
Loading...
README.md

Ember-admin-lte-theme

admin bootstrap ui theme

Supports ember 2.1.x

Installation

  • git clone git@github.com:huxinghai1988/ember-adminlte-theme.git this repository

  • npm install ember-adminlte-theme

  • vi package.json

    "devDependencies": { "ember-adminlte-theme": "0.2.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

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/.

Comments ( 0 )

You need to Sign in for post a comment

Help Search

Gitee_sixth 5th_float_left_close