Next generation of the CMS the Strathspey sites are based on. Uses Python 3.9, Django 3.1 and other up-to-date goodies.
- Python 71.2%
- HTML 24.7%
- CSS 2.4%
- JavaScript 1.3%
- Shell 0.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
This lets you append a `?crib_opts=…` query parameter to a URL for a dance list detail page. The value of that option is used to initialise the style options for that page (only), overriding any default style options. The allowable options are: - `0`: display dances with no cribs - `I`: display non-dance items - `D`: display dance diagrams (where available) - `T`: display times - `P`: display publication references from the current collection - `R`: display recording references - `N`: display notes We manage this by storing the value of the `crib_opts` query parameter as a `data-crib-opts` attribute on the “Cribs” tab button (where there is already various other stuff to do with the “Cribs” tab), and arranging for the value of this attribute to override the `current_style_options` from the Django session if it exists. This means that if the user navigates to the “Cribs” tab, the content of that tab will be controlled by the `crib_opts` query parameter rather than the `current_style_options` from the Django session, but only for this instance of displaying the list. |
||
| data | ||
| docker | ||
| docs | ||
| etc | ||
| src | ||
| tests | ||
| .editorconfig | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| babel.cfg | ||
| Makefile | ||
| pyproject.toml | ||
| pytest.ini | ||
| README.rst | ||
| requirements-test.txt | ||
| uv.lock | ||
ACE4 Content Management System ============================== This is the ACE4 CMS as used on the strathspey.org web sites.