6.0.0 • Published 4 months ago

@startinblox/component-dashboard v6.0.0

Weekly downloads
164
License
MIT
Repository
-
Last release
4 months ago

Solid Dashboard

<solid-dashboard> is a Sib component to generate dashboard from LDP datas.

Installation

In your django project, add the djangoldp_dashboard package:

# packages.yml
## DjangoLDP packages ##
ldppackages:
  djangoldp_dashboard: djangoldp_dashboard

Then, run in your shell :

pip install djangoldp_dashboard

If everything work correctly, you should be able to see the package in your Django Admin.

Then you have to load the initialisation data to make it work.

How to use

Once the package is installed, you can use the solid-dashboard component:

<html>
<head>
  <!-- import the module in the head of the page -->
  <script type="module" src="https://cdn.skypack.dev/@startinblox/component-dashboard/"></script>
</head>

<body>
  <!-- use the component -->
  <solid-dashboard
    data-src="[url]">
  </solid-dashboard>
</body>
</html>

Notes that the "url" should be replace by your code fragment api link.

Having multiple dashboard

You can use multiple dashboard on your application by using the target discriminator.

It expect the card to have a matching target.

Card background

A card can have a background valued as a boolean.

If background is false, then the card will show a transparent background with no border box.

Parameters

NameDefaultDescription
data-srcundefinedURL of the dashboards endpoint.
targetdefaultName of the dashboard to show.

Developpers

Installation:

npm install

Build with:

npm run build

Watch files & rebuild on change with this command:

npm run watch
6.0.0-beta.1

4 months ago

6.0.0-alpha.1

4 months ago

6.0.0

4 months ago

5.2.2-alpha.5

4 months ago

5.2.2-alpha.1

4 months ago

5.2.2-alpha.3

4 months ago

5.2.2-alpha.2

4 months ago

5.2.2-alpha.4

4 months ago

3.0.0-alpha.1

4 months ago

5.2.1

3 years ago

5.2.0

3 years ago

5.1.3

3 years ago

5.1.2

3 years ago

5.1.1

3 years ago

5.1.0

3 years ago

5.0.0

3 years ago

3.0.0-beta.1

3 years ago

4.0.1

3 years ago

4.0.0

3 years ago

3.1.0

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

2.0.0-beta.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

2.0.0-beta.1

3 years ago

1.0.0-beta.5

3 years ago

1.0.0-beta.6

3 years ago

1.0.0-beta.4

3 years ago

1.0.0-beta.3

3 years ago

1.0.0-beta.2

3 years ago

0.7.0

3 years ago

0.6.2

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.6.0-beta.1

4 years ago

0.5.1

4 years ago

0.5.0

4 years ago

0.5.0-beta.2

4 years ago

0.5.0-beta.1

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.3.0-beta.1

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.2.0-beta.1

4 years ago

0.1.4

4 years ago

0.1.2

4 years ago

0.1.3

4 years ago

0.1.1

4 years ago