msgid "Files"
msgstr "Files"
-msgid "For see a file versions please click file on the left files browser."
-msgstr "For see a file versions please click file on the left files browser."
+msgid "To see file versions please click a file on the left files browser."
+msgstr "To see file versions please click a file on the left files browser."
-msgid "For add a file to restore please click 'Add' link or drag a file from frame on left or from above frame and drop it here"
-msgstr "For add a file to restore please click 'Add' link or drag a file from frame on left or from above frame and drop it here"
+msgid "To add a file to restore please click 'Add' link or please drag here the file from the top frame or from the frame on the left."
+msgstr "To add a file to restore please click 'Add' link or please drag here the file from the top frame or from the frame on the left."
msgid "It seems that there is no files for choosing or file records in database for this job has been purged (file retention period expired)"
msgstr "It seems that there is no files for choosing or file records in database for this job has been purged (file retention period expired)"
msgid "First written"
msgstr "First written"
-msgid ""
-"For add a file to restore please click 'Add' link or drag a file from frame "
-"on left or from above frame and drop it here"
-msgstr ""
-"左のフレームから追加をクリックするか「ここ」にファイルをドラック& "
-"ドロップしてリストア対象のファイルを追加してください"
+msgid "To add a file to restore please click 'Add' link or please drag here the file from the top frame or from the frame on the left."
+msgstr "左のフレームから追加をクリックするか「ここ」にファイルをドラック& ドロップしてリストア対象のファイルを追加してください"
msgid ""
"For need defining more Baculum users with custom access or restricted "
"console access (Bconsole ACLs) here is possible to determine custom bconsole "
"configuration file format for each user."
-msgid "For see a file versions please click file on the left files browser."
+msgid "To see file versions please click a file on the left files browser."
msgstr "ファイルのバージョンチェックをするには左のフレームのファイルをクリックしてください"
msgid "From day"
msgid "It seems that there is no files for choosing or file records in database for this job has been purged (file retention period expired)"
msgstr "Wygląda na to, że nie ma żadnych plików do przywrócenia lub rekordy plików w bazie danych dla tego wybranego backupu zostały wyczyszczone (miała zastosowanie retencja plików)"
-msgid "For see a file versions please click file on the left files browser."
+msgid "To see file versions please click a file on the left files browser."
msgstr "Aby zobaczyć wersje pliku proszę klinąć plik z przeglądarki plików po lewej stronie."
-msgid "For add a file to restore please click 'Add' link or drag a file from frame on left or from above frame and drop it here"
+msgid "To add a file to restore please click 'Add' link or please drag here the file from the top frame or from the frame on the left."
msgstr "Aby dodać plik do przywrócenia proszę kliknąć link 'Dodaj' lub złapać plik z panelu po lewej lub z panelu powyżej, przeciągnąć go tutaj i upuścić go"
msgid "Source parameters"
msgid "Files"
msgstr "Arquivos"
-msgid "For see a file versions please click file on the left files browser."
+msgid "To see file versions please click a file on the left files browser."
msgstr "Para verificar as versões disponíveis dos arquivos, clique no menu à esquerda no arquivo desejado."
-msgid "For add a file to restore please click 'Add' link or drag a file from frame on left or from above frame and drop it here"
+msgid "To add a file to restore please click 'Add' link or please drag here the file from the top frame or from the frame on the left."
msgstr "Para adicionar um arquivo para restauração clique no link 'Adicionar' ou arraste e solte o arquivo do menu à esquerda neste quadro"
msgid "It seems that there is no files for choosing or file records in database for this job has been purged (file retention period expired)"
</prop:ClientSide.OnLoading>
<prop:ClientSide.OnComplete>
document.getElementById('restore-browser-files-loading').style.display = 'none';
+ make_draggable('<%=$this->getPage()->DataGridFiles->ClientID%>');
</prop:ClientSide.OnComplete>
<i class="fa fa-check"></i> <%[ OK ]%>
</com:TActiveLinkButton>
</div>
<table id="restore-browser">
<tr>
- <td rowspan="2">
+ <td rowspan="2" style="height: 100%">
<div id="restore-browser-files-loading" style="display: none"></div>
<div id="restore-browser-files" class="w3-border">
<com:TActiveDataGrid
DataKeyField="fileid"
>
<prop:EmptyTemplate>
- <div class="file-browser-watermark" style="padding: 200px 10px">
+ <div class="file-browser-watermark">
<%[ It seems that there is no files for choosing or file records in database for this job has been purged (file retention period expired) ]%>
</div>
</prop:EmptyTemplate>
</com:TCallback>
</div>
</td>
- <td>
+ <td style="height: 50%">
<div id="restore-browser-versions" class="w3-border" style="position: relative">
<com:TActiveDataGrid
ID="VersionsDataGrid"
>
<prop:EmptyTemplate>
<div class="file-browser-watermark">
- <%[ For see a file versions please click file on the left files browser. ]%>
+ <%[ To see file versions please click a file on the left files browser. ]%>
</div>
</prop:EmptyTemplate>
<com:TActiveTemplateColumn>
</td>
</tr>
<tr>
- <td style="vertical-align: bottom;">
+ <td style="height: 50%; vertical-align: bottom;">
<div id="restore-browser-selected" class="w3-border">
<com:TCallback
ID="RemoveSelectedItem"
DataKeyField="fileid"
>
<prop:EmptyTemplate>
- <div class="file-browser-watermark" style="padding: 50px 10px">
- <%[ For add a file to restore please click 'Add' link or drag a file from frame on left or from above frame and drop it here ]%>
+ <div class="file-browser-watermark">
+ <%[ To add a file to restore please click 'Add' link or please drag here the file from the top frame or from the frame on the left. ]%>
</div>
</prop:EmptyTemplate>
<com:TActiveTemplateColumn>
</div>
</div>
<script type="text/javascript">
- var browser = document.getElementById('restore-browser-files');
- document.getElementById('restore-browser-files-loading').style.width = browser.offsetWidth + 'px';
- document.getElementById('restore-browser-files-loading').style.height = browser.offsetHeight + 'px';
+ function set_browser_sizes() {
+ var win_height = $(window).height();
+ // 70 - bottom bar, 234 - top bar, 40 - path field
+ var h = win_height - 70 - 234 - 40;
+ if (h < 220) {
+ h = 220; // minimal fs browser height
+ }
+ var comp_rb_height = h.toString() + 'px';
+ var rb = document.getElementById('restore-browser');
+ rb.style.height = comp_rb_height;
+
+ // workaround for setting proper browser height on Firefox
+ $(rb).find('tbody')[0].style.height = comp_rb_height;
+
+ var rb_files = document.getElementById('restore-browser-files');
+ var rb_load = document.getElementById('restore-browser-files-loading');
+ rb_load.style.width = rb_files.offsetWidth + 'px';
+ rb_load.style.height = rb_files.offsetHeight + 'px';
+ }
function show_invalid_path_to_restore() {
document.getElementById('invalid_path_to_restore_modal').style.display = 'block';
}
'containment':"window"
});
}
+ $(window).resize(function() {
+ set_browser_sizes();
+ });
+ set_browser_sizes();
make_draggable('<%=$this->getPage()->DataGridFiles->ClientID%>');
Formatters.set_formatters();
</script>
#restore-browser {
width: 100%;
- height: 100%;
}
#restore-browser td {
width: 45%;
}
-#restore-browser-files {
- height: 364px;
-}
-
#restore-browser-files, #restore-browser-versions, #restore-browser-selected {
overflow: auto;
width: 100%;
+ height: 100% !important;
background-color: white;
padding: 0 4px;
- -moz-user-select: -moz-none;
- -webkit-user-select: none;
- -ms-user-select: none;
-}
-
-#restore-browser-versions {
- height: 180px;
-}
-
-#restore-browser-selected {
- height: 180px;
}
#restore-browser-files-loading {
position: absolute;
z-index: 10;
height: 100%;
- background: rgba(182,182,182,0.4) url('progress.gif') no-repeat center center;
+ background: rgba(182,182,182,0.4) url('/themes/Baculum-v2/loader-small.gif') no-repeat center center;
}
.file-browser-detail {
.bold {
font-weight: bold;
}
+
+/* Overwrite jQuery-UI draggable class to solve problem with
+ * scrolling file list on mobile devices
+ */
+.ui-draggable-handle {
+ touch-action: auto !important;
+}