Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Formatting changes only | Matthew Lemon | 2024-07-29 | 1 | -25/+24 |
| | |||||
* | wip: creating a multiple choice field for additional categories | Matthew Lemon | 2024-07-29 | 2 | -4/+12 |
| | |||||
* | Tidy up the HTML only | Matthew Lemon | 2024-07-29 | 1 | -3/+8 |
| | |||||
* | Now handles EFL badges for non-featured cards | Matthew Lemon | 2024-07-29 | 1 | -2/+7 |
| | |||||
* | Handle the long EFL badge name | Matthew Lemon | 2024-07-29 | 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. | ||||
* | Card border changes | Matthew Lemon | 2024-07-29 | 1 | -2/+2 |
| | |||||
* | UI changes on index (see eblow) | Matthew Lemon | 2024-07-28 | 1 | -44/+49 |
| | | | | | | - removed Detail button - put Edit button in a card footer - Formatting the html | ||||
* | Tweak to the width of the non-featured resource card | Matthew Lemon | 2024-07-28 | 1 | -1/+2 |
| | |||||
* | Added border and badge colour based on category | Matthew Lemon | 2024-07-28 | 4 | -4/+26 |
| | | | | - You have to define them on the ResourceCategory model in the database | ||||
* | Very simple border round feature block for EY Literacy | Matthew Lemon | 2024-07-11 | 3 | -4/+17 |
| | |||||
* | Adds ability to add colour class to main category | Matthew Lemon | 2024-07-11 | 6 | -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 fixed | Matthew Lemon | 2024-07-11 | 4 | -6/+46 |
| | |||||
* | Better display of number of files in PDF | Matthew Lemon | 2024-07-07 | 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 | ||||
* | Better implementation of carousel | Matthew Lemon | 2024-07-07 | 3 | -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 carousel | Matthew Lemon | 2024-07-04 | 1 | -9/+28 |
| | | | | Needs lots of work and tidying up mind... | ||||
* | Adds htmx.js local file | Matthew Lemon | 2024-06-29 | 1 | -0/+1 |
| | |||||
* | Removed pypdfium2 which doesn't build on FreeBSD | Matthew Lemon | 2024-06-23 | 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 | ||||
* | Fix erroneous return statement | Matthew Lemon | 2024-06-22 | 1 | -3/+1 |
| | |||||
* | Removes unnecessary comment | Matthew Lemon | 2024-06-22 | 1 | -28/+0 |
| | |||||
* | Better use of pytest-django mark | Matthew Lemon | 2024-06-22 | 1 | -3/+2 |
| | |||||
* | Fixes bug where multiple PDFs not snappshotted | Matthew Lemon | 2024-06-22 | 2 | -7/+38 |
| | | | | | Includes test of new function which determines the length and composition of the snappshotted pages. | ||||
* | Removes extraneous code create_resource_objects | Matthew Lemon | 2024-05-26 | 1 | -20/+0 |
| | |||||
* | Tweaking borders | Matthew Lemon | 2024-05-26 | 1 | -1/+1 |
| | |||||
* | Changes the flex alignment to start for non-featured resources | Matthew Lemon | 2024-05-26 | 1 | -1/+1 |
| | |||||
* | Tweaking the layout of the list page | Matthew Lemon | 2024-05-26 | 2 | -5/+9 |
| | |||||
* | Correctly handles the unique constraint on feature_slot | Matthew Lemon | 2024-05-26 | 5 | -69/+88 |
| | |||||
* | Fix link on card which was overriding the detail and edit links | Matthew Lemon | 2024-05-26 | 1 | -5/+3 |
| | |||||
* | Changes the layout of the index slightly - better spacing | Matthew Lemon | 2024-05-26 | 1 | -2/+2 |
| | |||||
* | Adds a link to each card on the index page | Matthew Lemon | 2024-05-26 | 1 | -0/+2 |
| | |||||
* | Better presentation of the feature resources | Matthew Lemon | 2024-05-26 | 7 | -84/+174 |
| | |||||
* | Markdown for the card description | Matthew Lemon | 2024-05-26 | 1 | -2/+3 |
| | |||||
* | Removes breakpoint | Matthew Lemon | 2024-05-26 | 1 | -1/+0 |
| | |||||
* | Basic feature slot presentation in index page | Matthew Lemon | 2024-05-26 | 6 | -55/+118 |
| | |||||
* | wip: create form now as a feature field | Matthew Lemon | 2024-05-26 | 2 | -2/+6 |
| | |||||
* | Tests validation of resource create form | Matthew Lemon | 2024-05-24 | 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. | ||||
* | Fixed the failing form test | Matthew Lemon | 2024-05-22 | 1 | -38/+23 |
| | | | | | We now pass a MultiValueDict object to which allows self.files.getlist() to work properly inside clean_pdf_files() | ||||
* | Resource now has a feature slot field | Matthew Lemon | 2024-05-22 | 6 | -6/+80 |
| | |||||
* | Adds a new page template to manipulate feature resources - but we may not ↵ | Matthew Lemon | 2024-05-22 | 1 | -2/+14 |
| | | | | need this | ||||
* | wip: starting to test the featured resource view | Matthew Lemon | 2024-05-22 | 5 | -0/+28 |
| | |||||
* | wip: | Matthew Lemon | 2024-05-20 | 3 | -2/+26 |
| | | | | | | - Passing test for raw ORM handling to find snapshot files from an object - Quietens down pytest output | ||||
* | Removes unnwanted tests.py file | Matthew Lemon | 2024-05-19 | 1 | -1/+0 |
| | |||||
* | wip: improving the test setup - again | Matthew Lemon | 2024-05-16 | 1 | -1/+5 |
| | |||||
* | wip: improving the test setup | Matthew Lemon | 2024-05-16 | 2 | -24/+19 |
| | |||||
* | wip: working on setting up the tests | Matthew Lemon | 2024-05-16 | 2 | -4/+43 |
| | |||||
* | wip: starting to test feature resource functionality with factories | Matthew Lemon | 2024-05-16 | 6 | -4/+69 |
| | |||||
* | wip: replacing os.path.basename with Path | Matthew Lemon | 2024-05-16 | 1 | -3/+5 |
| | |||||
* | wip: markdown implemented for description field but working on help_text | Matthew Lemon | 2024-05-16 | 7 | -6/+59 |
| | |||||
* | Moving to pytest syntax for tests | Matthew Lemon | 2024-05-16 | 1 | -13/+13 |
| | |||||
* | Cleans up a few LSP errors | Matthew Lemon | 2024-05-16 | 1 | -11/+11 |
| | |||||
* | Fix additional resource field in update form | Matthew Lemon | 2024-05-15 | 2 | -1/+25 |
| |