5.0.1 • Published 11 years ago

jungles-panel v5.0.1

Weekly downloads
43
License
-
Repository
-
Last release
11 years ago

Jungles Panel

Control panel for Jungles. It's a single page app for that uses Angular.js.

Setup

var panel = require('jungles-panel').init({
  url: '/jungles/api',
  customize: [ require('jungles-components').upload ],
});

Url

This is where you installed jungles-rest.

Customize

Use this to add extra angular.js controls that you can use in your forms. Components can have javascript, css and add extra pages.

The javascript and css is merged into one file and can be found at:

/baseurl/customize/javascript
/baseurl/customize/css

The html can be found at:

/baseurl/customize/:name

Component structure:

var component = {
  javascript: 'alert("test");',
  css: 'body { color: red; }',
  html: [
    {
      name: 'home',
      html: '<h1>Hello? yes, this is dog.</h1>'
    }
  ]
};

Mount

app.use('/jungles', panel)
5.0.1

11 years ago

5.0.0

11 years ago

4.0.0

11 years ago

3.1.0

11 years ago

3.0.0

11 years ago

2.1.1

11 years ago

2.1.0

11 years ago

2.0.0

11 years ago

1.4.0

11 years ago

1.3.1

12 years ago

1.2.1

12 years ago

1.2.0

12 years ago

1.1.0

12 years ago

1.0.0

12 years ago