aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-07-29Now handles EFL badges for non-featured cardsMatthew Lemon1-2/+7
2024-07-29Handle the long EFL badge nameMatthew Lemon1-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-29Card border changesMatthew Lemon1-2/+2
2024-07-28UI changes on index (see eblow)Matthew Lemon1-44/+49
- removed Detail button - put Edit button in a card footer - Formatting the html
2024-07-28Tweak to the width of the non-featured resource cardMatthew Lemon1-1/+2
2024-07-28Added border and badge colour based on categoryMatthew Lemon4-4/+26
- You have to define them on the ResourceCategory model in the database
2024-07-11Very simple border round feature block for EY LiteracyMatthew Lemon3-4/+17
2024-07-11Adds ability to add colour class to main categoryMatthew Lemon6-2/+33
- Creates a new line in the database - Uses this in the template instead of the default bootstrap class
2024-07-11Curriculum is optional and age ranges are fixedMatthew Lemon4-6/+46
2024-07-07Better display of number of files in PDFMatthew Lemon1-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-07Better implementation of carouselMatthew Lemon3-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-04Basic implementation of a carouselMatthew Lemon1-9/+28
Needs lots of work and tidying up mind...
2024-06-29Adds htmx.js local fileMatthew Lemon1-0/+1
2024-06-23Removed pypdfium2 which doesn't build on FreeBSDMatthew Lemon1-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-22Fix erroneous return statementMatthew Lemon1-3/+1
2024-06-22Removes unnecessary commentMatthew Lemon1-28/+0
2024-06-22Better use of pytest-django markMatthew Lemon1-3/+2
2024-06-22Fixes bug where multiple PDFs not snappshottedMatthew Lemon2-7/+38
Includes test of new function which determines the length and composition of the snappshotted pages.
2024-05-26Removes extraneous code create_resource_objectsMatthew Lemon1-20/+0
2024-05-26Tweaking bordersMatthew Lemon1-1/+1
2024-05-26Changes the flex alignment to start for non-featured resourcesMatthew Lemon1-1/+1
2024-05-26Tweaking the layout of the list pageMatthew Lemon2-5/+9
2024-05-26Correctly handles the unique constraint on feature_slotMatthew Lemon5-69/+88
2024-05-26Fix link on card which was overriding the detail and edit linksMatthew Lemon1-5/+3
2024-05-26Changes the layout of the index slightly - better spacingMatthew Lemon1-2/+2
2024-05-26Adds a link to each card on the index pageMatthew Lemon1-0/+2
2024-05-26Better presentation of the feature resourcesMatthew Lemon7-84/+174
2024-05-26Markdown for the card descriptionMatthew Lemon1-2/+3
2024-05-26Removes breakpointMatthew Lemon1-1/+0
2024-05-26Basic feature slot presentation in index pageMatthew Lemon6-55/+118
2024-05-26wip: create form now as a feature fieldMatthew Lemon2-2/+6
2024-05-24Tests validation of resource create formMatthew Lemon3-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-22Fixed the failing form testMatthew Lemon1-38/+23
We now pass a MultiValueDict object to which allows self.files.getlist() to work properly inside clean_pdf_files()
2024-05-22Resource now has a feature slot fieldMatthew Lemon6-6/+80
2024-05-22Adds a new page template to manipulate feature resources - but we may not ↵Matthew Lemon1-2/+14
need this
2024-05-22wip: starting to test the featured resource viewMatthew Lemon5-0/+28
2024-05-20wip:Matthew Lemon3-2/+26
- Passing test for raw ORM handling to find snapshot files from an object - Quietens down pytest output
2024-05-19Removes unnwanted tests.py fileMatthew Lemon1-1/+0
2024-05-16wip: improving the test setup - againMatthew Lemon1-1/+5
2024-05-16wip: improving the test setupMatthew Lemon2-24/+19
2024-05-16wip: working on setting up the testsMatthew Lemon2-4/+43
2024-05-16wip: starting to test feature resource functionality with factoriesMatthew Lemon6-4/+69
2024-05-16wip: replacing os.path.basename with PathMatthew Lemon1-3/+5
2024-05-16wip: markdown implemented for description field but working on help_textMatthew Lemon7-6/+59
2024-05-16Moving to pytest syntax for testsMatthew Lemon1-13/+13
2024-05-16Cleans up a few LSP errorsMatthew Lemon1-11/+11
2024-05-15Fix additional resource field in update formMatthew Lemon2-1/+25
2024-05-15Migrates tests over from old projectMatthew Lemon8-0/+434
2024-05-15Fixing the title tagsMatthew Lemon3-3/+3
2024-05-15Tinkering with CSSMatthew Lemon1-10/+10