Templates - DDMAL/CantusDB GitHub Wiki
Most of CantusDB's pages are outlined in a template, and these templates are rendered in a view. For those pages that do not have an associated template, refer to the documentation on flat pages.
General templates
Templates applying to the entire CantusDB project are found in /cantusdb_project/templates/ (view directory)
base.html(code)- nearly all CantusDB's other templates extend
base.html
- nearly all CantusDB's other templates extend
flatpages/default.html(code) (see also Flatpages)default.htmlextendsbase.html
main_app
Templates relating to views in main_app are found in /cantusdb_project/main_app/templates/ (view directory)
403.html(code)403.htmlextendsbase.html.
404.html(code)404.htmlextendsbase.html.
chant_confirm_delete.html(code)chant_create.html(code)chant_detail.html(code)chant_detail.htmlis used to display the chant detail view. It extendsbase.html.
chant_edit.html(code)chant_edit.htmlis used to display the chant edit volpiano view. It extendsbase.html.
chant_form.html(code)chant_list.html(code)chant_list.htmlis used to display the chant list view. It extendsbase.html.
chant_proofread.html(code)chant_search.html(code)chant_seq_by_cantus_id.html(code)chant_syllabification_edit.html(code)ci_search.html(code)contact_form.html(code)content_overview.html(code)feast_detail.html(code)feast_list.html(code)full_index.html(code)genre_detail.html(code)genre_list.html(code)global_search_bar.html(code)indexer_detail.html(code)indexer_list.html(code)items_count.html(code)melody_search.html(code)office_detail.html(code)office_list.html(code)pagination.html(code)sequence_detail.html(code)sequence_edit.html(code)sequence_list.html(code)source_create_form.html(code)source_detail.html(code)source_edit.html(code)source_list.html(code)user_detail.html(code)user_list.html(code)user_source_list.html(code)
articles
Templates relating to views in articles are found in /cantusdb_project/articles/templates/ (view directory)