GithubHelp home page GithubHelp logo

django-dashboards's People

Contributors

jamesoutterside avatar jdwpeterson avatar omegadroid avatar stuartmackay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jeremybfc

django-dashboards's Issues

I am working on a Awesome-Python-HTMX, seeking your feedback

A few of us at PyCon this year got together and brainstormed a new Web Stack that we are calling PyHAT (Python, htmx, ASGI, TailwindCSS). The first thing we set out to do is create an "Awesome" collection of active tools/libraries/projects in that space, including yours!

I have included your project under a "Components" section, as that seemed most appropriate. Let me know if you feel otherwise!

If you could take a look, and also participate in PyHAT-stack/awesome-python-htmx#1 that would be greatly appreciated!

Add HTML in Card() heading?

Hi all,

I see that in order to enable card actions, you need a heading. However, heading seems to not accept HTML, the HTML is shown in the heading as text.
I am trying to add a fontawesome icon, and it does not work.

Any ideas?

How do I register my dashboard class ?

Hi :)

Docs say that after creating my dashboards.py file I need to register your dashboard class in order for it to work with the auto urls..... What exactly do I need to do ? ( am a newbie so prbably a dumb q but.... )

I have a Django app running and would like to add a Dashboard to it... have tried install into that app and also an install into a demo project,. Am blocked at this step ... thanks

Mike

How can I override the default css file?

Hi all,

I am using {% block dashboards_style %}{% endblock dashboards_style %} to include the stylesheets, which finally results in:

<!-- dashboard defined css -->
<link href="[/static/dashboards/css/dashboards.css](view-source:https://digitisation.vast-project.eu/static/dashboards/css/dashboards.css)" media="all" rel="stylesheet">
<link href="[/static/dashboards/vendor/css/datatables.min.css](view-source:https://digitisation.vast-project.eu/static/dashboards/vendor/css/datatables.min.css)" media="all" rel="stylesheet">
<!-- end dashboard defined css -->

Is there a way to change the default css?

I want to use dashboards inside another template, and it alters also the template.
For example, it is shown like this:

https://digitisation.vast-project.eu/dashboards/vast_dashboards/activitiesdashboard/

(If you click the first sidebar menu, you will the original template rendering).

Can I add an image with a link in a Card?

Hi all,

I understand that you can add an image to a Card, though the image_url parameter (of type str).

Is there a way to add a link to this image?

Also, is there a way to access my ModelDashboard from the Layout class, to get the url from the model object?

Plotly is not loaded with version 0.1.5...

Hi all,

I have just upgraded from version 0.1.4 to 0.1.5, and now plots are not shown.

There is an error in browser console: Uncaught ReferenceError: Plotly is not defined.

The problem seems to be that plotly.min.js in no longer included in the HTML page.

Form template is missing {{form.media}}

Hi all,

If you use a form, which has a custom field widget, and this widget has additional JS/CSS files, these files are not included in the HTML source.

I modified slightly templates/dashboards/components/form/form.html like this:

{% load dashboards %}
{% block dashboards_form_media %}
<!-- form media dashboards_form_media -->
{{ rendered_value.form.media }}
{% endblock dashboards_form_media %}
{% spaceless %}

It seems to work after the change.

Strange issue on Tables: they appear empty on first load...

Hi all,

I am observing a strange behaviour, which I haven't found why (I get no exception).

When I restart django (the db is not restarted), all my dashboard tables appear empty the first time they are presented. Reloading the page, and all subsequent reloads work as expected. But the first time a specific table is requested, it is empty.

Simple tables on the other hand, always work fine.

What can the problem be?
How to debug this?

It happens in all tables, not just a specific one.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.