- Jul 21, 2015
-
-
Alice Heaton authored
-
Alice Heaton authored
-
Alice Heaton authored
Refactor the 'select all checkboxes' javascript into a separate file so it can be used on other tables easily. Add a test for the select all checkboxes javascript. Remove the label from the 'delete' column (which is now a 'select all' column as we may have other actions) and move it to the first column as per balsamic mockups.
-
- Jul 20, 2015
-
-
Alice Heaton authored
-
Alice Heaton authored
-
Alice Heaton authored
Fix previous merge: use the version of get_category_options that came from the taxonomies branch, not the staging branch.
-
Mark Skipper authored
Still hard coded https://trello.com/c/GSjVYcNz/76-change-hardcoded-drop-down-elements-on-staging
-
Alice Heaton authored
-
Mark Skipper authored
-
- Jul 17, 2015
-
-
Mark Skipper authored
I think the version of the models you get for migrations doesn't include the methods we defined, so the save method doesn't set slug from name. So I have added explicit name and made the old name, which was in slug format, into the value of slug.
-
Alice Heaton authored
Refactor the code to handle file input type (use a custom button, and automatically submit upon file selection) so that it can be used on multiple pages. Add an upload button on the view/edit page.
-
Mark Skipper authored
Use accessor to fetch out the name of the first term (assuming there will be at most one) And the get_category function isn't needed any more because its the shrot name that gets compared in the template to decide which is selected.
-
Martin Burchell authored
-
Alice Heaton authored
-
Martin Burchell authored
Categories on the view/edit screen no longer have hard coded values but instead read the available terms from the database
-
Martin Burchell authored
-
Mark Skipper authored
Add add categories method to hid/views and call from process items Has a test, but so far only for the single category case.
-
Jay Alvarez authored
-
Jay Alvarez authored
-
Alice Heaton authored
-
- Jul 16, 2015
-
-
Jay Alvarez authored
Nominal styles for graph - as only have one type not really easy to see how other colours would work. Style now more in keeping with minimal styles of tables etc..
-
Alice Heaton authored
-
Alice Heaton authored
-
Jay Alvarez authored
-
- Jul 15, 2015
-
-
Jay Alvarez authored
-
Alice Heaton authored
-
Alice Heaton authored
-
Jay Alvarez authored
-- removing hanging tabs -- added easing to spinner and adjusted messages box to fit
-
Alice Heaton authored
Fetch the table data using the API, and use the existing view item table to render the content of the widget.
-
Jay Alvarez authored
-
Jay Alvarez authored
-
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
-
- Jul 14, 2015
-
-
Alice Heaton authored
-
Alice Heaton authored
Change from using an i tag for icons (which is what sb admin and bootstrap used to do) to using span tags for icons (which is more correct, and what bootstrap3 ended up doing as well)
-
- Jul 13, 2015
-
-
Alice Heaton authored
-
Jay Alvarez authored
-
Alice Heaton authored
Implement simple table widget. The data is currently stored in the widget settings, but this should be connected to the data api as and when needed
-
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
-