- Jul 15, 2015
-
-
Alice Heaton authored
Use django_assets to manage our assets and ensure we can minify js/css, compile less files, and merge all js/css into a single file. For this to work in production, all assets must be statically defined in his/assets.py. To ensure the correct js/css is included, views can invoke hid.assets.require_assets which will raise an exception if the asset is missing. This also has the advantage of making clear which part of the code depends on a given asset. The admin command in django_asset library's latest release does not work with the latest Django - so we use a version pulled from git. See https://github.com/miracle2k/django-assets/issues/52
-
Alice Heaton authored
Move font files under /media/fonts so they can be accessed at the expected place once the css is compiled into one file (font awesome accesses the fonts relative to the css location - so from /css/ to ../fonts/)
-
- Jul 13, 2015
-
-
Alice Heaton authored
Escaping single quotes in json embed tag is actually un-necessary (and breaks the data) since the single quotes are replaced with html entities.
-
Alice Heaton authored
-
Alice Heaton authored
-
Alice Heaton authored
-
- Jul 11, 2015
-
-
Alice Heaton authored
-
Alice Heaton authored
-
Alice Heaton authored
Remove untested djangojs url directive, which is not needed and does not work (mistakenly added following instructions)
-
Alice Heaton authored
InnoDb table and foreign key checks don't work well together in Django. See http://stackoverflow.com/questions/6178816/django-cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails
-
Alice Heaton authored
-
- Jul 10, 2015
-
-
Mark Skipper authored
Tidy up transport delete items Make the url generation work proerly (though I'm fairly sure we don't actually need the url as an argument to delete) and remove debug print statement *blush*
-
Alice Heaton authored
-
Alice Heaton authored
-
Mark Skipper authored
Make bulk_delete use delete() instead of bulk delete from REST
-
Alice Heaton authored
-
Alice Heaton authored
-
Alice Heaton authored
-
Alice Heaton authored
-
Mark Skipper authored
-
Alice Heaton authored
Implement the chart widget, and include the flot library. Data is communicated from Django to the javascript code using html5 data attributes, emembed using a Django custom filter.
-
Alice Heaton authored
-
Alice Heaton authored
Conflicts: django/website/dashboard/templates/dashboard/dashboard.html
-
Alice Heaton authored
-
Alice Heaton authored
Conflicts: django/website/hid/templates/hid/dashboard.html
-
Martin Burchell authored
Conflicts: django/website/urls.py
-
- Jul 09, 2015
-
-
Alice Heaton authored
-
Alice Heaton authored
Conflicts: django/website/dashboard/tests/widget_tests.py
-
Mark Skipper authored
-
Mark Skipper authored
-
Alice Heaton authored
-
Alice Heaton authored
Conflicts: django/website/dashboard/static/dashboard/dashboard.css
-
Alice Heaton authored
-
Alice Heaton authored
-
Alice Heaton authored
-
Alice Heaton authored
Add bootstrap markup to the simple text widget, and add the basic dashboard css. This should be updated when we merge in the theme.
-
Alice Heaton authored
Add bootstrap markup to the simple text widget, and add the basic dashboard css. This should be updated when we merge in the theme.
-
Alice Heaton authored
-
Alice Heaton authored
-
Alice Heaton authored
hid expects the 'dashboard' reverse url to point to the index page - so leave it that way. Added an initial dashboard called 'main' as that is execpted to exist, and tests require it.
-