Extra body CSS class for canned queries, closes #727

This commit is contained in:
Simon Willison 2020-04-15 14:06:12 -07:00
commit 15e2321804
3 changed files with 10 additions and 1 deletions

View file

@ -63,6 +63,10 @@ The custom SQL template (``/dbname?sql=...``) gets this::
<body class="query db-dbname">
A canned query template (``/dbname/queryname``) gets this::
<body class="query db-dbname query-queryname">
The table template (``/dbname/tablename``) gets::
<body class="table db-dbname table-tablename">