Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2024-08-02 | wip: trying to fix fucked divs on index page | Matthew Lemon | 1 | -139/+140 | |
More to come - going to have to redo all the HTML on this page. | |||||
2024-08-01 | Fix: div problems in index page. | Matthew Lemon | 1 | -140/+139 | |
2024-08-01 | Refactor PDF collection type conditions for readability. | Matthew Lemon | 1 | -5/+5 | |
Simplify conditional checks for PDF collection types by removing unnecessary line continuations. Also, fix param format in hx_download_button docstring and adjust string formatting for error messages. | |||||
2024-08-01 | Fix: bug where thumbnail image filenames were not being saved on the ↵ | Matthew Lemon | 1 | -0/+1 | |
resource object. | |||||
2024-08-01 | Responsive feature cards on index page | Matthew Lemon | 1 | -75/+82 | |
- Width is responsive - Breakpoints allow for stacking at smaller ones | |||||
2024-08-01 | Renamed additional_resource_categories to subcategories in ResourceInfo object. | Matthew Lemon | 1 | -2/+2 | |
2024-08-01 | Ordering the subcategories dropdown list on the update form. | Matthew Lemon | 1 | -0/+1 | |
2024-08-01 | Ordering the subcategories on the admin page. | Matthew Lemon | 1 | -1/+3 | |
2024-08-01 | Releasing the exception working to the error message. | Matthew Lemon | 1 | -2/+2 | |
2024-08-01 | Fix bug where new subcategories were being created on selection | Matthew Lemon | 5 | -12/+56 | |
2024-08-01 | Fix error with validation on additional_resource_category | Matthew Lemon | 1 | -1/+0 | |
2024-07-29 | wip: Adds a new model for additional categories | Matthew Lemon | 7 | -9/+119 | |
- Adds new ResourceSubcategory - Uses this for choices= in the Resource form (create) - Adds this new model to the admin Doesn't validate in the edit form yet, | |||||
2024-07-29 | Formatting changes only | Matthew Lemon | 1 | -25/+24 | |
2024-07-29 | wip: creating a multiple choice field for additional categories | Matthew Lemon | 2 | -4/+12 | |
2024-07-29 | Tidy up the HTML only | Matthew Lemon | 1 | -3/+8 | |
2024-07-29 | Now handles EFL badges for non-featured cards | Matthew Lemon | 1 | -2/+7 | |
2024-07-29 | Handle the long EFL badge name | Matthew Lemon | 1 | -2/+7 | |
The full title of "English as a Foreign Language (EFL)" did not fit inside a badge, so we have had to add a conditional in the template to guard against it. | |||||
2024-07-29 | Card border changes | Matthew Lemon | 1 | -2/+2 | |
2024-07-28 | UI changes on index (see eblow) | Matthew Lemon | 1 | -44/+49 | |
- removed Detail button - put Edit button in a card footer - Formatting the html | |||||
2024-07-28 | Tweak to the width of the non-featured resource card | Matthew Lemon | 1 | -1/+2 | |
2024-07-28 | Added border and badge colour based on category | Matthew Lemon | 4 | -4/+26 | |
- You have to define them on the ResourceCategory model in the database | |||||
2024-07-11 | Very simple border round feature block for EY Literacy | Matthew Lemon | 3 | -4/+17 | |
2024-07-11 | Adds ability to add colour class to main category | Matthew Lemon | 6 | -2/+33 | |
- Creates a new line in the database - Uses this in the template instead of the default bootstrap class | |||||
2024-07-11 | Curriculum is optional and age ranges are fixed | Matthew Lemon | 4 | -6/+46 | |
2024-07-07 | Better display of number of files in PDF | Matthew Lemon | 1 | -4/+6 | |
- The header bar now contains a Number of files: X dependent on the number of files in the resource - The File Preview header now includes a counter number if this is a multi-page PDF - The title of PDF file is put alongside the File Preview text in the h4 | |||||
2024-07-07 | Better implementation of carousel | Matthew Lemon | 3 | -2/+20 | |
- Removed the primary coloured background - Changed the colour of the next and previous icons - Reduced the width of the actual image | |||||
2024-07-04 | Basic implementation of a carousel | Matthew Lemon | 1 | -9/+28 | |
Needs lots of work and tidying up mind... | |||||
2024-06-29 | Adds htmx.js local file | Matthew Lemon | 1 | -0/+1 | |
2024-06-23 | Removed pypdfium2 which doesn't build on FreeBSD | Matthew Lemon | 1 | -17/+19 | |
Libraries used: - PdPDF2 (to get basic PDF length) - https://pypi.org/project/PyPDF2/ - pdf2image (to extract images from each page) - https://github.com/Belval/pdf2image Reduction of quality of screenshotted image is in place. Reduced pdf screenshot quality considerably | |||||
2024-06-22 | Fix erroneous return statement | Matthew Lemon | 1 | -3/+1 | |
2024-06-22 | Removes unnecessary comment | Matthew Lemon | 1 | -28/+0 | |
2024-06-22 | Better use of pytest-django mark | Matthew Lemon | 1 | -3/+2 | |
2024-06-22 | Fixes bug where multiple PDFs not snappshotted | Matthew Lemon | 2 | -7/+38 | |
Includes test of new function which determines the length and composition of the snappshotted pages. | |||||
2024-05-26 | Removes extraneous code create_resource_objects | Matthew Lemon | 1 | -20/+0 | |
2024-05-26 | Tweaking borders | Matthew Lemon | 1 | -1/+1 | |
2024-05-26 | Changes the flex alignment to start for non-featured resources | Matthew Lemon | 1 | -1/+1 | |
2024-05-26 | Tweaking the layout of the list page | Matthew Lemon | 2 | -5/+9 | |
2024-05-26 | Correctly handles the unique constraint on feature_slot | Matthew Lemon | 5 | -69/+88 | |
2024-05-26 | Fix link on card which was overriding the detail and edit links | Matthew Lemon | 1 | -5/+3 | |
2024-05-26 | Changes the layout of the index slightly - better spacing | Matthew Lemon | 1 | -2/+2 | |
2024-05-26 | Adds a link to each card on the index page | Matthew Lemon | 1 | -0/+2 | |
2024-05-26 | Better presentation of the feature resources | Matthew Lemon | 7 | -84/+174 | |
2024-05-26 | Markdown for the card description | Matthew Lemon | 1 | -2/+3 | |
2024-05-26 | Removes breakpoint | Matthew Lemon | 1 | -1/+0 | |
2024-05-26 | Basic feature slot presentation in index page | Matthew Lemon | 6 | -55/+118 | |
2024-05-26 | wip: create form now as a feature field | Matthew Lemon | 2 | -2/+6 | |
2024-05-24 | Tests validation of resource create form | Matthew Lemon | 3 | -8/+39 | |
In particular related to the new feature_slot field. Ensures that the feature_slot integer must be unique when attempts to save to the database and that the value given in the form is between 1 and 3. | |||||
2024-05-22 | Fixed the failing form test | Matthew Lemon | 1 | -38/+23 | |
We now pass a MultiValueDict object to which allows self.files.getlist() to work properly inside clean_pdf_files() | |||||
2024-05-22 | Resource now has a feature slot field | Matthew Lemon | 6 | -6/+80 | |
2024-05-22 | Adds a new page template to manipulate feature resources - but we may not ↵ | Matthew Lemon | 1 | -2/+14 | |
need this |