kopia lustrzana https://github.com/simonw/datasette
New hookspecs
rodzic
c38c42948c
commit
d5fac82f5b
|
@ -112,3 +112,53 @@ def table_actions(datasette, actor, database, table):
|
|||
@hookspec
|
||||
def database_actions(datasette, actor, database):
|
||||
"""Links for the database actions menu"""
|
||||
|
||||
|
||||
@hookspec
|
||||
def include_table_top(datasette, database, actor, table):
|
||||
"""Templates to include at the top of the table page"""
|
||||
|
||||
|
||||
@hookspec
|
||||
def include_table_bottom(datasette, database, actor, table):
|
||||
"""Templates to include at the bottom of the table page"""
|
||||
|
||||
|
||||
@hookspec
|
||||
def include_row_top(datasette, database, actor, table):
|
||||
"""Templates to include at the top of the row page"""
|
||||
|
||||
|
||||
@hookspec
|
||||
def include_row_bottom(datasette, database, actor, table):
|
||||
"""Templates to include at the bottom of the row page"""
|
||||
|
||||
|
||||
@hookspec
|
||||
def include_database_top(datasette, database, actor):
|
||||
"""Templates to include at the top of the database page"""
|
||||
|
||||
|
||||
@hookspec
|
||||
def include_database_bottom(datasette, database, actor):
|
||||
"""Templates to include at the bottom of the database page"""
|
||||
|
||||
|
||||
@hookspec
|
||||
def include_query_top(datasette, database, actor):
|
||||
"""Templates to include at the top of the query page"""
|
||||
|
||||
|
||||
@hookspec
|
||||
def include_query_bottom(datasette, database, actor):
|
||||
"""Templates to include at the bottom of the query page"""
|
||||
|
||||
|
||||
@hookspec
|
||||
def include_index_top(datasette, actor):
|
||||
"""Templates to include at the top of the index page"""
|
||||
|
||||
|
||||
@hookspec
|
||||
def include_index_bottom(datasette, actor):
|
||||
"""Templates to include at the bottom of the index page"""
|
||||
|
|
Ładowanie…
Reference in New Issue