#NEWLINE# @ blueprint . route ( '/index' ) #NEWLINE# def index( ) : #NEWLINE# #INDENT# 'Show a list of available libraries, and resource files' #NEWLINE# kwdb = current_app . kwdb #NEWLINE# libraries = get_collections ( kwdb , libtype = 'library' ) #NEWLINE# resource_files = get_collections ( libraries , libtype = 'resource' ) #NEWLINE# return flask . render_template ( 'libraryNames.html' , data = { #NEWLINE# #INDENT# 'libraries' : libraries , #NEWLINE# 'version' : __version__ , #NEWLINE# 'resource_files' : resource_files , #NEWLINE# #UNINDENT# } )