From: Marcin Haba Date: Sat, 6 Nov 2021 19:59:44 +0000 (+0100) Subject: baculum: Visual improvements in interface X-Git-Tag: Release-11.3.2~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bfefb2fcfe13a1586e887cb94de5b17002cab77;p=thirdparty%2Fbacula.git baculum: Visual improvements in interface Changes: - Unify wizards interface - Align all doc buttons - Button style improvement - Reduce size of directive fields - General styling --- diff --git a/gui/baculum/protected/Web/Pages/NewBackupJobWizard.page b/gui/baculum/protected/Web/Pages/NewBackupJobWizard.page index 3b4dec135..a1da7fa45 100644 --- a/gui/baculum/protected/Web/Pages/NewBackupJobWizard.page +++ b/gui/baculum/protected/Web/Pages/NewBackupJobWizard.page @@ -138,33 +138,41 @@

<%[ This wizard enables you to create in easy way a new backup job. ]%>

-
- -
-
- -
-
- +
+
+ +
+
+ +
+
+ +
@@ -173,40 +181,46 @@

<%[ Please select Client from which you want to backup data and please select FileSet with files/directories definition to backup. ]%>

<%[ If your FileSet for this backup does not exist yet, you can create it. ]%>

-
- -
-
- +
+ +
+ + + - -
-
-

<%[ Job directives ]%>

-
-
- -
-
- -
-
- -
-
- -
-
- -
-
-

<%[ Other directives ]%>

-
-
- -
-
- -
-

<%[ Schedule ]%>

-
- - - - -
-
Spool Attributes
-
- <%=$this->SpoolAttributes->getDirectiveValue() ? Prado::localize('Yes') : Prado::localize('No')%> - <%=$this->isInJobDefs('SpoolAttributes', $this->SpoolAttributes->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
+
FileSet
+
+ <%=$this->Fileset->getDirectiveValue()%> + <%=$this->isInJobDefs('Fileset', $this->Fileset->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
-
-
-
Spool Size
-
- <%=$this->SpoolSize->getDirectiveValue() ?: '0'%> - <%=$this->isInJobDefs('SpoolSize', $this->SpoolSize->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> + +
+ <%[ Where ]%> +
+
Storage
+
+ <%=$this->Storage->getDirectiveValue()%> + <%=$this->isInJobDefs('Storage', $this->Storage->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
-
-
-
Pool
-
- <%=$this->Pool->getDirectiveValue()%> - <%=$this->isInJobDefs('Pool', $this->Pool->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
+
Spool Data
+
+ <%=$this->SpoolData->getDirectiveValue() ? Prado::localize('Yes') : Prado::localize('No')%> + <%=$this->isInJobDefs('SpoolData', $this->SpoolData->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
-
-
-
Full Backup Pool
-
- <%=$this->FullBackupPool->getDirectiveValue() ?: '-'%> - <%=$this->isInJobDefs('FullBackupPool', $this->FullBackupPool->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
+
Spool Attributes
+
+ <%=$this->SpoolAttributes->getDirectiveValue() ? Prado::localize('Yes') : Prado::localize('No')%> + <%=$this->isInJobDefs('SpoolAttributes', $this->SpoolAttributes->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
-
-
-
Incremental Backup Pool
-
- <%=$this->IncrementalBackupPool->getDirectiveValue() ?: '-'%> - <%=$this->isInJobDefs('IncrementalBackupPool', $this->IncrementalBackupPool->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
+
Spool Size
+
+ <%=$this->SpoolSize->getDirectiveValue() ?: '0'%> + <%=$this->isInJobDefs('SpoolSize', $this->SpoolSize->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
-
-
-
Differential Backup Pool
-
- <%=$this->DifferentialBackupPool->getDirectiveValue() ?: '-'%> - <%=$this->isInJobDefs('DifferentialBackupPool', $this->DifferentialBackupPool->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
+
Pool
+
+ <%=$this->Pool->getDirectiveValue()%> + <%=$this->isInJobDefs('Pool', $this->Pool->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
-
- -
- <%[ How ]%> -
-
Level
-
- <%=$this->Level->getDirectiveValue() ?: '-'%> - <%=$this->isInJobDefs('Level', $this->Level->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
+
Full Backup Pool
+
+ <%=$this->FullBackupPool->getDirectiveValue() ?: '-'%> + <%=$this->isInJobDefs('FullBackupPool', $this->FullBackupPool->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
-
-
-
Accurate
-
- <%=$this->Accurate->getDirectiveValue() ? Prado::localize('Yes') : Prado::localize('No') %> - <%=$this->isInJobDefs('Accurate', $this->Accurate->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
+
Incremental Backup Pool
+
+ <%=$this->IncrementalBackupPool->getDirectiveValue() ?: '-'%> + <%=$this->isInJobDefs('IncrementalBackupPool', $this->IncrementalBackupPool->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
-
-
-
Maximum Concurrent Jobs
-
- <%=$this->MaximumConcurrentJobs->getDirectiveValue() ?: $this->MaximumConcurrentJobs->getDefaultValue()%> - <%=$this->isInJobDefs('MaximumConcurrentJobs', $this->MaximumConcurrentJobs->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
+
Differential Backup Pool
+
+ <%=$this->DifferentialBackupPool->getDirectiveValue() ?: '-'%> + <%=$this->isInJobDefs('DifferentialBackupPool', $this->DifferentialBackupPool->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
-
-
-
Priority
-
- <%=$this->Priority->getDirectiveValue() ?: $this->Priority->getDefaultValue()%> - <%=$this->isInJobDefs('Priority', $this->Priority->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
+
+ <%[ How ]%> +
+
Level
+
+ <%=$this->Level->getDirectiveValue() ?: '-'%> + <%=$this->isInJobDefs('Level', $this->Level->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
-
-
-
ReRun Failed Levels
-
- <%=$this->ReRunFailedLevels->getDirectiveValue() ? Prado::localize('Yes') : Prado::localize('No') %> - <%=$this->isInJobDefs('ReRunFailedLevels', $this->ReRunFailedLevels->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
+
Accurate
+
+ <%=$this->Accurate->getDirectiveValue() ? Prado::localize('Yes') : Prado::localize('No') %> + <%=$this->isInJobDefs('Accurate', $this->Accurate->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
-
- -
- <%[ When ]%> -
-
Schedule
-
- <%=$this->Schedule->getDirectiveValue() ?: '-' %> - <%=$this->isInJobDefs('Schedule', $this->Schedule->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
+
Maximum Concurrent Jobs
+
+ <%=$this->MaximumConcurrentJobs->getDirectiveValue() ?: $this->MaximumConcurrentJobs->getDefaultValue()%> + <%=$this->isInJobDefs('MaximumConcurrentJobs', $this->MaximumConcurrentJobs->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
-
-
-
Reschedule On Error
-
- <%=$this->RescheduleOnError->getDirectiveValue() ? Prado::localize('Yes') : Prado::localize('No') %> - <%=$this->isInJobDefs('RescheduleOnError', $this->RescheduleOnError->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
+
Priority
+
+ <%=$this->Priority->getDirectiveValue() ?: $this->Priority->getDefaultValue()%> + <%=$this->isInJobDefs('Priority', $this->Priority->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
-
-
-
Reschedule Incomplete Jobs
-
- <%=$this->RescheduleIncompleteJobs->getDirectiveValue() ? Prado::localize('Yes') : Prado::localize('No') %> - <%=$this->isInJobDefs('RescheduleIncompleteJobs', $this->RescheduleIncompleteJobs->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
+
ReRun Failed Levels
+
+ <%=$this->ReRunFailedLevels->getDirectiveValue() ? Prado::localize('Yes') : Prado::localize('No') %> + <%=$this->isInJobDefs('ReRunFailedLevels', $this->ReRunFailedLevels->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
-
-
-
Reschedule Interval
-
- <%=$this->RescheduleInterval->getDirectiveValue()%> - <%=$this->isInJobDefs('RescheduleInterval', $this->RescheduleInterval->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
+
+ <%[ When ]%> +
+
Schedule
+
+ <%=$this->Schedule->getDirectiveValue() ?: '-' %> + <%=$this->isInJobDefs('Schedule', $this->Schedule->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
-
-
-
Reschedule Times
-
- <%=$this->RescheduleTimes->getDirectiveValue() ?: '-'%> - <%=$this->isInJobDefs('RescheduleTimes', $this->RescheduleTimes->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
+
Reschedule On Error
+
+ <%=$this->RescheduleOnError->getDirectiveValue() ? Prado::localize('Yes') : Prado::localize('No') %> + <%=$this->isInJobDefs('RescheduleOnError', $this->RescheduleOnError->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
-
- -
- <%[ Other directives ]%> -
-
Messages
-
- <%=$this->Messages->getDirectiveValue() ?: '-'%> - <%=$this->isInJobDefs('Messages', $this->Messages->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
+
Reschedule Incomplete Jobs
+
+ <%=$this->RescheduleIncompleteJobs->getDirectiveValue() ? Prado::localize('Yes') : Prado::localize('No') %> + <%=$this->isInJobDefs('RescheduleIncompleteJobs', $this->RescheduleIncompleteJobs->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
-
-
- +
+
Reschedule Interval
+
+ <%=$this->RescheduleInterval->getDirectiveValue()%> + <%=$this->isInJobDefs('RescheduleInterval', $this->RescheduleInterval->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
+
+
+
Reschedule Times
+
+ <%=$this->RescheduleTimes->getDirectiveValue() ?: '-'%> + <%=$this->isInJobDefs('RescheduleTimes', $this->RescheduleTimes->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
+
+ +
+ <%[ Other directives ]%> +
+
Messages
+
+ <%=$this->Messages->getDirectiveValue() ?: '-'%> + <%=$this->isInJobDefs('Messages', $this->Messages->getDirectiveValue()) ? ' (' . Prado::localize('inherited from JobDefs') . ')': ''%> +
+
+
+ +