57 lines
3.1 KiB
Plaintext
57 lines
3.1 KiB
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>FileManager</title>
|
|
<%= csrf_meta_tags %>
|
|
<%= stylesheet_link_tag 'file_manager/default_theme', media: 'all' %>
|
|
<%= stylesheet_link_tag 'file_manager/application', media: 'all' %>
|
|
<%= javascript_include_tag 'file_manager/application' %>
|
|
<%= javascript_include_tag "file-upload/tmpl.min.js" %>
|
|
<%= javascript_include_tag "file-upload/load-image.min.js" %>
|
|
<%= javascript_include_tag "file-upload/canvas-to-blob.min.js" %>
|
|
<%= javascript_include_tag "file-upload/jquery.iframe-transport.js" %>
|
|
<%= javascript_include_tag "file-upload/drop-zone.js" %>
|
|
<%= stylesheet_link_tag "bootstrap-fileinput/css/fileinput.min" %>
|
|
<%= javascript_include_tag "bootstrap-fileinput/js/plugins/piexif.min" %>
|
|
<%= javascript_include_tag "bootstrap-fileinput/js/plugins/sortable.min" %>
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
|
|
<%= javascript_include_tag "bootstrap-fileinput/js/fileinput.min" %>
|
|
<%= javascript_include_tag "bootstrap-fileinput/js/locales/#{I18n.locale}" %>
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.min.css" crossorigin="anonymous">
|
|
</head>
|
|
|
|
<body id="file_manager_body">
|
|
<div id="threadModal" class="modal hide fade in" tabindex="-1" role="dialog" aria-labelledby="threadModal" aria-hidden="false" data-id="<%= @thread.id if @thread %>">
|
|
<div class="modal-dialog" role="document">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<h3><%=t("file_manager.clean_up_recycle_bin")%></h3>
|
|
</div>
|
|
<div class="modal-body">
|
|
<% if @thread %>
|
|
<div class="thread-status"><%= @thread.status[:status] %></div>
|
|
<div><span class="thread-current-count"><%= @thread.status[:current_count].to_i %></span>/<span class="thread-all-count"><%= @thread.status[:all_count].to_i %></span></div>
|
|
<span class="thread-finish_percent"><%= @thread.status[:finish_percent].to_i %></span> % finished
|
|
<% else %>
|
|
<div class="thread-status">Processing</div>
|
|
<div><span class="thread-current-count">0</span>/<span class="thread-all-count">0</span></div>
|
|
<span class="thread-finish_percent">0</span> % finished
|
|
<% end %>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button class="btn" id="modal-close-btn" style="width: 4em;" data-dismiss="modal" aria-hidden="true"><%=t('close')%></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<h3 class="breadcrumb-index">
|
|
<span id="breadcrumb-relative-url">
|
|
<%= generate_breadcrumb(@relative_path) %>
|
|
</span>
|
|
<div id="breadcrumb-editable" contenteditable="" class="hide">/</div>
|
|
</h3>
|
|
<%= yield %>
|
|
</body>
|
|
</html>
|