|
|
@@ -101,8 +101,8 @@ from filebrowser.conf import ENABLE_EXTRACT_UPLOADED_ARCHIVE
|
|
|
<!-- extract modal -->
|
|
|
<div id="confirmExtractModal" class="modal hide fade">
|
|
|
<div class="modal-header">
|
|
|
- <a href="#" class="close" data-dismiss="modal">×</a>
|
|
|
- <h3>${_('Extract Archive')}</h3>
|
|
|
+ <button type="button" class="close" data-dismiss="modal" aria-label="${ _('Close') }"><span aria-hidden="true">×</span></button>
|
|
|
+ <h2 class="modal-title">${ _('Extract Archive') }</h2>
|
|
|
</div>
|
|
|
<!-- ko if: selectedFile -->
|
|
|
<div class="modal-body">
|
|
|
@@ -123,8 +123,8 @@ from filebrowser.conf import ENABLE_EXTRACT_UPLOADED_ARCHIVE
|
|
|
<!-- compress modal -->
|
|
|
<div id="confirmCompressModal" class="modal hide fade">
|
|
|
<div class="modal-header">
|
|
|
- <a href="#" class="close" data-dismiss="modal">×</a>
|
|
|
- <h3>${_('Compress Files')}</h3>
|
|
|
+ <button type="button" class="close" data-dismiss="modal" aria-label="${ _('Close') }"><span aria-hidden="true">×</span></button>
|
|
|
+ <h2 class="modal-title">${ _('Compress Files') }</h2>
|
|
|
</div>
|
|
|
<!-- ko if: selectedFiles -->
|
|
|
<div class="modal-body">
|
|
|
@@ -145,8 +145,8 @@ from filebrowser.conf import ENABLE_EXTRACT_UPLOADED_ARCHIVE
|
|
|
<!-- delete modal -->
|
|
|
<div id="deleteModal" class="modal hide fade">
|
|
|
<div class="modal-header">
|
|
|
- <a href="#" class="close" data-dismiss="modal">×</a>
|
|
|
- <h3>${_('Confirm Delete')}</h3>
|
|
|
+ <button type="button" class="close" data-dismiss="modal" aria-label="${ _('Close') }"><span aria-hidden="true">×</span></button>
|
|
|
+ <h2 class="modal-title">${ _('Confirm Delete') }</h2>
|
|
|
</div>
|
|
|
<div class="modal-body">
|
|
|
<!-- ko if: isS3() && isS3Root() -->
|
|
|
@@ -182,8 +182,8 @@ from filebrowser.conf import ENABLE_EXTRACT_UPLOADED_ARCHIVE
|
|
|
<!-- restore modal -->
|
|
|
<div id="restoreTrashModal" class="modal hide fade">
|
|
|
<div class="modal-header">
|
|
|
- <a href="#" class="close" data-dismiss="modal">×</a>
|
|
|
- <h3>${_('Confirm Restore')}</h3>
|
|
|
+ <button type="button" class="close" data-dismiss="modal" aria-label="${ _('Close') }"><span aria-hidden="true">×</span></button>
|
|
|
+ <h2 class="modal-title">${ _('Confirm Restore') }</h2>
|
|
|
</div>
|
|
|
<div class="modal-body">
|
|
|
<p>${_('Are you sure you want to restore these files?')}</p>
|
|
|
@@ -200,8 +200,8 @@ from filebrowser.conf import ENABLE_EXTRACT_UPLOADED_ARCHIVE
|
|
|
<!-- purge modal -->
|
|
|
<div id="purgeTrashModal" class="modal hide fade">
|
|
|
<div class="modal-header">
|
|
|
- <a href="#" class="close" data-dismiss="modal">×</a>
|
|
|
- <h3>${_('Confirm empty trash')}</h3>
|
|
|
+ <button type="button" class="close" data-dismiss="modal" aria-label="${ _('Close') }"><span aria-hidden="true">×</span></button>
|
|
|
+ <h2 class="modal-title">${ _('Confirm empty trash') }</h2>
|
|
|
</div>
|
|
|
|
|
|
<div class="modal-body">
|
|
|
@@ -222,8 +222,8 @@ from filebrowser.conf import ENABLE_EXTRACT_UPLOADED_ARCHIVE
|
|
|
${ csrf_token(request) | n,unicode }
|
|
|
<div id="renameModal" class="modal hide fade">
|
|
|
<div class="modal-header">
|
|
|
- <a href="#" class="close" data-dismiss="modal">×</a>
|
|
|
- <h3>${_('Renaming:')} <span id="renameFileName">file name</span></h3>
|
|
|
+ <button type="button" class="close" data-dismiss="modal" aria-label="${ _('Close') }"><span aria-hidden="true">×</span></button>
|
|
|
+ <h2 class="modal-title">${_('Renaming:')} <span id="renameFileName">file name</span></h2>
|
|
|
</div>
|
|
|
<div class="modal-body">
|
|
|
<label>${_('New name')} <input id="newNameInput" name="dest_path" value="" type="text" class="input-xlarge"/></label>
|
|
|
@@ -247,8 +247,8 @@ from filebrowser.conf import ENABLE_EXTRACT_UPLOADED_ARCHIVE
|
|
|
${ csrf_token(request) | n,unicode }
|
|
|
<div id="setReplicationModal" class="modal hide fade">
|
|
|
<div class="modal-header">
|
|
|
- <a href="#" class="close" data-dismiss="modal">×</a>
|
|
|
- <h3>${_('Setting replication factor for :')} <span id="setReplFileName">file name</span></h3>
|
|
|
+ <button type="button" class="close" data-dismiss="modal" aria-label="${ _('Close') }"><span aria-hidden="true">×</span></button>
|
|
|
+ <h2 class="modal-title">${_('Setting replication factor for :')} <span id="setReplFileName">file name</span></h2>
|
|
|
</div>
|
|
|
<div class="modal-body">
|
|
|
<label>${_('Replication factor')} <input id="newRepFactorInput" name="replication_factor" value="" type="number" class="input-mini"/></label>
|
|
|
@@ -273,8 +273,8 @@ from filebrowser.conf import ENABLE_EXTRACT_UPLOADED_ARCHIVE
|
|
|
select_filter = is_fs_superuser and 'SelectWithOther' or ''
|
|
|
%>
|
|
|
<div class="modal-header">
|
|
|
- <a href="#" class="close" data-dismiss="modal">×</a>
|
|
|
- <h3>${_('Change Owner/Group')}</h3>
|
|
|
+ <button type="button" class="close" data-dismiss="modal" aria-label="${ _('Close') }"><span aria-hidden="true">×</span></button>
|
|
|
+ <h2 class="modal-title">${_('Change Owner/Group')}</h2>
|
|
|
</div>
|
|
|
|
|
|
<div class="modal-body change-owner-modal-body clearfix" >
|
|
|
@@ -305,8 +305,8 @@ from filebrowser.conf import ENABLE_EXTRACT_UPLOADED_ARCHIVE
|
|
|
${ csrf_token(request) | n,unicode }
|
|
|
<div id="changePermissionModal" class="modal hide fade">
|
|
|
<div class="modal-header">
|
|
|
- <a href="#" class="close" data-dismiss="modal">×</a>
|
|
|
- <h3>${_('Change Permissions')} </h3>
|
|
|
+ <button type="button" class="close" data-dismiss="modal" aria-label="${ _('Close') }"><span aria-hidden="true">×</span></button>
|
|
|
+ <h2 class="modal-title">${_('Change Permissions')}</h2>
|
|
|
</div>
|
|
|
<div class="modal-body table-margin">
|
|
|
<table class="table table-striped">
|
|
|
@@ -368,9 +368,9 @@ from filebrowser.conf import ENABLE_EXTRACT_UPLOADED_ARCHIVE
|
|
|
<form id="moveForm" action="/filebrowser/move" method="POST" enctype="multipart/form-data" class="form-inline form-padding-fix">
|
|
|
${ csrf_token(request) | n,unicode }
|
|
|
<div id="moveModal" class="modal hide fade">
|
|
|
- <div class="modal-header" style="padding-bottom: 10px">
|
|
|
- <a href="#" class="close" data-dismiss="modal">×</a>
|
|
|
- <h3>${_('Move to')}</h3>
|
|
|
+ <div class="modal-header">
|
|
|
+ <button type="button" class="close" data-dismiss="modal" aria-label="${ _('Close') }"><span aria-hidden="true">×</span></button>
|
|
|
+ <h2 class="modal-title">${_('Move to')}</h2>
|
|
|
</div>
|
|
|
<div class="modal-body" style="max-height: 400px; height: 340px; overflow-x:hidden">
|
|
|
<div id="moveFilechooser"></div>
|
|
|
@@ -390,9 +390,9 @@ from filebrowser.conf import ENABLE_EXTRACT_UPLOADED_ARCHIVE
|
|
|
<form id="copyForm" action="/filebrowser/copy" method="POST" enctype="multipart/form-data" class="form-inline form-padding-fix">
|
|
|
${ csrf_token(request) | n,unicode }
|
|
|
<div id="copyModal" class="modal hide fade">
|
|
|
- <div class="modal-header" style="padding-bottom: 10px">
|
|
|
- <a href="#" class="close" data-dismiss="modal">×</a>
|
|
|
- <h3>${_('Copy to')}</h3>
|
|
|
+ <div class="modal-header">
|
|
|
+ <button type="button" class="close" data-dismiss="modal" aria-label="${ _('Close') }"><span aria-hidden="true">×</span></button>
|
|
|
+ <h2 class="modal-title">${_('Copy to')}</h2>
|
|
|
</div>
|
|
|
<div class="modal-body" style="max-height: 400px; height: 340px; overflow-x:hidden">
|
|
|
<div id="copyFilechooser"></div>
|
|
|
@@ -411,8 +411,8 @@ from filebrowser.conf import ENABLE_EXTRACT_UPLOADED_ARCHIVE
|
|
|
<!-- upload file modal -->
|
|
|
<div id="uploadFileModal" class="modal hide fade">
|
|
|
<div class="modal-header">
|
|
|
- <a href="#" class="close" data-dismiss="modal" data-bind="visible: pendingUploads() == 0">×</a>
|
|
|
- <h3>${_('Upload to')} <span id="uploadDirName" data-bind="text: currentPath"></span></h3>
|
|
|
+ <button type="button" class="close" data-dismiss="modal" aria-label="${ _('Close') }"><span aria-hidden="true">×</span></button>
|
|
|
+ <h2 class="modal-title">${_('Upload to')} <span id="uploadDirName" data-bind="text: currentPath"></span></h2>
|
|
|
</div>
|
|
|
<div class="modal-body form-inline">
|
|
|
<div id="fileUploader" class="uploader">
|
|
|
@@ -427,8 +427,8 @@ from filebrowser.conf import ENABLE_EXTRACT_UPLOADED_ARCHIVE
|
|
|
<!-- upload archive modal -->
|
|
|
<div id="uploadArchiveModal" class="modal hide fade">
|
|
|
<div class="modal-header">
|
|
|
- <a href="#" class="close" data-dismiss="modal" data-bind="visible: pendingUploads() == 0">×</a>
|
|
|
- <h3>${_('Upload and extract in')} <span id="uploadDirName" data-bind="text: currentPath"></span></h3>
|
|
|
+ <button type="button" class="close" data-dismiss="modal" aria-label="${ _('Close') }"><span aria-hidden="true">×</span></button>
|
|
|
+ <h2 class="modal-title">${_('Upload and extract in')} <span id="uploadDirName" data-bind="text: currentPath"></span></h2>
|
|
|
</div>
|
|
|
<div class="modal-body form-inline">
|
|
|
<div id="archiveUploader" class="uploader">
|
|
|
@@ -445,12 +445,12 @@ from filebrowser.conf import ENABLE_EXTRACT_UPLOADED_ARCHIVE
|
|
|
${ csrf_token(request) | n,unicode }
|
|
|
<div id="createDirectoryModal" class="modal hide fade">
|
|
|
<div class="modal-header">
|
|
|
- <a href="#" class="close" data-dismiss="modal">×</a>
|
|
|
+ <button type="button" class="close" data-dismiss="modal" aria-label="${ _('Close') }"><span aria-hidden="true">×</span></button>
|
|
|
<!-- ko if: !isS3() || (isS3() && !isS3Root()) -->
|
|
|
- <h3>${_('Create Directory')}</h3>
|
|
|
+ <h2 class="modal-title">${_('Create Directory')}</h2>
|
|
|
<!-- /ko -->
|
|
|
<!-- ko if: isS3() && isS3Root() -->
|
|
|
- <h3>${_('Create Bucket')}</h3>
|
|
|
+ <h2 class="modal-title">${_('Create Bucket')}</h2>
|
|
|
<!-- /ko -->
|
|
|
</div>
|
|
|
<div class="modal-body">
|
|
|
@@ -482,8 +482,8 @@ from filebrowser.conf import ENABLE_EXTRACT_UPLOADED_ARCHIVE
|
|
|
${ csrf_token(request) | n,unicode }
|
|
|
<div id="createFileModal" class="modal hide fade">
|
|
|
<div class="modal-header">
|
|
|
- <a href="#" class="close" data-dismiss="modal">×</a>
|
|
|
- <h3>${_('Create File')}</h3>
|
|
|
+ <button type="button" class="close" data-dismiss="modal" aria-label="${ _('Close') }"><span aria-hidden="true">×</span></button>
|
|
|
+ <h2 class="modal-title">${_('Create File')}</h2>
|
|
|
</div>
|
|
|
<div class="modal-body">
|
|
|
<label>${_('File Name')} <input id="newFileNameInput" name="name" value="" type="text" class="input-xlarge"/></label>
|
|
|
@@ -505,9 +505,9 @@ from filebrowser.conf import ENABLE_EXTRACT_UPLOADED_ARCHIVE
|
|
|
<!-- content summary modal -->
|
|
|
<div id="contentSummaryModal" class="modal hide fade">
|
|
|
<div class="modal-header">
|
|
|
- <a href="#" class="close" data-dismiss="modal">×</a>
|
|
|
+ <button type="button" class="close" data-dismiss="modal" aria-label="${ _('Close') }"><span aria-hidden="true">×</span></button>
|
|
|
<!-- ko if: selectedFile -->
|
|
|
- <h3 style="word-break: break-all">${_('Summary for')} <span data-bind="text: selectedFile().path"></span></h3>
|
|
|
+ <h2 class="modal-title" style="word-break: break-all">${_('Summary for')} <span data-bind="text: selectedFile().path"></span></h2>
|
|
|
<!--/ko -->
|
|
|
</div>
|
|
|
<div class="modal-body">
|