1 | <%inherit file="/base.mako"/> |
---|
2 | <%namespace file="/message.mako" import="render_msg" /> |
---|
3 | <%namespace file="/library/common/common.mako" import="render_upload_form" /> |
---|
4 | |
---|
5 | <% import os, os.path %> |
---|
6 | |
---|
7 | <% |
---|
8 | if replace_dataset not in [ None, 'None' ]: |
---|
9 | replace_id = trans.security.encode_id( replace_dataset.id ) |
---|
10 | else: |
---|
11 | replace_id = 'None' |
---|
12 | %> |
---|
13 | |
---|
14 | <%def name="javascripts()"> |
---|
15 | ${parent.javascripts()} |
---|
16 | ${h.js("jquery.autocomplete", "autocomplete_tagging" )} |
---|
17 | </%def> |
---|
18 | |
---|
19 | <%def name="stylesheets()"> |
---|
20 | ${parent.stylesheets()} |
---|
21 | ${h.css( "autocomplete_tagging" )} |
---|
22 | </%def> |
---|
23 | |
---|
24 | <b>Upload files to a data library</b> |
---|
25 | <br/><br/> |
---|
26 | <ul class="manage-table-actions"> |
---|
27 | <li> |
---|
28 | <a class="action-button" href="${h.url_for( controller='library_common', action='browse_library', cntrller=cntrller, id=library_id, show_deleted=show_deleted )}"><span>Browse this data library</span></a> |
---|
29 | </li> |
---|
30 | </ul> |
---|
31 | |
---|
32 | %if message: |
---|
33 | ${render_msg( message, status )} |
---|
34 | %endif |
---|
35 | |
---|
36 | ${render_upload_form( cntrller, upload_option, action, library_id, folder_id, replace_dataset, file_formats, dbkeys, space_to_tab, link_data_only, widgets, roles_select_list, history, show_deleted )} |
---|