aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static (follow)
Commit message (Collapse)AuthorAgeLines
* getCurrentTheme returns "default" if emptyGravatar GDWR2022-02-08-0/+3
|
* Resize switchGravatar GDWR2022-02-08-8/+8
|
* Add initial dark themeGravatar GDWR2022-02-08-0/+170
|
* Duck pond removed when removing all filters.Gravatar Leon Sandøy2022-02-02-1/+2
|
* Complete refactor of collapsibles.Gravatar Leon Sandøy2022-02-01-22/+57
| | | | | | | | | | | | | This is now a completely self-contained feature, which can be used in the same way on every page. I've moved all the collapsible-related logics out of the resources.js file and into collapsibles.js, and added documentation and other quality-of-life features that will apply to other pages, as well. Changes: - The icon will now always change when the collapsible opens or closes. - By adding the "collapsed" class, you can tell the collapsible to be collapsed by default.
* Fix delay when collapsing collapsibles.Gravatar Leon Sandøy2022-02-01-2/+7
|
* Fix bug where transition wouldn't work on first collapse.Gravatar Leon Sandøy2022-02-01-9/+10
|
* When hovering titles, make them light, not black.Gravatar Leon Sandøy2022-02-01-0/+6
|
* Make resource tags correctly deactivate.Gravatar Leon Sandøy2022-02-01-0/+9
|
* Add a button for removing all active filters.Gravatar Leon Sandøy2022-01-31-27/+61
|
* Adding missing EOFs.Gravatar Leon Sandøy2022-01-31-2/+2
|
* Fix category header double click bug on mobile.Gravatar Leon Sandøy2022-01-31-1/+1
|
* Improve performance of addFilter() up to 300%Gravatar Leon Sandøy2022-01-31-9/+15
|
* Hide no filters selected in all cases.Gravatar Leon Sandøy2022-01-31-0/+7
|
* Get rid of invalid filters in the URL.Gravatar Leon Sandøy2022-01-31-7/+17
|
* Added margins and max-width to filtering column.Gravatar Leon Sandøy2022-01-31-6/+14
|
* Indent checkboxes under the headers.Gravatar Leon Sandøy2022-01-31-0/+11
|
* Make the resource link icons a size smaller.Gravatar Leon Sandøy2022-01-31-0/+5
| | | | | We also add a little breathing room to the tag container, so that it doesn't encroach on the personal space of the icons.
* Shrink and center the duck pond 404.Gravatar Leon Sandøy2022-01-31-5/+5
|
* Collapse category headers on load for mobile only.Gravatar Leon Sandøy2022-01-30-1/+20
|
* Make the category headers smaller on mobile.Gravatar Leon Sandøy2022-01-30-0/+12
|
* Hide the filter tags initially.Gravatar Leon Sandøy2022-01-30-1/+6
| | | | Helps prevent a flash of tags.
* Refactor: collapsibles as a stand-alone componentGravatar Leon Sandøy2022-01-30-13/+12
|
* Show a "No filters selected" indicator.Gravatar Leon Sandøy2022-01-30-2/+8
|
* Fix broken css for no-resource duck pond.Gravatar Leon Sandøy2022-01-30-8/+8
|
* Show a duck pond when no filters match.Gravatar Leon Sandøy2022-01-30-0/+7
|
* Support dashful redirects.Gravatar Leon Sandøy2022-01-30-6/+5
| | | | | | | Previously, trying to go to `resources/project%20ideas` would crash the filtering JS. This has now been sorted out, so that these types of redirects have their spaces replaced by dashes, which makes them valid again.
* Clean up hover effects.Gravatar Leon Sandøy2022-01-30-57/+48
| | | | | | | | | | - We now have a hover effect for all icons. - We also now support hover effects for all tags. - However, we don't have any hover effect for icons in titles. That just looks weird. Additionally, we're getting rid of some bloat and consolidating the CSS into one place.
* Don't redirect if the resource_type is None!Gravatar Leon Sandøy2022-01-30-2/+1
|
* Redirects from old endpoints now filter correctly.Gravatar Leon Sandøy2022-01-30-0/+8
| | | | | For example, navigating to pydis.com/resources/communities will now correctly redirect to pydis.com/resources/?type=community.
* Complexity -> Difficulty.Gravatar Leon Sandøy2022-01-29-3/+3
|
* Don't round edges of the filter category headers.Gravatar Leon Sandøy2022-01-29-0/+5
|
* Let the user know when there are no matches.Gravatar Leon Sandøy2022-01-29-0/+17
|
* Make all tags interactive.Gravatar Leon Sandøy2022-01-28-33/+181
| | | | | | | | Adds a bunch of tag-related quality of life improvements: - You can now see which filters you've added at the top left. - You can click on tags to start filtering to that tag. - You can click on tags in the filter box to remove the filter. - Tags will now show an outline when they are active.
* Reflect and retain filter state in URL params.Gravatar Leon Sandøy2022-01-27-65/+65
| | | | | | | | | | | | | This commits makes two important changes: - Whenever we click on filter checkboxes, the URL is immediately updated to include parameters that represent the chosen options. For example, if you select Beginner complexity, the url is updated with ?complexity=beginner. - Whenever the page is loaded, we deserialize any parameters that exist in the URL and change the filter state to match it. In other words, refreshing the page at any time retains the current state, and you can now link people to exactly the filter results that you want to share.
* Resource filtering on the client, pt 1.Gravatar Leon Sandøy2022-01-27-60/+166
| | | | | | | Here's the initial version of this system. We've got filtering, but only by clicking checkboxes. The overall look and style are pretty close to where we want them, but it's missing tons of polish to be complete. The following commits will contain that polish.
* Merge branch 'main' into swfarnsworth/smarter-resources/merge-with-mainGravatar Leon Sandøy2022-01-23-5/+48
|\
| * Add netcup logo to sponsor block on homeapgeGravatar Chris Lovering2022-01-10-0/+0
| |
| * Shift footer images slightly to be better in lineGravatar Chris Lovering2022-01-05-1/+2
| |
| * Use an svg for django footer logoGravatar Chris Lovering2022-01-05-2/+2
| |
| * Add netcup logo to page footerGravatar Chris Lovering2022-01-05-0/+8
| |
| * Restructure bot contributing guide (#591)Gravatar Boris Muratov2021-10-17-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | * Restructure bot contributing guide Restructures the bot guide to focus on getting users "through the door" first, and slowly adding additional information and options. The guide is built in terms of showing ways to run the bot and how to achieve it, rather than listing all of the information for each configuration and environment variable right away. That said, the attempt was to still present the reader with the full information they need, and to still be able to use as a quick reference for contributors who are already familiar with the project. As a style choice, this guide incorporates collapsible elements, which required some CSS and JS additions. This could be resolved with the bulma-collapsible extension, but it doesn't seem to function well inside django templates. The guide includes an optional config.yml to use with the test server template. This is a temporary measure until we get the bootstrapping application going. This guide additionally splits the bot account creation and obtaining Discord ID's guides and they didn't seem related. The original file is kept for now as it is used by other guides at the moment.
| * Adds Netlify To SponsorsGravatar Hassan Abouelela2021-10-06-0/+0
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * Properly Resize Sponsor LogosGravatar Hassan Abouelela2021-10-06-2/+10
| | | | | | | | | | | | | | Ensure sponsor logos don't go past the edge of the screen, and maintain aspect ratio when sized down. Signed-off-by: Hassan Abouelela <[email protected]>
* | Make GoodReads icons readable.Gravatar Leon Sandøy2022-01-23-11/+5
| |
* | Move evil <script> tag into a .js file.Gravatar Leon Sandøy2022-01-23-0/+48
| |
* | feat: Center `Search` and `Clear Search` buttonsGravatar Vivaan Verma2021-08-12-1/+0
| |
* | styles: filtering resources pageGravatar dawnofmidnight2021-08-03-0/+9
| |
* | Remove extra newline from end of file (there is now one newline).Gravatar swfarnsworth2021-07-24-1/+0
| |
* | change resources to prepare for smart resource searchGravatar fisher602021-07-23-25/+26
| |