##// END OF EJS Templates
Adds configuration options to use Google Drive content manager...
Adds configuration options to use Google Drive content manager Adds the key contentmanager_js_source to webapp_settings that allows for specifying the content manager JavaScript source file. Also adds a NotebookManager subclass, ClientSideNotebookManager, which does minimal logic. This class is used when the JavaScript content manager doesn't use the Python notebook manager, but rather implements that logic client side, as is the case for the Google Drive based content manager. A sample command line that uses the Google Drive content manager, and the ClientSideNotebookManager, is ipython notebook --NotebookApp.webapp_settings="{'contentmanager_js_source': 'base/js/drive_contentmanager'}" --NotebookApp.notebook_manager_class="IPython.html.services.notebooks.clientsidenbmanager.ClientSideNotebookManager"

File last commit:

r18589:135227ac
r18639:28c27a69
Show More
display_priority.tpl
37 lines | 1.2 KiB | application/vnd.groove-tool-template | SmartyLexer
{%- extends 'null.tpl' -%}
{#display data priority#}
{%- block data_priority scoped -%}
{%- for type in output.data | filter_data_type -%}
{%- if type == 'application/pdf' -%}
{%- block data_pdf -%}
{%- endblock -%}
{%- elif type == 'image/svg+xml' -%}
{%- block data_svg -%}
{%- endblock -%}
{%- elif type == 'image/png' -%}
{%- block data_png -%}
{%- endblock -%}
{%- elif type == 'text/html' -%}
{%- block data_html -%}
{%- endblock -%}
{%- elif type == 'image/jpeg' -%}
{%- block data_jpg -%}
{%- endblock -%}
{%- elif type == 'text/plain' -%}
{%- block data_text -%}
{%- endblock -%}
{%- elif type == 'text/latex' -%}
{%- block data_latex -%}
{%- endblock -%}
{%- elif type == 'application/javascript' -%}
{%- block data_javascript -%}
{%- endblock -%}
{%- else -%}
{%- block data_other -%}
{%- endblock -%}
{%- endif -%}
{%- endfor -%}
{%- endblock data_priority -%}