|
9 | 9 |
|
10 | 10 | <form method="post" action="{{ action }}" class="datapusher-form"> |
11 | 11 | {{ h.csrf_input() }} |
| 12 | + <p>The Datastore allows the Hub to store information from your resources to power features like data preview, search and filter, and the data dictionary. |
| 13 | + If you are experiencing issues with any of these features or there is an error in this section, first try to reupload the resource with the “Upload to Datastore” button. |
| 14 | + If you need additional assistance, please visit the <a href="https://docs.txwaterdatahub.org/catalog-management/application">Hub Documents Library</a> or reach out to <a href="/contact" >Hub support</a>.</p> |
12 | 15 | <button class="btn btn-primary" name="save" type="submit"> |
13 | 16 | <i class="fa fa-cloud-upload"></i> {{ _('Upload to DataStore') }} |
14 | 17 | </button> |
|
59 | 62 | </tr> |
60 | 63 | </table> |
61 | 64 |
|
62 | | - {% if status.status and status.task_info and show_table %} |
63 | | - <h3>{{ _('Upload Log') }}</h3> |
64 | | - <ul class="datapusher-activity"> |
65 | | - {% for item in status.task_info.logs|sort(attribute='timestamp') %} |
66 | | - {% set icon = 'check' if item.level == 'INFO' else 'exclamation' %} |
67 | | - {% set class = ' failure' if icon == 'exclamation' else ' success' %} |
68 | | - {% set popover_content = 'test' %} |
69 | | - <li class="item no-avatar{{ class }}"> |
70 | | - <span class="fa-stack fa-lg"> |
71 | | - <i class="fa fa-circle fa-stack-2x icon"></i> |
72 | | - <i class="fa fa-{{ icon }} fa-stack-1x fa-inverse"></i> |
73 | | - </span> |
74 | | - {% for line in item.message.strip().split('\n') %} |
75 | | - {{ line | urlize }}<br /> |
76 | | - {% endfor %} |
77 | | - <span class="date" title="{{ h.render_datetime(item.timestamp, with_hours=True, with_seconds=True) }}"> |
78 | | - {{ h.time_ago_from_timestamp(item.timestamp) }} |
79 | | - <a href="#" data-module="datapusher_popover" data-module-title="Details <a href='#' class='popover-close'>X</a>" data-module-content="<ul class='list-unstyled'>{% for key, value in item.items() %}<li><b>{{ key }}</b>: {{ h.clean_html(value|string) }}</li>{% endfor %}</ul>"> |
80 | | - {{ _('Details') }} |
81 | | - </a> |
82 | | - </span> |
83 | | - </li> |
84 | | - {% endfor %} |
85 | | - <li class="item no-avatar"> |
86 | | - <span class="fa-stack fa-lg"> |
87 | | - <i class="fa fa-circle fa-stack-2x icon"></i> |
88 | | - <i class="fa fa-info fa-stack-1x fa-inverse"></i> |
89 | | - </span> |
90 | | - {{ _('End of log') }} |
91 | | - </li> |
92 | | - </ul> |
93 | | - {% endif %} |
94 | | - |
95 | 65 | {% endblock %} |
0 commit comments