From: Marcin Haba Date: Sun, 5 Jul 2015 18:49:06 +0000 (+0200) Subject: baculum: Support for mobile web browsers in restore wizard X-Git-Tag: Release-7.2.0~17 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ea69e3f612ddae7f5eb9443b0dcf0e67d6401e58;p=bacula%2Fbacula baculum: Support for mobile web browsers in restore wizard --- diff --git a/gui/baculum/protected/Lang/en/messages.mo b/gui/baculum/protected/Lang/en/messages.mo index 6bf2bb9bfb..90eeef88ab 100644 Binary files a/gui/baculum/protected/Lang/en/messages.mo and b/gui/baculum/protected/Lang/en/messages.mo differ diff --git a/gui/baculum/protected/Lang/en/messages.po b/gui/baculum/protected/Lang/en/messages.po index 2a63ba9a4b..84dd8cb876 100644 --- a/gui/baculum/protected/Lang/en/messages.po +++ b/gui/baculum/protected/Lang/en/messages.po @@ -470,11 +470,11 @@ msgstr "Step 3 - select files to restore" msgid "Files" msgstr "Files" -msgid "For see a file versions please double click file on the left files browser." -msgstr "For see a file versions please double click file on the left files browser." +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 "For add a file to restore please drag a file from frame on left or from above frame and drop it here" -msgstr "For add a file to restore please drag a file from frame on left or from above frame and drop it here" +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 "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)" @@ -1010,3 +1010,6 @@ msgstr "Running jobs:" msgid "Finished jobs:" msgstr "Finished jobs:" +msgid "Add" +msgstr "Add" + diff --git a/gui/baculum/protected/Lang/pl/messages.mo b/gui/baculum/protected/Lang/pl/messages.mo index 417ecba3fa..26b5ca2203 100644 Binary files a/gui/baculum/protected/Lang/pl/messages.mo and b/gui/baculum/protected/Lang/pl/messages.mo differ diff --git a/gui/baculum/protected/Lang/pl/messages.po b/gui/baculum/protected/Lang/pl/messages.po index 51e1cfe8d8..761e21bf98 100644 --- a/gui/baculum/protected/Lang/pl/messages.po +++ b/gui/baculum/protected/Lang/pl/messages.po @@ -419,11 +419,11 @@ msgstr "Uruchom" 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 double click file on the left files browser." -msgstr "Aby zobaczyć wersje pliku proszę podwójnie klinąć plik z przeglądarki plików po lewej stronie." +msgid "For see a file versions please click 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 drag a file from frame on left or from above frame and drop it here" -msgstr "Aby dodać plik do przywrócenia proszę złapać plik z panelu po lewej lub z panelu powyżej, przeciągnąć go tutaj i upuścić go" +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 "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" msgstr "Parametry źródła" @@ -1011,3 +1011,6 @@ msgstr "Uruchomione zadania:" msgid "Finished jobs:" msgstr "Zakończone zadania:" +msgid "Add" +msgstr "Dodaj" + diff --git a/gui/baculum/protected/Pages/RestoreWizard.page b/gui/baculum/protected/Pages/RestoreWizard.page index 63b79bd94a..b79d1266fe 100644 --- a/gui/baculum/protected/Pages/RestoreWizard.page +++ b/gui/baculum/protected/Pages/RestoreWizard.page @@ -109,6 +109,7 @@
+
<%=$this->getParent()->Data['type'] == 'dir' ? 'directory' : 'file' %> <%=($this->getParent()->Data['name'] != '/') ? preg_replace('/\/$/', '', $this->getParent()->Data['name']) : '/'%> + + + $('restore-browser-files-loading').show(); + - <%=$this->getPage()->UniqueID%>_lock = false; + $('restore-browser-files-loading').hide(); @@ -169,15 +173,16 @@ >
- <%[ For see a file versions please double click file on the left files browser. ]%> + <%[ For see a file versions please click file on the left files browser. ]%>
- + <%=$this->getParent()->Data['type'] == 'dir' ? 'directory' : 'file'%> <%=is_array($this->getParent()->Data['lstat']) && array_key_exists('mtime', $this->getParent()->Data['lstat']) ? date("Y-m-d H:i:s", $this->getParent()->Data['lstat']['mtime']) : ''%> +