{% extends "base.html" %} {%import json %} {% block main_body_right %} Data Source Information {% if 'error' in base_navigation_dict.keys()%} × Error! {{base_navigation_dict['error']}} {%end%} Data Source Information {% if base_navigation_dict['selected_add_data_source'] == False %} {% end %} Choose The Data Source Type (Required): {% for p in base_navigation_dict['plugin_name_list'] %} {{p}} {% end %} Data Source Name (Required): Reflect Data Source Immediately Description: {{ base_navigation_dict['db'].ds_desc if 'db' in base_navigation_dict.keys() else "" }} {# to show existing datasource and to show new data source should be same now! #} {# if base_navigation_dict['selected_add_data_source'] == False This is to use plugin parameter to create a new DS#} {% for param_id in base_navigation_dict['input_ds_param'].keys() %} {% if base_navigation_dict['input_ds_param'][param_id]['type'] == 'Boolean' %} {# This is to show existing datasource#} {{ base_navigation_dict['input_ds_param'][param_id]['full_name']}} {% else %} {# all other types are treated as String#} {{ base_navigation_dict['input_ds_param'][param_id]['full_name']}} {% end %} {% end %} {% if 'db' in base_navigation_dict.keys() %} {% end %} List of Tables (only for relational DBs) Database Name Table Name Table Comments Column Names Operations {% if 'tabrs' in base_navigation_dict.keys() %} {% for tab in base_navigation_dict['tabrs'] %} {{ '.'.join([tab.ds_name]) }} {{ tab.table_name }} {{ tab.table_comment }} {{ tab.column_names }} Create Notebook {% end %} {% end %} {% end %}