mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-26 10:21:14 +00:00
Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21390 e93f8b46-1217-0410-a6f0-8f06a7374b81
17 lines
466 B
Plaintext
17 lines
466 B
Plaintext
<h2><%= import_title %></h2>
|
|
|
|
<div id="import-details">
|
|
<div id="import-progress"><div id="progress-label">0 / <%= @import.total_items.to_i %></div></div>
|
|
</div>
|
|
|
|
<%= javascript_tag do %>
|
|
$(document).ready(function() {
|
|
$('#import-details').addClass('ajax-loading');
|
|
$('#import-progress').progressbar({value: 0, max: <%= @import.total_items.to_i %>});
|
|
$.ajax({
|
|
url: '<%= import_run_path(@import, :format => 'js') %>',
|
|
type: 'post'
|
|
});
|
|
});
|
|
<% end %>
|