Sha256: d4cf6cacdd947a1701e75d28431da26d05d3b02b0bd4cd909b650f5e41cf5b4c

Contents?: true

Size: 1.91 KB

Versions: 10

Compression:

Stored size: 1.91 KB

Contents

<h2>Upload</h2>
<%# using partials rather than inlining, so implementers can add or change stuff on this page without much duplication %>
<ul class="nav nav-tabs" role="tablist" title="Data Source Selectors" id="upload_tabs">
  <li class="active"  id="computer_tab" title="<%= t('sufia.upload.my_computer.sr_tab_label')+' '+ t('sufia.upload.my_computer.tab_label') %>"><a role="tab" href="#local" data-toggle="tab"><i class="glyphicon glyphicon-folder-open" aria-hidden="true"></i><%= t('sufia.upload.my_computer.tab_label')%></a></li>
  <% if Sufia.config.browse_everything %>
    <li  id="browse_everything_tab" title="<%= t('sufia.upload.browse_everything.sr_tab_label')+' '+ t('sufia.upload.browse_everything.tab_label') %>" aria-activedescendant="browse_everything_link"><a role="tab" href="#browse_everything" data-toggle="tab" id="browse_everything_link" ><i class="glyphicon glyphicon-cloud-download" aria-hidden="true"></i> <%= t('sufia.upload.browse_everything.tab_label')%></a></li>
  <% end %>
  <% if Sufia.config.enable_local_ingest %>
    <li role="tab" id="local_ingest_tab"><a href="#ingest" data-toggle="tab"><i class="glyphicon glyphicon-hdd" aria-hidden="true"></i> <%= t('sufia.upload.local_ingest.tab_label')%></a></li>
  <% end %>
</ul>

<div class="tab-content">
  <div class="tab-pane active" id="local" aria-labelledby="computer_tab" role="tabpanel">
    <span class="sr-only"><%= t("sufia.upload.my_computer.sr_instructions") %></span>
    <%= render partial: 'multiple_upload' %>
  </div>

  <% if Sufia.config.browse_everything %>
    <div class="tab-pane" id="browse_everything"  aria-labelledby="browse_everything_tab" role="tabpanel">
      <%= render partial: 'browse_everything' %>
    </div>
  <% end %>


  <% if Sufia.config.enable_local_ingest %>
    <div class="tab-pane" id="ingest" aria-labelledby="local_ingest_tab">
      <%= render partial: 'generic_files/local_file_import' %>
    </div>
  <% end %>

</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
sufia-5.0.0 app/views/generic_files/new.html.erb
sufia-5.0.0.rc1 app/views/generic_files/new.html.erb
sufia-6.0.0.rc2 app/views/generic_files/new.html.erb
sufia-6.0.0.rc1 app/views/generic_files/new.html.erb
sufia-4.3.1 app/views/generic_files/new.html.erb
sufia-6.0.0.beta1 app/views/generic_files/new.html.erb
sufia-4.2.0 app/views/generic_files/new.html.erb
sufia-4.1.0 app/views/generic_files/new.html.erb
sufia-4.0.1 app/views/generic_files/new.html.erb
sufia-4.0.0 app/views/generic_files/new.html.erb