aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Improved resource list layoutMatthew Lemon2024-09-013-5/+60
| | | | - "horizontal" arrangement of standard resources
* Logo and new navbar and new detail designMatthew Lemon2024-09-0112-152/+369
| | | | | | | - logo in place - new navbar - removed Joanna Lemon, etc - tidying up the detail page, using cards and nicer titles - better detail panel at the top of the page with a table in it
* Mainly formattingMatthew Lemon2024-08-221-37/+49
|
* Adds basic pricing section and footerMatthew Lemon2024-08-223-3/+223
|
* Adds a basic hero and feature section to the homepageMatthew Lemon2024-08-223-142/+316
|
* The Cancel button is now managed by crispy forms.Matthew Lemon2024-08-083-7/+12
|
* wip: adding delete and replace buttons for PDFsMatthew Lemon2024-08-053-85/+94
|
* Add feature to add PDFs to resourcesMatthew Lemon2024-08-036-6/+120
| | | | Implemented the ability to upload and manage PDFs for resources. Added the necessary form, view, and templates to support this functionality. Updated routes and UI elements to integrate the new feature seamlessly.
* Add return type hint to upload_snapshotted_pages_to_s3Matthew Lemon2024-08-031-1/+1
| | | | This change explicitly specifies that the function upload_snapshotted_pages_to_s3 returns a boolean. Adding type hints helps improve code readability and maintainability by providing clear expectations on the function's return value.
* Add admin models for PDFResource and PDFPageSnapshotMatthew Lemon2024-08-032-1/+15
| | | | Expand the admin interface to include PDFResource and PDFPageSnapshot models. The new admin classes define `list_display` attributes to manage displayed columns in the admin list views.
* Removes blackism....Matthew Lemon2024-08-031-3/+1
|
* Remove Client created log line that is unnecessary.Matthew Lemon2024-08-031-1/+0
|
* Add S3 utility module and refactor S3 functions into itMatthew Lemon2024-08-034-113/+116
| | | | Created a new `s3.py` utility module for handling S3 interactions including file uploads and generating presigned URLs. Refactored views to utilize these new utility functions and moved the PDF collection type function to a new `utils.py` module to improve code organization and readability.
* Updated help text in form field.Matthew Lemon2024-08-031-1/+1
|
* Adds ability to update the thumbnail/feature imagesMatthew Lemon2024-08-035-10/+82
|
* wip: adding the update thumbnails formMatthew Lemon2024-08-035-5/+47
|
* Refactored list template into includes to fix div hell.Matthew Lemon2024-08-023-143/+104
|
* wip: trying to fix fucked divs on index pageMatthew Lemon2024-08-021-139/+140
| | | | More to come - going to have to redo all the HTML on this page.
* Switch off mandatory email validation for now.Matthew Lemon2024-08-021-2/+2
|
* Switch on console output for email for testing.Matthew Lemon2024-08-011-2/+3
|
* Fix: div problems in index page.Matthew Lemon2024-08-011-140/+139
|
* Deletes a bunch of bullshit files I don't need.Matthew Lemon2024-08-015-121/+0
|
* Refactor PDF collection type conditions for readability.Matthew Lemon2024-08-011-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.
* Fix: bug where thumbnail image filenames were not being saved on the ↵Matthew Lemon2024-08-011-0/+1
| | | | resource object.
* Responsive feature cards on index pageMatthew Lemon2024-08-011-75/+82
| | | | | - Width is responsive - Breakpoints allow for stacking at smaller ones
* Renamed additional_resource_categories to subcategories in ResourceInfo object.Matthew Lemon2024-08-011-2/+2
|
* Ordering the subcategories dropdown list on the update form.Matthew Lemon2024-08-011-0/+1
|
* Ordering the subcategories on the admin page.Matthew Lemon2024-08-011-1/+3
|
* Releasing the exception working to the error message.Matthew Lemon2024-08-011-2/+2
|
* Fix bug where new subcategories were being created on selectionMatthew Lemon2024-08-015-12/+56
|
* Fix error with validation on additional_resource_categoryMatthew Lemon2024-08-011-1/+0
|
* wip: Adds a new model for additional categoriesMatthew Lemon2024-07-297-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,
* Formatting changes onlyMatthew Lemon2024-07-291-25/+24
|
* wip: creating a multiple choice field for additional categoriesMatthew Lemon2024-07-292-4/+12
|
* Tidy up the HTML onlyMatthew Lemon2024-07-291-3/+8
|
* Now handles EFL badges for non-featured cardsMatthew Lemon2024-07-291-2/+7
|
* Handle the long EFL badge nameMatthew Lemon2024-07-291-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.
* Card border changesMatthew Lemon2024-07-291-2/+2
|
* UI changes on index (see eblow)Matthew Lemon2024-07-281-44/+49
| | | | | | - removed Detail button - put Edit button in a card footer - Formatting the html
* Tweak to the width of the non-featured resource cardMatthew Lemon2024-07-281-1/+2
|
* Added border and badge colour based on categoryMatthew Lemon2024-07-284-4/+26
| | | | - You have to define them on the ResourceCategory model in the database
* Very simple border round feature block for EY LiteracyMatthew Lemon2024-07-113-4/+17
|
* Gitignore onlyMatthew Lemon2024-07-111-0/+3
|
* Adds alias file for sasscMatthew Lemon2024-07-111-0/+1
|
* Adds ability to add colour class to main categoryMatthew Lemon2024-07-116-2/+33
| | | | | - Creates a new line in the database - Uses this in the template instead of the default bootstrap class
* Curriculum is optional and age ranges are fixedMatthew Lemon2024-07-114-6/+46
|
* Better display of number of files in PDFMatthew Lemon2024-07-071-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
* Better implementation of carouselMatthew Lemon2024-07-073-2/+20
| | | | | | - Removed the primary coloured background - Changed the colour of the next and previous icons - Reduced the width of the actual image
* Basic implementation of a carouselMatthew Lemon2024-07-041-9/+28
| | | | Needs lots of work and tidying up mind...
* Adds htmx.js local fileMatthew Lemon2024-06-291-0/+1
|