wildfish / django-dashboards Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
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!
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?
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
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).
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?
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.
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.