</div>
</div>
<div class="w3-container w3-black">
- <h5>Baculum API Menu</h5>
+ <h5 class="w3-center" style="margin: 6px 0 2px 0">Baculum API Menu</h5>
</div>
<div class="w3-bar-block" style="margin-bottom: 45px;">
<div class="w3-black" style="height: 3px"></div>
<b><i class="fa fa-desktop"></i> <%[ Client details ]%></b>
</h5>
</header>
- <h3 class="w3-margin-left"><%[ Client: ]%> <%=$this->getClientName()%> <span class="w3-small">[ClientId <%=$this->getClientId()%>]</span></h3>
+ <h3 class="view_header"><%[ Client: ]%> <%=$this->getClientName()%> <span class="w3-small">[ClientId <%=$this->getClientId()%>]</span></h3>
<div class="w3-bar w3-green w3-margin-bottom">
<a class="w3-bar-item w3-button tab_btn" href="<%=$this->Service->constructUrl('ClientList')%>"><i class="fa fa-angle-left"></i></a>
<button id="btn_client_actions" type="button" class="w3-bar-item w3-button tab_btn w3-grey" onclick="W3Tabs.open(this.id, 'client_actions');"><%[ Actions ]%></button>
<b><i class="fa fa-sitemap"></i> <%[ Director details ]%></b>
</h5>
</header>
- <h3 class="w3-margin-left"><%[ Director: ]%> <%=$this->getDirectorName()%></h3>
+ <h3 class="view_header"><%[ Director: ]%> <%=$this->getDirectorName()%></h3>
<div class="w3-bar w3-green w3-margin-bottom">
<button id="btn_director_actions" type="button" class="w3-bar-item w3-button tab_btn w3-grey" onclick="W3Tabs.open(this.id, 'director_actions');"><%[ Actions ]%></button>
<a id="btn_director_config" href="javascript:void(0)" class="w3-bar-item w3-button tab_btn" onclick="load_director_config(); W3Tabs.open(this.id, 'director_config');"<%=empty($_SESSION['dir']) ? ' style="display: none"': ''%>>
<b><i class="fa fa-copy"></i> <%[ FileSet details ]%></b>
</h5>
</header>
- <h3 class="w3-margin-left"><%[ FileSet: ]%> <%=$this->getFileSetName()%></h3>
+ <h3 class="view_header"><%[ FileSet: ]%> <%=$this->getFileSetName()%></h3>
<div class="w3-bar w3-green w3-margin-bottom">
<a class="w3-button w3-bar-item" href="<%=$this->Service->constructUrl('FileSetList')%>"><i class="fa fa-angle-left"></i></a>
</div>
<%@ MasterClass="Application.Web.Layouts.Main" Theme="Baculum-v2"%>
<com:TContent ID="Main">
<!-- Header -->
- <header class="w3-container w3-show-block">
+ <header class="w3-container">
<h5>
<b><i class="fa fa-chart-pie"></i> <%[ Graphs ]%></b>
</h5>
</header>
+ <div style="clear: both"></div>
<com:Application.Web.Portlets.JobGraphs ID="Graphs" />
</com:TContent>
<b><i class="fa fa-tasks"></i> <%[ Job history details ]%></b>
</h5>
</header>
- <h3 class="w3-margin-left"><%[ Job: ]%> <%=$this->getJobName()%> <span class="w3-small">[<%[ JobId ]%> <%=$this->getJobId()%>]</span></h3>
+ <h3 class="view_header"><%[ Job: ]%> <%=$this->getJobName()%> <span class="w3-small">[<%[ JobId ]%> <%=$this->getJobId()%>]</span></h3>
<div class="w3-bar w3-green w3-margin-bottom">
<a class="w3-bar-item w3-button tab_btn" href="<%=$this->Service->constructUrl('JobHistoryList')%>"><i class="fa fa-angle-left"></i></a>
<button id="btn_job_actions" type="button" class="w3-bar-item w3-button tab_btn w3-grey" onclick="W3Tabs.open(this.id, 'job_actions'); job_callback_func(); oRunningJobStatus.init_refresh();"><%[ Actions ]%></button>
<b><i class="fa fa-tasks"></i> <%[ Job details ]%></b>
</h5>
</header>
- <h3 class="w3-margin-left"><%[ Job: ]%> <%=$this->getJobName()%> </h3>
+ <h3 class="view_header"><%[ Job: ]%> <%=$this->getJobName()%> </h3>
<div class="w3-bar w3-green w3-margin-bottom">
<a class="w3-bar-item w3-button tab_btn" href="<%=$this->Service->constructUrl('JobList')%>"><i class="fa fa-angle-left"></i></a>
<button id="btn_job_actions" type="button" class="w3-bar-item w3-button tab_btn w3-grey" onclick="W3Tabs.open(this.id, 'job_actions');"><%[ Actions ]%></button>
<!--p><%[ To start please select job type that you wish to create. ]%></p-->
</div>
<div class="w3-half" style="float: none; margin: auto">
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveTextBox
- ID="Name"
- DirectiveName="Name"
- Label="Job Name"
- ValidationGroup="NewJobDirective"
- Required="true"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveTextBox
- ID="Description"
- DirectiveName="Description"
- Label="Description"
- ValidationGroup="NewJobDirective"
- Required="false"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="JobDefs"
- DirectiveName="JobDefs"
- Label="JobDefs"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveTextBox
+ ID="Name"
+ DirectiveName="Name"
+ Label="Job Name"
+ ValidationGroup="NewJobDirective"
+ Required="true"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <com:Application.Web.Portlets.DirectiveTextBox
+ ID="Description"
+ DirectiveName="Description"
+ Label="Description"
+ ValidationGroup="NewJobDirective"
+ Required="false"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="JobDefs"
+ DirectiveName="JobDefs"
+ Label="JobDefs"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
</div>
</com:TWizardStep>
<com:TWizardStep ID="Step2" Title="<%[ Step 2 - what you want to backup ]%>" StepType="Auto">
<p><%[ If your FileSet for this backup does not exist yet, you can create it. ]%></p>
</div>
<div class="w3-half" style="float: none; margin: auto">
- <div class="w3-container">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="Client"
- DirectiveName="Client"
- Label="Client"
- Show="true"
- ValidationGroup="NewJobDirective"
- Required="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="Fileset"
- DirectiveName="Fileset"
- Label="FileSet"
- Show="true"
- ValidationGroup="NewJobDirective"
- Required="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- <span><a href="javascript:void(0)" onclick="$('#job_wizard_new_fileset').slideToggle(); oBaculaConfigSection.show_sections(true);" class="w3-button w3-green" ><i class="fa fa-plus"></i> <%[ Add new FileSet ]%></a></span>
- </div>
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="Client"
+ DirectiveName="Client"
+ Label="Client"
+ Show="true"
+ ValidationGroup="NewJobDirective"
+ Required="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="Fileset"
+ DirectiveName="Fileset"
+ Label="FileSet"
+ Show="true"
+ ValidationGroup="NewJobDirective"
+ Required="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <span><a href="javascript:void(0)" onclick="$('#job_wizard_new_fileset').slideToggle(); oBaculaConfigSection.show_sections(true);" class="w3-button w3-green w3-margin-top w3-margin-bottom" ><i class="fa fa-plus"></i> <%[ Add new FileSet ]%></a></span>
<div id="fileset_save_ok" class="w3-panel w3-green w3-display-container" style="display: none">
<span onclick="this.parentElement.style.display='none'" class="w3-button w3-green w3-large w3-display-topright">x</span>
<p><%[ The resource has been created successfully. ]%></p>
<p><%[ Please select Storage where you want to backup data and please select Pool with volumes which Storage will use to store backup data. ]%></p>
</div>
<div class="w3-half" style="float: none; margin: auto">
- <div class="w3-container">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="Storage"
- DirectiveName="Storage"
- Label="Storage"
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="Storage"
+ DirectiveName="Storage"
+ Label="Storage"
+ Show="true"
+ ValidationGroup="NewJobDirective"
+ Required="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <span><a href="javascript:void(0)" onclick="$('#job_wizard_storage_directives').slideToggle();" class="w3-button w3-green w3-margin-top w3-margin-bottom"><i class="fa fa-angle-down"></i> <%[ Show Storage directives for Job ]%></a></span>
+ <div id="job_wizard_storage_directives" class="w3-card-4 w3-padding w3-margin-top" style="display: none">
+ <h3><%[ Spool setting ]%></h3>
+ <com:Application.Web.Portlets.DirectiveCheckBox
+ ID="SpoolData"
+ DirectiveName="SpoolData"
+ Label="Spool Data"
Show="true"
- ValidationGroup="NewJobDirective"
- Required="true"
ShowResetButton="false"
ShowRemoveButton="false"
- />
- <span><a href="javascript:void(0)" onclick="$('#job_wizard_storage_directives').slideToggle();" class="w3-button w3-green"><i class="fa fa-angle-down"></i> <%[ Show Storage directives for Job ]%></a></span>
- </div>
- <div id="job_wizard_storage_directives" class="w3-card-4 w3-padding w3-margin-top" style="display: none">
- <h3><%[ Spool setting ]%></h3>
- <div class="w3-container">
- <com:Application.Web.Portlets.DirectiveCheckBox
- ID="SpoolData"
- DirectiveName="SpoolData"
- Label="Spool Data"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- <div class="w3-container">
- <com:Application.Web.Portlets.DirectiveCheckBox
- ID="SpoolAttributes"
- DirectiveName="SpoolAttributes"
- Label="Spool Attributes"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- <div class="w3-container">
- <com:Application.Web.Portlets.DirectiveSize
- ID="SpoolSize"
- DirectiveName="SpoolSize"
- Label="Spool Size"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- </div>
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="Pool"
- DirectiveName="Pool"
- Label="Pool"
+ />
+ <com:Application.Web.Portlets.DirectiveCheckBox
+ ID="SpoolAttributes"
+ DirectiveName="SpoolAttributes"
+ Label="Spool Attributes"
Show="true"
- ValidationGroup="NewJobDirective"
- Required="true"
ShowResetButton="false"
ShowRemoveButton="false"
/>
- <span><a href="javascript:void(0)" onclick="$('#job_wizard_pool_directives').hide(); $('#job_wizard_new_pool').slideToggle(); oBaculaConfigSection.show_sections(true);" class="w3-button w3-green"><i class="fa fa-plus"></i> <%[ Add new Pool ]%></a></span>
- <span><a href="javascript:void(0)" onclick="$('#job_wizard_new_pool').hide(); $('#job_wizard_pool_directives').slideToggle();" class="w3-button w3-green"><i class="fa fa-angle-down"></i> <%[ Show Pool directives for Job ]%></a></span>
+ <com:Application.Web.Portlets.DirectiveSize
+ ID="SpoolSize"
+ DirectiveName="SpoolSize"
+ Label="Spool Size"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
</div>
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="Pool"
+ DirectiveName="Pool"
+ Label="Pool"
+ Show="true"
+ ValidationGroup="NewJobDirective"
+ Required="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <span><a href="javascript:void(0)" onclick="$('#job_wizard_pool_directives').hide(); $('#job_wizard_new_pool').slideToggle(); oBaculaConfigSection.show_sections(true);" class="w3-button w3-green w3-margin-top w3-margin-bottom"><i class="fa fa-plus"></i> <%[ Add new Pool ]%></a></span>
+ <span><a href="javascript:void(0)" onclick="$('#job_wizard_new_pool').hide(); $('#job_wizard_pool_directives').slideToggle();" class="w3-button w3-green w3-margin-top w3-margin-bottom"><i class="fa fa-angle-down"></i> <%[ Show Pool directives for Job ]%></a></span>
<div id="pool_save_ok" class="w3-panel w3-green w3-display-container" style="display: none">
<span onclick="this.parentElement.style.display='none'" class="w3-button w3-green w3-large w3-display-topright">x</span>
<p><%[ The resource has been created successfully. ]%></p>
</div>
<div id="job_wizard_pool_directives" class="w3-card-4 w3-padding w3-margin-top" style="display: none">
<h3><%[ Pool setting ]%></h3>
- <div class="w3-container">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="FullBackupPool"
- DirectiveName="FullBackupPool"
- Label="Full Backup Pool"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- <div class="w3-container">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="IncrementalBackupPool"
- DirectiveName="IncrementalBackupPool"
- Label="Incremental Backup Pool"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- <div class="w3-container">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="DifferentialBackupPool"
- DirectiveName="DifferentialBackupPool"
- Label="Differential Backup Pool"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="FullBackupPool"
+ DirectiveName="FullBackupPool"
+ Label="Full Backup Pool"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="IncrementalBackupPool"
+ DirectiveName="IncrementalBackupPool"
+ Label="Incremental Backup Pool"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="DifferentialBackupPool"
+ DirectiveName="DifferentialBackupPool"
+ Label="Differential Backup Pool"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
</div>
</div>
<com:TCallback ID="LoadPoolList" OnCallback="LoadPoolList" />
<div class="w3-container">
<h2><%[ Job directives ]%></h2>
</div>
- <div class="w3-container">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="Level"
- DirectiveName="Level"
- Label="Level"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- <div class="w3-container">
- <com:Application.Web.Portlets.DirectiveCheckBox
- ID="Accurate"
- DirectiveName="Accurate"
- DefaultValue="0"
- Label="Accurate"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- <div class="w3-container">
- <com:Application.Web.Portlets.DirectiveTextBox
- ID="MaximumConcurrentJobs"
- DirectiveName="MaximumConcurrentJobs"
- DefaultValue="1"
- Label="Maximum Concurrent Jobs"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- <div class="w3-container">
- <com:Application.Web.Portlets.DirectiveTextBox
- ID="Priority"
- DirectiveName="Priority"
- DefaultValue="10"
- Label="Priority"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- <div class="w3-container">
- <com:Application.Web.Portlets.DirectiveCheckBox
- ID="ReRunFailedLevels"
- DirectiveName="ReRunFailedLevels"
- DefaultValue="0"
- Label="ReRun Failed Levels"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="Level"
+ DirectiveName="Level"
+ Label="Level"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <com:Application.Web.Portlets.DirectiveCheckBox
+ ID="Accurate"
+ DirectiveName="Accurate"
+ DefaultValue="0"
+ Label="Accurate"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <com:Application.Web.Portlets.DirectiveTextBox
+ ID="MaximumConcurrentJobs"
+ DirectiveName="MaximumConcurrentJobs"
+ DefaultValue="1"
+ Label="Maximum Concurrent Jobs"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <com:Application.Web.Portlets.DirectiveTextBox
+ ID="Priority"
+ DirectiveName="Priority"
+ DefaultValue="10"
+ Label="Priority"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <com:Application.Web.Portlets.DirectiveCheckBox
+ ID="ReRunFailedLevels"
+ DirectiveName="ReRunFailedLevels"
+ DefaultValue="0"
+ Label="ReRun Failed Levels"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
<div class="w3-container">
<h2><%[ Other directives ]%></h2>
</div>
- <div class="w3-container">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="Messages"
- DirectiveName="Messages"
- Label="Messages"
- Show="true"
- ValidationGroup="NewJobDirective"
- Required="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="Messages"
+ DirectiveName="Messages"
+ Label="Messages"
+ Show="true"
+ ValidationGroup="NewJobDirective"
+ Required="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
</div>
</com:TWizardStep>
<com:TWizardStep ID="Step5" Title="<%[ Step 5 - when would you like to run backup ]%>" StepType="Auto">
<div class="w3-container">
<h2><%[ Schedule ]%></h2>
</div>
- <div class="w3-container">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="Schedule"
- DirectiveName="Schedule"
- Label="Schedule"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- <span><a href="javascript:void(0)" onclick="$('#job_wizard_schedule_directives').hide(); $('#job_wizard_new_schedule').slideToggle(); oBaculaConfigSection.show_sections(true);" class="w3-button w3-green"><i class="fa fa-plus"></i> <%[ Add new Schedule ]%></a></span>
- <span><a href="javascript:void(0)" onclick="$('#job_wizard_new_schedule').hide(); $('#job_wizard_reschedule_directives').slideToggle();" class="w3-button w3-green"><i class="fa fa-angle-down"></i> <%[ Show Reschedule directives ]%></a></span>
- </div>
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="Schedule"
+ DirectiveName="Schedule"
+ Label="Schedule"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <span><a href="javascript:void(0)" onclick="$('#job_wizard_schedule_directives').hide(); $('#job_wizard_new_schedule').slideToggle(); oBaculaConfigSection.show_sections(true);" class="w3-button w3-green w3-margin-top w3-margin-bottom"><i class="fa fa-plus"></i> <%[ Add new Schedule ]%></a></span>
+ <span><a href="javascript:void(0)" onclick="$('#job_wizard_new_schedule').hide(); $('#job_wizard_reschedule_directives').slideToggle();" class="w3-button w3-green w3-margin-top w3-margin-bottom"><i class="fa fa-angle-down"></i> <%[ Show Reschedule directives ]%></a></span>
<div id="schedule_save_ok" class="w3-panel w3-green w3-display-container" style="display: none">
<span onclick="this.parentElement.style.display='none'" class="w3-button w3-green w3-large w3-display-topright">x</span>
<p><%[ The resource has been created successfully. ]%></p>
</div>
<div id="job_wizard_reschedule_directives" class="w3-card-4 w3-padding w3-margin-top" style="display: none">
<h3><%[ Reschedule setting ]%></h3>
- <div class="w3-container">
- <com:Application.Web.Portlets.DirectiveCheckBox
- ID="RescheduleOnError"
- DirectiveName="RescheduleOnError"
- DefaultValue="0"
- Label="Reschedule On Error"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- <div class="w3-container">
- <com:Application.Web.Portlets.DirectiveCheckBox
- ID="RescheduleIncompleteJobs"
- DirectiveName="RescheduleIncompleteJobs"
- DefaultValue="0"
- Label="Reschedule Incomplete Jobs"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- <div class="w3-container">
- <com:Application.Web.Portlets.DirectiveTimePeriod
- ID="RescheduleInterval"
- DirectiveName="RescheduleInterval"
- DefaultValue="1800"
- Label="Reschedule Interval"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- <div class="w3-container">
- <com:Application.Web.Portlets.DirectiveInteger
- ID="RescheduleTimes"
- DirectiveName="RescheduleTimes"
- Label="Reschedule Times"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveCheckBox
+ ID="RescheduleOnError"
+ DirectiveName="RescheduleOnError"
+ DefaultValue="0"
+ Label="Reschedule On Error"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <com:Application.Web.Portlets.DirectiveCheckBox
+ ID="RescheduleIncompleteJobs"
+ DirectiveName="RescheduleIncompleteJobs"
+ DefaultValue="0"
+ Label="Reschedule Incomplete Jobs"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <com:Application.Web.Portlets.DirectiveTimePeriod
+ ID="RescheduleInterval"
+ DirectiveName="RescheduleInterval"
+ DefaultValue="1800"
+ Label="Reschedule Interval"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <com:Application.Web.Portlets.DirectiveInteger
+ ID="RescheduleTimes"
+ DirectiveName="RescheduleTimes"
+ Label="Reschedule Times"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
</div>
</div>
<com:TCallback ID="LoadScheduleList" OnCallback="LoadScheduleList" />
<p><%[ Copy jobs run copying backup jobs data from one volume to another. It is done by reading the previously backed up data from volume and writing it to another volume in a different pool. All process runs without using file daemon. ]%></p>
</div>
<div class="w3-half" style="float: none; margin: auto">
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveTextBox
- ID="Name"
- DirectiveName="Name"
- Label="Job Name"
- ValidationGroup="NewCopyJobDirective"
- Required="true"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveTextBox
- ID="Description"
- DirectiveName="Description"
- Label="Description"
- ValidationGroup="NewCopyJobDirective"
- Required="false"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="JobDefs"
- DirectiveName="JobDefs"
- Label="JobDefs"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveTextBox
+ ID="Name"
+ DirectiveName="Name"
+ Label="Job Name"
+ ValidationGroup="NewCopyJobDirective"
+ Required="true"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <com:Application.Web.Portlets.DirectiveTextBox
+ ID="Description"
+ DirectiveName="Description"
+ Label="Description"
+ ValidationGroup="NewCopyJobDirective"
+ Required="false"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="JobDefs"
+ DirectiveName="JobDefs"
+ Label="JobDefs"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
</div>
</com:TWizardStep>
<com:TWizardStep ID="Step2" Title="<%[ Step 2 - what you want to copy ]%>" StepType="Auto">
<p><%[ The source pool will be examined for finding backup jobs to copy. ]%></p>
</div>
<div class="w3-half" style="float: none; margin: auto">
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="Pool"
- DirectiveName="Pool"
- Label="Source Pool"
- Show="true"
- ValidationGroup="NewCopyJobDirective"
- Required="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- Attributes.onchange="set_storage_from_pool(); oVolumeList.show_volumes_in_pool_btn(this.value);oVolumeList.show_volumes_in_pool_table(false);"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="Pool"
+ DirectiveName="Pool"
+ Label="Source Pool"
+ Show="true"
+ ValidationGroup="NewCopyJobDirective"
+ Required="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ Attributes.onchange="set_storage_from_pool(); oVolumeList.show_volumes_in_pool_btn(this.value);oVolumeList.show_volumes_in_pool_table(false);"
+ />
<a id="volumes_in_pool_btn" href="javascript:void(0)" onclick="oVolumeList.load_data(document.getElementById('<%=$this->Pool->Directive->ClientID%>').value);" style="display: none; width: 300px; margin: 0 auto;"><%[ See volumes in selected pool ]%></a>
</div>
<div class="w3-container">
<p><%[ Please select a storage using which you want to read copy data. ]%></p>
</div>
<div class="w3-half" style="float: none; margin: auto">
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="SourceStorage"
- DirectiveName="Storage"
- Label="Source Storage"
- Show="true"
- ValidationGroup="NewCopyJobDirective"
- Required="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="SourceStorage"
+ DirectiveName="Storage"
+ Label="Source Storage"
+ Show="true"
+ ValidationGroup="NewCopyJobDirective"
+ Required="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
<com:TCallback ID="SetSourceStorageByPool" OnCallback="setSourceStorageByPool" />
<script>
function set_storage_from_pool() {
<p><%[ Please select the criteria that will be used for selecting backup jobs to copy. ]%></p>
</div>
<div class="w3-half" style="float: none; margin: auto">
- <div class="w3-container w3-margin-top">
<com:Application.Web.Portlets.DirectiveComboBox
ID="SelectionType"
DirectiveName="SelectionType"
ShowRemoveButton="false"
Attributes.onchange="oSelectionType.show_opts(this.value);"
/>
- </div>
</div>
<div id="selection_type_job" class="w3-half" style="float: none; display: none; margin: auto;">
- <div class="w3-container w3-margin-top" style="position: relative">
- <com:Application.Web.Portlets.DirectiveTextBox
- ID="SelectionPatternJob"
- DirectiveName="SelectionPattern"
- Label="Selection Pattern Job"
- Show="true"
- ValidationGroup="NewCopyJobDirective"
- Required="false"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- <a id="selection_type_jobs_btn" href="javascript:void(0)" onclick="oJobList.load_data();" style="display: block; width: 300px; margin: 0 auto;"><%[ See backup jobs ]%></a>
- </div>
+ <com:Application.Web.Portlets.DirectiveTextBox
+ ID="SelectionPatternJob"
+ DirectiveName="SelectionPattern"
+ Label="Selection Pattern Job"
+ Show="true"
+ ValidationGroup="NewCopyJobDirective"
+ Required="false"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <a id="selection_type_jobs_btn" href="javascript:void(0)" onclick="oJobList.load_data();" style="display: block; width: 300px; margin: 0 auto;"><%[ See backup jobs ]%></a>
</div>
<div id="selection_type_client" class="w3-half" style="float: none; display: none; margin: auto;">
- <div class="w3-container w3-margin-top" style="position: relative">
- <com:Application.Web.Portlets.DirectiveTextBox
- ID="SelectionPatternClient"
- DirectiveName="SelectionPattern"
- Label="Selection Pattern Client"
- Show="true"
- ValidationGroup="NewCopyJobDirective"
- Required="false"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- <a id="selection_type_clients_btn" href="javascript:void(0)" onclick="oClientList.load_data();" style="display: block; width: 300px; margin: 0 auto;"><%[ See clients ]%></a>
- </div>
+ <com:Application.Web.Portlets.DirectiveTextBox
+ ID="SelectionPatternClient"
+ DirectiveName="SelectionPattern"
+ Label="Selection Pattern Client"
+ Show="true"
+ ValidationGroup="NewCopyJobDirective"
+ Required="false"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <a id="selection_type_clients_btn" href="javascript:void(0)" onclick="oClientList.load_data();" style="display: block; width: 300px; margin: 0 auto;"><%[ See clients ]%></a>
</div>
<div id="selection_type_volume" class="w3-half" style="float: none; display: none; margin: auto;">
- <div class="w3-container w3-margin-top" style="position: relative">
- <com:Application.Web.Portlets.DirectiveTextBox
- ID="SelectionPatternVolume"
- DirectiveName="SelectionPattern"
- Label="Selection Pattern Volume"
- Show="true"
- ValidationGroup="NewCopyJobDirective"
- Required="false"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- <a id="selection_type_volumes_btn" href="javascript:void(0)" onclick="oVolumeList.load_data();" style="display: block; width: 300px; margin: 0 auto;"><%[ See volumes ]%></a>
- </div>
+ <com:Application.Web.Portlets.DirectiveTextBox
+ ID="SelectionPatternVolume"
+ DirectiveName="SelectionPattern"
+ Label="Selection Pattern Volume"
+ Show="true"
+ ValidationGroup="NewCopyJobDirective"
+ Required="false"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <a id="selection_type_volumes_btn" href="javascript:void(0)" onclick="oVolumeList.load_data();" style="display: block; width: 300px; margin: 0 auto;"><%[ See volumes ]%></a>
</div>
<div id="selection_type_smallest_volume" style="display: none">
</div>
<div id="selection_type_oldest_volume" style="display: none">
</div>
<div id="selection_type_sql_query" class="w3-half" style="float: none; display: none; margin: auto;">
- <div class="w3-container w3-margin-top" style="position: relative">
- <com:Application.Web.Portlets.DirectiveTextBox
- ID="SelectionPatternSQLQuery"
- DirectiveName="SelectionPattern"
- Label="Selection Pattern SQL Query"
- Show="true"
- ValidationGroup="NewCopyJobDirective"
- Required="false"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveTextBox
+ ID="SelectionPatternSQLQuery"
+ DirectiveName="SelectionPattern"
+ Label="Selection Pattern SQL Query"
+ Show="true"
+ ValidationGroup="NewCopyJobDirective"
+ Required="false"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
</div>
<div id="selection_type_uncopied_jobs" style="display: none">
</div>
<p><%[ Please select destination pool to which will be stored data. ]%></p>
</div>
<div class="w3-half" style="float: none; margin: auto">
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="NextPool"
- DirectiveName="NextPool"
- Label="Destination Pool (NextPool)"
- Show="true"
- ValidationGroup="NewCopyJobDirective"
- Required="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- Attributes.onchange="set_storage_from_nextpool();"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="NextPool"
+ DirectiveName="NextPool"
+ Label="Destination Pool (NextPool)"
+ Show="true"
+ ValidationGroup="NewCopyJobDirective"
+ Required="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ Attributes.onchange="set_storage_from_nextpool();"
+ />
<com:TCallback ID="SetDestinationStorageByPool" OnCallback="setDestinationStorageByPool" />
<com:TCallback ID="GetJobsUsingPool" OnCallback="getJobsUsingPool" />
<script>
<p><%[ Please select a storage using which you want to write copied data. ]%></p>
</div>
<div class="w3-half" style="float: none; margin: auto">
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="DestinationStorage"
- DirectiveName="Storage"
- Label="Destination Storage"
- Show="true"
- ValidationGroup="NewCopyJobDirective"
- Required="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- Attributes.onchange="set_storage(this.value);"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="DestinationStorage"
+ DirectiveName="Storage"
+ Label="Destination Storage"
+ Show="true"
+ ValidationGroup="NewCopyJobDirective"
+ Required="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ Attributes.onchange="set_storage(this.value);"
+ />
</div>
</com:TWizardStep>
<com:TWizardStep ID="Step5" Title="<%[ Step 5 - copy job options ]%>" StepType="Auto">
<h2><%[ Limits ]%></h2>
</div>
<div class="w3-half" style="float: none; margin: auto">
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveTextBox
- ID="MaximumSpawnedJobs"
- DirectiveName="MaximumSpawnedJobs"
- DefaultValue="600"
- Label="Maximum Spawned Jobs"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveTextBox
+ ID="MaximumSpawnedJobs"
+ DirectiveName="MaximumSpawnedJobs"
+ DefaultValue="600"
+ Label="Maximum Spawned Jobs"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
</div>
<div class="w3-container">
<h2><%[ Schedule ]%></h2>
</div>
<div class="w3-half" style="float: none; margin: auto">
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="Schedule"
- DirectiveName="Schedule"
- Label="Schedule"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="Schedule"
+ DirectiveName="Schedule"
+ Label="Schedule"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
</div>
<div class="w3-container">
<h2><%[ Messages ]%></h2>
</div>
<div class="w3-half" style="float: none; margin: auto">
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="Messages"
- DirectiveName="Messages"
- Label="Messages"
- Show="true"
- ValidationGroup="NewCopyJobDirective"
- Required="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="Messages"
+ DirectiveName="Messages"
+ Label="Messages"
+ Show="true"
+ ValidationGroup="NewCopyJobDirective"
+ Required="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
</div>
<div class="w3-half" style="float: none; margin: auto">
<a href="javascript:void(0)" onclick="$('#copy_job_wizard_other_options').slideToggle();"><%[ Other options ]%></a>
</div>
<div id="copy_job_wizard_other_options" class="w3-half" style="float: none; margin: auto; display: none;">
<p><%[ Level, Client and FileSet are not used during copy jobs running but they are required to define in copy job resource as the standard Job directives. ]%></p>
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="Level"
- DirectiveName="Level"
- Label="Level"
- Show="true"
- ValidationGroup="NewCopyJobDirective"
- Required="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="Client"
- DirectiveName="Client"
- Label="Client"
- Show="true"
- ValidationGroup="NewCopyJobDirective"
- Required="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="FileSet"
- DirectiveName="Fileset"
- Label="FileSet"
- Show="true"
- ValidationGroup="NewCopyJobDirective"
- Required="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="Level"
+ DirectiveName="Level"
+ Label="Level"
+ Show="true"
+ ValidationGroup="NewCopyJobDirective"
+ Required="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="Client"
+ DirectiveName="Client"
+ Label="Client"
+ Show="true"
+ ValidationGroup="NewCopyJobDirective"
+ Required="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="FileSet"
+ DirectiveName="Fileset"
+ Label="FileSet"
+ Show="true"
+ ValidationGroup="NewCopyJobDirective"
+ Required="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
</div>
</com:TWizardStep>
<com:TWizardStep ID="Step6" Title="<%[ Step 6 - summary ]%>" StepType="Finish">
<p><%[ Migrate jobs run moving backup jobs data from one volume to another. It is done by reading the previously backed up data from volume and writing it to another volume in a different pool. The file catalog records associated with the original backup jobs are purged. All process runs without using file daemon. ]%></p>
</div>
<div class="w3-half" style="float: none; margin: auto">
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveTextBox
- ID="Name"
- DirectiveName="Name"
- Label="Job Name"
- ValidationGroup="NewMigrateJobDirective"
- Required="true"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveTextBox
- ID="Description"
- DirectiveName="Description"
- Label="Description"
- ValidationGroup="NewMigrateJobDirective"
- Required="false"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="JobDefs"
- DirectiveName="JobDefs"
- Label="JobDefs"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveTextBox
+ ID="Name"
+ DirectiveName="Name"
+ Label="Job Name"
+ ValidationGroup="NewMigrateJobDirective"
+ Required="true"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <com:Application.Web.Portlets.DirectiveTextBox
+ ID="Description"
+ DirectiveName="Description"
+ Label="Description"
+ ValidationGroup="NewMigrateJobDirective"
+ Required="false"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="JobDefs"
+ DirectiveName="JobDefs"
+ Label="JobDefs"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
</div>
</com:TWizardStep>
<com:TWizardStep ID="Step2" Title="<%[ Step 2 - what you want to migrate ]%>" StepType="Auto">
<p><%[ The source pool will be examined for finding backup jobs to migrate. ]%></p>
</div>
<div class="w3-half" style="float: none; margin: auto">
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="Pool"
- DirectiveName="Pool"
- Label="Source Pool"
- Show="true"
- ValidationGroup="NewMigrateJobDirective"
- Required="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- Attributes.onchange="set_storage_from_pool(); oVolumeList.show_volumes_in_pool_btn(this.value);oVolumeList.show_volumes_in_pool_table(false);"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="Pool"
+ DirectiveName="Pool"
+ Label="Source Pool"
+ Show="true"
+ ValidationGroup="NewMigrateJobDirective"
+ Required="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ Attributes.onchange="set_storage_from_pool(); oVolumeList.show_volumes_in_pool_btn(this.value);oVolumeList.show_volumes_in_pool_table(false);"
+ />
<a id="volumes_in_pool_btn" href="javascript:void(0)" onclick="oVolumeList.load_data(document.getElementById('<%=$this->Pool->Directive->ClientID%>').value);" style="display: none; width: 300px; margin: 0 auto;"><%[ See volumes in selected pool ]%></a>
</div>
<div class="w3-container">
<p><%[ Please select a storage using which you want to read migrate data. ]%></p>
</div>
<div class="w3-half" style="float: none; margin: auto">
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="SourceStorage"
- DirectiveName="Storage"
- Label="Source Storage"
- Show="true"
- ValidationGroup="NewMigrateJobDirective"
- Required="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="SourceStorage"
+ DirectiveName="Storage"
+ Label="Source Storage"
+ Show="true"
+ ValidationGroup="NewMigrateJobDirective"
+ Required="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
<com:TCallback ID="SetSourceStorageByPool" OnCallback="setSourceStorageByPool" />
<script>
function set_storage_from_pool() {
<p><%[ Please select the criteria that will be used for selecting backup jobs to migrate. ]%></p>
</div>
<div class="w3-half" style="float: none; margin: auto">
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="SelectionType"
- DirectiveName="SelectionType"
- Label="Selection Type"
- Show="true"
- ValidationGroup="NewMigrateJobDirective"
- Required="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- Attributes.onchange="oSelectionType.show_opts(this.value, true);"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="SelectionType"
+ DirectiveName="SelectionType"
+ Label="Selection Type"
+ Show="true"
+ ValidationGroup="NewMigrateJobDirective"
+ Required="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ Attributes.onchange="oSelectionType.show_opts(this.value, true);"
+ />
</div>
<div id="selection_type_job" class="w3-half" style="float: none; display: none; margin: auto;">
- <div class="w3-container w3-margin-top" style="position: relative">
- <com:Application.Web.Portlets.DirectiveTextBox
- ID="SelectionPatternJob"
- DirectiveName="SelectionPattern"
- Label="Selection Pattern Job"
- Show="true"
- ValidationGroup="NewMigrateJobDirective"
- Required="false"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- <a id="selection_type_jobs_btn" href="javascript:void(0)" onclick="oJobList.load_data();" style="display: block; width: 300px; margin: 0 auto;"><%[ See backup jobs ]%></a>
- </div>
+ <com:Application.Web.Portlets.DirectiveTextBox
+ ID="SelectionPatternJob"
+ DirectiveName="SelectionPattern"
+ Label="Selection Pattern Job"
+ Show="true"
+ ValidationGroup="NewMigrateJobDirective"
+ Required="false"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <a id="selection_type_jobs_btn" href="javascript:void(0)" onclick="oJobList.load_data();" style="display: block; width: 300px; margin: 0 auto;"><%[ See backup jobs ]%></a>
</div>
<div id="selection_type_client" class="w3-half" style="float: none; display: none; margin: auto;">
- <div class="w3-container w3-margin-top" style="position: relative">
- <com:Application.Web.Portlets.DirectiveTextBox
- ID="SelectionPatternClient"
- DirectiveName="SelectionPattern"
- Label="Selection Pattern Client"
- Show="true"
- ValidationGroup="NewMigrateJobDirective"
- Required="false"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- <a id="selection_type_clients_btn" href="javascript:void(0)" onclick="oClientList.load_data();" style="display: block; width: 300px; margin: 0 auto;"><%[ See clients ]%></a>
- </div>
+ <com:Application.Web.Portlets.DirectiveTextBox
+ ID="SelectionPatternClient"
+ DirectiveName="SelectionPattern"
+ Label="Selection Pattern Client"
+ Show="true"
+ ValidationGroup="NewMigrateJobDirective"
+ Required="false"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <a id="selection_type_clients_btn" href="javascript:void(0)" onclick="oClientList.load_data();" style="display: block; width: 300px; margin: 0 auto;"><%[ See clients ]%></a>
</div>
<div id="selection_type_volume" class="w3-half" style="float: none; display: none; margin: auto;">
- <div class="w3-container w3-margin-top" style="position: relative">
- <com:Application.Web.Portlets.DirectiveTextBox
- ID="SelectionPatternVolume"
- DirectiveName="SelectionPattern"
- Label="Selection Pattern Volume"
- Show="true"
- ValidationGroup="NewMigrateJobDirective"
- Required="false"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- <a id="selection_type_volumes_btn" href="javascript:void(0)" onclick="oVolumeList.load_data();" style="display: block; width: 300px; margin: 0 auto;"><%[ See volumes ]%></a>
- </div>
+ <com:Application.Web.Portlets.DirectiveTextBox
+ ID="SelectionPatternVolume"
+ DirectiveName="SelectionPattern"
+ Label="Selection Pattern Volume"
+ Show="true"
+ ValidationGroup="NewMigrateJobDirective"
+ Required="false"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <a id="selection_type_volumes_btn" href="javascript:void(0)" onclick="oVolumeList.load_data();" style="display: block; width: 300px; margin: 0 auto;"><%[ See volumes ]%></a>
</div>
<div id="selection_type_smallest_volume" style="display: none">
</div>
<div id="selection_type_oldest_volume" style="display: none">
</div>
<div id="selection_type_sql_query" class="w3-half" style="float: none; display: none; margin: auto;">
- <div class="w3-container w3-margin-top" style="position: relative">
- <com:Application.Web.Portlets.DirectiveTextBox
- ID="SelectionPatternSQLQuery"
- DirectiveName="SelectionPattern"
- Label="Selection Pattern SQL Query"
- Show="true"
- ValidationGroup="NewMigrateJobDirective"
- Required="false"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveTextBox
+ ID="SelectionPatternSQLQuery"
+ DirectiveName="SelectionPattern"
+ Label="Selection Pattern SQL Query"
+ Show="true"
+ ValidationGroup="NewMigrateJobDirective"
+ Required="false"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
</div>
<div id="selection_type_jobs_table" class="w3-container w3-margin" style="display: none">
<table id="job_list" class="w3-table w3-striped w3-hoverable w3-white w3-margin-bottom" style="width: 100%">
};
</script>
</div>
- <div id="selection_type_pool_occupancy" style="display: none">
- <div class="w3-container w3-half w3-margin-top" style="float: none; margin: auto;">
- <com:Application.Web.Portlets.DirectiveSize
- ID="MigrationHighBytes"
- DirectiveName="MigrationHighBytes"
- Label="Migration High Bytes"
- Show="true"
- ValidationGroup="NewMigrateJobDirective"
- Required="false"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- <div class="w3-container w3-half w3-margin-top" style="float: none; margin: auto;">
- <com:Application.Web.Portlets.DirectiveSize
- ID="MigrationLowBytes"
- DirectiveName="MigrationLowBytes"
- Label="Migration Low Bytes"
- Show="true"
- ValidationGroup="NewMigrateJobDirective"
- Required="false"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
+ <div id="selection_type_pool_occupancy" class="w3-half" style="display: none; float: none; margin: auto;">
+ <com:Application.Web.Portlets.DirectiveSize
+ ID="MigrationHighBytes"
+ DirectiveName="MigrationHighBytes"
+ Label="Migration High Bytes"
+ Show="true"
+ ValidationGroup="NewMigrateJobDirective"
+ Required="false"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <com:Application.Web.Portlets.DirectiveSize
+ ID="MigrationLowBytes"
+ DirectiveName="MigrationLowBytes"
+ Label="Migration Low Bytes"
+ Show="true"
+ ValidationGroup="NewMigrateJobDirective"
+ Required="false"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
</div>
- <div id="selection_type_pool_time" style="display: none">
- <div class="w3-container w3-half w3-margin-top" style="float: none; margin: auto;">
- <com:Application.Web.Portlets.DirectiveTimePeriod
- ID="MigrationTime"
- DirectiveName="MigrationTime"
- Label="Migration Time"
- Show="true"
- ValidationGroup="NewMigrateJobDirective"
- Required="false"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
+ <div id="selection_type_pool_time" class="w3-half" style="display: none; float: none; margin: auto;">
+ <com:Application.Web.Portlets.DirectiveTimePeriod
+ ID="MigrationTime"
+ DirectiveName="MigrationTime"
+ Label="Migration Time"
+ Show="true"
+ ValidationGroup="NewMigrateJobDirective"
+ Required="false"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
</div>
<div id="modify_source_pool_window" class="w3-modal" style="display: none">
<div class="w3-modal-content w3-card-4 w3-animate-zoom" style="width:600px">
<p><%[ Please select destination pool to which will be stored data. ]%></p>
</div>
<div class="w3-half" style="float: none; margin: auto">
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="NextPool"
- DirectiveName="NextPool"
- Label="Destination Pool (NextPool)"
- Show="true"
- ValidationGroup="NewMigrateJobDirective"
- Required="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- Attributes.onchange="set_storage_from_nextpool();"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="NextPool"
+ DirectiveName="NextPool"
+ Label="Destination Pool (NextPool)"
+ Show="true"
+ ValidationGroup="NewMigrateJobDirective"
+ Required="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ Attributes.onchange="set_storage_from_nextpool();"
+ />
<com:TCallback ID="SetDestinationStorageByPool" OnCallback="setDestinationStorageByPool" />
<com:TCallback ID="GetJobsUsingPool" OnCallback="getJobsUsingPool" />
<script>
<p><%[ Please select a storage using which you want to write migrated data. ]%></p>
</div>
<div class="w3-half" style="float: none; margin: auto">
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="DestinationStorage"
- DirectiveName="Storage"
- Label="Destination Storage"
- Show="true"
- ValidationGroup="NewMigrateJobDirective"
- Required="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- Attributes.onchange="set_storage(this.value);"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="DestinationStorage"
+ DirectiveName="Storage"
+ Label="Destination Storage"
+ Show="true"
+ ValidationGroup="NewMigrateJobDirective"
+ Required="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ Attributes.onchange="set_storage(this.value);"
+ />
</div>
</com:TWizardStep>
<com:TWizardStep ID="Step5" Title="<%[ Step 5 - migrate job options ]%>" StepType="Auto">
<h2><%[ Purge jobs ]%></h2>
</div>
<div class="w3-half" style="float: none; margin: auto">
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveCheckBox
- ID="PurgeMigrationJob"
- DirectiveName="PurgeMigrationJob"
- DefaultValue="0"
- Label="Purge Migration Job"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveCheckBox
+ ID="PurgeMigrationJob"
+ DirectiveName="PurgeMigrationJob"
+ DefaultValue="0"
+ Label="Purge Migration Job"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
</div>
<div class="w3-container">
<h2><%[ Limits ]%></h2>
</div>
<div class="w3-half" style="float: none; margin: auto">
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveTextBox
- ID="MaximumSpawnedJobs"
- DirectiveName="MaximumSpawnedJobs"
- DefaultValue="600"
- Label="Maximum Spawned Jobs"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveTextBox
+ ID="MaximumSpawnedJobs"
+ DirectiveName="MaximumSpawnedJobs"
+ DefaultValue="600"
+ Label="Maximum Spawned Jobs"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
</div>
<div class="w3-container">
<h2><%[ Schedule ]%></h2>
</div>
<div class="w3-half" style="float: none; margin: auto">
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="Schedule"
- DirectiveName="Schedule"
- Label="Schedule"
- Show="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="Schedule"
+ DirectiveName="Schedule"
+ Label="Schedule"
+ Show="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
</div>
<div class="w3-container">
<h2><%[ Messages ]%></h2>
</div>
<div class="w3-half" style="float: none; margin: auto">
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="Messages"
- DirectiveName="Messages"
- Label="Messages"
- Show="true"
- ValidationGroup="NewMigrateJobDirective"
- Required="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="Messages"
+ DirectiveName="Messages"
+ Label="Messages"
+ Show="true"
+ ValidationGroup="NewMigrateJobDirective"
+ Required="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
</div>
<div class="w3-half" style="float: none; margin: auto">
<a href="javascript:void(0)" onclick="$('#migrate_job_wizard_other_options').slideToggle();"><%[ Other options ]%></a>
</div>
<div id="migrate_job_wizard_other_options" class="w3-half" style="float: none; margin: auto; display: none;">
<p><%[ Level, Client and FileSet are not used during migrate jobs running but they are required to define in migrate job resource as the standard Job directives. ]%></p>
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="Level"
- DirectiveName="Level"
- Label="Level"
- Show="true"
- ValidationGroup="NewMigrateJobDirective"
- Required="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="Client"
- DirectiveName="Client"
- Label="Client"
- Show="true"
- ValidationGroup="NewMigrateJobDirective"
- Required="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
- <div class="w3-container w3-margin-top">
- <com:Application.Web.Portlets.DirectiveComboBox
- ID="FileSet"
- DirectiveName="Fileset"
- Label="FileSet"
- Show="true"
- ValidationGroup="NewMigrateJobDirective"
- Required="true"
- ShowResetButton="false"
- ShowRemoveButton="false"
- />
- </div>
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="Level"
+ DirectiveName="Level"
+ Label="Level"
+ Show="true"
+ ValidationGroup="NewMigrateJobDirective"
+ Required="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="Client"
+ DirectiveName="Client"
+ Label="Client"
+ Show="true"
+ ValidationGroup="NewMigrateJobDirective"
+ Required="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
+ <com:Application.Web.Portlets.DirectiveComboBox
+ ID="FileSet"
+ DirectiveName="Fileset"
+ Label="FileSet"
+ Show="true"
+ ValidationGroup="NewMigrateJobDirective"
+ Required="true"
+ ShowResetButton="false"
+ ShowRemoveButton="false"
+ />
</div>
</com:TWizardStep>
<com:TWizardStep ID="Step6" Title="<%[ Step 6 - summary ]%>" StepType="Finish">
<b><i class="fa fa-tape"></i> <%[ Pool details ]%></b>
</h5>
</header>
- <h3 class="w3-margin-left"><%[ Pool: ]%> <%=$this->getPoolName()%> <span class="w3-small">[PoolId <%=$this->getPoolId()%>]</span></h3>
+ <h3 class="view_header"><%[ Pool: ]%> <%=$this->getPoolName()%> <span class="w3-small">[PoolId <%=$this->getPoolId()%>]</span></h3>
<div class="w3-bar w3-green w3-margin-bottom">
<a class="w3-bar-item w3-button tab_btn" href="<%=$this->Service->constructUrl('PoolList')%>"><i class="fa fa-angle-left"></i></a>
<button id="btn_pool_actions" type="button" class="w3-bar-item w3-button tab_btn w3-grey" onclick="W3Tabs.open(this.id, 'pool_actions');"><%[ Actions ]%></button>
<b><i class="fa fa-copy"></i> <%[ Schedule details ]%></b>
</h5>
</header>
- <h3 class="w3-margin-left"><%[ Schedule: ]%> <%=$this->getScheduleName()%></h3>
+ <h3 class="view_header"><%[ Schedule: ]%> <%=$this->getScheduleName()%></h3>
<div class="w3-bar w3-green w3-margin-bottom">
<a class="w3-button w3-bar-item" href="<%=$this->Service->constructUrl('ScheduleList')%>"><i class="fa fa-angle-left"></i></a>
</div>
</div>
<div id="general_options_default_access" class="w3-container w3-margin-left" style="display: <%=$this->GeneralDefaultAccess->Checked ? 'block' : 'none'%>">
<div class="w3-half">
- <div class="w3-container w3-row w3-padding w3-block">
+ <div class="w3-container w3-row w3-block">
<div class="w3-third w3-col">
<%[ Default role: ]%>
</div>
<div id="authentication_method_basic" class="w3-container" style="display: none">
<%[ This type of authentication is realized by web server. To use it, the basic authentication has to be enabled in the Baculum Web web server configuration. ]%>
<div>
- <div class="w3-container w3-row w3-padding opt_row">
+ <div class="w3-container w3-row opt_row">
<div class="w3-col" style="width: 40px">
<com:TCheckBox
ID="BasicAuthAllowManageUsers"
</div>
<label for="<%=$this->BasicAuthAllowManageUsers->ClientID%>"><%[ Allow Baculum Web to manage the Basic authentication users (add/remove users and change their passwords) ]%></label>
</div>
- <div class="w3-container w3-row w3-padding w3-block">
+ <div class="w3-container w3-row w3-block">
<div class="w3-col opt_row" style="width: 220px">
<%[ Users file path: ]%>
</div>
<div id="authentication_method_ldap" class="w3-container w3-half w3-margin-left" style="display: none">
<%[ This type of authentication is realized by an external directory service. To authenticate it uses the Baculum Web login form. The web server basic authentication can be disabled in this method. ]%>
<h5><%[ LDAP server options ]%></h5>
- <div class="w3-container w3-row w3-padding">
+ <div class="w3-container w3-row directive_field">
<div class="w3-third w3-col">
<%[ IP Address/Hostname: ]%>
</div>
</com:TRequiredFieldValidator>
</div>
</div>
- <div class="w3-container w3-row w3-padding">
+ <div class="w3-container w3-row directive_field">
<div class="w3-third w3-col">
<%[ Port: ]%>
</div>
</com:TRequiredFieldValidator>
</div>
</div>
- <div class="w3-container w3-row w3-padding">
+ <div class="w3-container w3-row directive_field">
<div class="w3-third w3-col">
<%[ SSL encryption (LDAPS): ]%>
</div>
/>
</div>
</div>
- <div class="w3-container w3-row w3-padding">
+ <div class="w3-container w3-row directive_field">
<div class="w3-third w3-col">
<%[ Protocol version: ]%>
</div>
<label for="<%=$this->LdapAuthMethodSimple->ClientID%>"><%[ Simple authentication ]%></label>
</div>
<div id="authentication_method_ldap_auth_simple" class="w3-container w3-margin-left" style="display: <%=$this->LdapAuthMethodSimple->Checked ? 'block' : 'none'%>">
- <div class="w3-container w3-row w3-padding">
+ <div class="w3-container w3-row directive_field">
<div class="w3-third w3-col">
<%[ Manager DN: ]%>
</div>
</com:TRequiredFieldValidator>
</div>
</div>
- <div class="w3-container w3-row w3-padding">
+ <div class="w3-container w3-row directive_field">
<div class="w3-third w3-col">
<%[ Password: ]%>
</div>
<i id="ldap_test_connection_error" class="fas fa-times-circle w3-text-red" style="display: none;"></i>
<com:TActiveLabel ID="TestLdapConnectionMsg" CssClass="w3-text-red" Display="None" />
</div>
- <div class="w3-container w3-row w3-padding">
+ <div class="w3-container w3-row directive_field">
<div class="w3-third w3-col">
<%[ Base DN: ]%>
</div>
</div>
</div>
<h5><%[ Attributes ]%></h5>
- <div class="w3-container w3-row w3-padding">
+ <div class="w3-container w3-row directive_field">
<div class="w3-third w3-col">
<%[ Username: ]%>
</div>
</com:TRequiredFieldValidator>
</div>
</div>
- <div class="w3-container w3-row w3-padding">
+ <div class="w3-container w3-row directive_field">
<div class="w3-third w3-col">
<%[ Long name: ]%>
</div>
/>
</div>
</div>
- <div class="w3-container w3-row w3-padding">
+ <div class="w3-container w3-row directive_field">
<div class="w3-third w3-col">
<%[ E-mail: ]%>
</div>
/>
</div>
</div>
- <div class="w3-container w3-row w3-padding">
+ <div class="w3-container w3-row directive_field">
<div class="w3-third w3-col">
<%[ Description: ]%>
</div>
Display="Dynamic"
/>
<span id="user_window_username_exists" class="error" style="display: none"><ul><li><%[ Username with the given name already exists. ]%></li></ul></span>
- <div class="w3-row w3-section">
- <div class="w3-col w3-third"><com:TLabel ForControl="UserName" Text="<%[ Username: ]%>" CssClass="w3-xlarge"/></div>
+ <div class="w3-row directive_field">
+ <div class="w3-col w3-third"><com:TLabel ForControl="UserName" Text="<%[ Username: ]%>"/></div>
<div class="w3-half">
<com:TActiveTextBox
ID="UserName"
/>
</div> <i id="user_window_required" class="fa fa-asterisk w3-text-red opt_req" style="display none"></i>
</div>
- <div class="w3-row w3-section">
- <div class="w3-col w3-third"><com:TLabel ForControl="UserLongName" Text="<%[ Long name: ]%>" CssClass="w3-xlarge"/></div>
+ <div class="w3-row directive_field">
+ <div class="w3-col w3-third"><com:TLabel ForControl="UserLongName" Text="<%[ Long name: ]%>"/></div>
<div class="w3-half">
<com:TActiveTextBox
ID="UserLongName"
/>
</div>
</div>
- <div class="w3-row w3-section">
- <div class="w3-col w3-third"><com:TLabel ForControl="UserDescription" Text="<%[ Description: ]%>" CssClass="w3-xlarge"/></div>
+ <div class="w3-row directive_field">
+ <div class="w3-col w3-third"><com:TLabel ForControl="UserDescription" Text="<%[ Description: ]%>"/></div>
<div class="w3-half">
<com:TActiveTextBox
ID="UserDescription"
/>
</div>
</div>
- <div class="w3-row w3-section">
- <div class="w3-col w3-third"><com:TLabel ForControl="UserEmail" Text="<%[ E-mail: ]%>" CssClass="w3-xlarge"/></div>
+ <div class="w3-row directive_field">
+ <div class="w3-col w3-third"><com:TLabel ForControl="UserEmail" Text="<%[ E-mail: ]%>"/></div>
<div class="w3-half">
<com:TActiveTextBox
ID="UserEmail"
/>
</div>
</div>
- <div id="user_window_password" class="w3-row w3-section">
- <div class="w3-col w3-third"><com:TLabel ForControl="UserPassword" Text="<%[ Password: ]%>" CssClass="w3-xlarge"/></div>
+ <div id="user_window_password" class="w3-row directive_field">
+ <div class="w3-col w3-third"><com:TLabel ForControl="UserPassword" Text="<%[ Password: ]%>"/></div>
<div class="w3-half">
<com:TActiveTextBox
ID="UserPassword"
/>
</div>
</div>
- <div class="w3-row w3-section">
- <div class="w3-col w3-third"><com:TLabel ForControl="UserRoles" Text="<%[ Roles: ]%>" CssClass="w3-xlarge"/></div>
+ <div class="w3-row directive_field">
+ <div class="w3-col w3-third"><com:TLabel ForControl="UserRoles" Text="<%[ Roles: ]%>"/></div>
<div class="w3-half">
<com:TActiveListBox
ID="UserRoles"
<p class="w3-text-black" style="margin: 0 16px 0 0"><%[ Use CTRL + left-click to multiple item selection ]%></p>
</div> <i class="fa fa-asterisk w3-text-red opt_req"></i>
</div>
- <div class="w3-row w3-section">
- <div class="w3-col w3-third"><com:TLabel ForControl="UserAPIHosts" Text="<%[ API hosts: ]%>" CssClass="w3-xlarge"/></div>
+ <div class="w3-row directive_field">
+ <div class="w3-col w3-third"><com:TLabel ForControl="UserAPIHosts" Text="<%[ API hosts: ]%>"/></div>
<div class="w3-half">
<com:TActiveListBox
ID="UserAPIHosts"
<p class="w3-text-black" style="margin: 0 16px 0 0"><%[ Use CTRL + left-click to multiple item selection ]%></p>
</div>
</div>
- <div class="w3-row w3-section">
- <div class="w3-col w3-third"><com:TLabel ForControl="UserEnabled" Text="<%[ Enabled: ]%>" CssClass="w3-xlarge"/></div>
+ <div class="w3-row directive_field">
+ <div class="w3-col w3-third"><com:TLabel ForControl="UserEnabled" Text="<%[ Enabled: ]%>"/></div>
<div class="w3-half">
<com:TActiveCheckBox
ID="UserEnabled"
</div>
<i class="fas fa-wrench w3-text-black"></i> <a href="javascript:void(0)" onclick="$('#user_window_advanced_options').toggle('fast');" class="w3-text-black"><%[ Advanced options ]%></a>
<div id="user_window_advanced_options" style="display: none">
- <div class="w3-row w3-section" title="<%[ Comma separated IP addresses. Using asterisk character, there is also possible to provide subnet, for example: 192.168.1.* ]%>">
- <div class="w3-col w3-third"><com:TLabel ForControl="UserIps" Text="<%[ IP address restrictions: ]%>" CssClass="w3-xlarge"/></div>
+ <div class="w3-row directive_field" title="<%[ Comma separated IP addresses. Using asterisk character, there is also possible to provide subnet, for example: 192.168.1.* ]%>">
+ <div class="w3-col w3-third"><com:TLabel ForControl="UserIps" Text="<%[ IP address restrictions: ]%>"/></div>
<div class="w3-half">
<com:TActiveTextBox
ID="UserIps"
Display="Dynamic"
/>
<span id="role_window_role_exists" class="error" style="display: none"><ul><li><%[ Role with the given name already exists. ]%></li></ul></span>
- <div class="w3-row w3-section">
- <div class="w3-col w3-third"><com:TLabel ForControl="Role" Text="<%[ Role: ]%>" CssClass="w3-xlarge"/></div>
+ <div class="w3-row directive_field">
+ <div class="w3-col w3-third"><com:TLabel ForControl="Role" Text="<%[ Role: ]%>"/></div>
<div class="w3-half">
<com:TActiveTextBox
ID="Role"
/>
</div> <i id="role_window_required" class="fa fa-asterisk w3-text-red opt_req" style="display none"></i>
</div>
- <div class="w3-row w3-section">
- <div class="w3-col w3-third"><com:TLabel ForControl="RoleLongName" Text="<%[ Long name: ]%>" CssClass="w3-xlarge"/></div>
+ <div class="w3-row directive_field">
+ <div class="w3-col w3-third"><com:TLabel ForControl="RoleLongName" Text="<%[ Long name: ]%>"/></div>
<div class="w3-half">
<com:TActiveTextBox
ID="RoleLongName"
/>
</div>
</div>
- <div class="w3-row w3-section">
- <div class="w3-col w3-third"><com:TLabel ForControl="RoleDescription" Text="<%[ Description: ]%>" CssClass="w3-xlarge"/></div>
+ <div class="w3-row directive_field">
+ <div class="w3-col w3-third"><com:TLabel ForControl="RoleDescription" Text="<%[ Description: ]%>"/></div>
<div class="w3-half">
<com:TActiveTextBox
ID="RoleDescription"
/>
</div>
</div>
- <div class="w3-row w3-section">
- <div class="w3-col w3-third"><com:TLabel ForControl="RoleResources" Text="<%[ Resources: ]%>" CssClass="w3-xlarge"/></div>
+ <div class="w3-row directive_field">
+ <div class="w3-col w3-third"><com:TLabel ForControl="RoleResources" Text="<%[ Resources: ]%>"/></div>
<div class="w3-half">
<com:TActiveListBox
ID="RoleResources"
</div> <i class="fa fa-asterisk w3-text-red opt_req"></i>
</div>
- <div class="w3-row w3-section">
- <div class="w3-col w3-third"><com:TLabel ForControl="RoleEnabled" Text="<%[ Enabled: ]%>" CssClass="w3-xlarge"/></div>
+ <div class="w3-row directive_field">
+ <div class="w3-col w3-third"><com:TLabel ForControl="RoleEnabled" Text="<%[ Enabled: ]%>"/></div>
<div class="w3-half">
<com:TActiveCheckBox
ID="RoleEnabled"
<h2 id="oauth2_client_window_title_edit" style="display: none"><%[ Edit OAuth2 client account ]%></h2>
</header>
<div class="w3-container w3-margin-left w3-margin-right w3-margin-top w3-text-teal">
- <div class="w3-row w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-third"><com:TLabel ForControl="OAuth2ClientClientId" Text="<%[ OAuth2 Client ID: ]%>" /></div>
<div class="w3-half">
<com:TActiveTextBox
<a id="oauth2_client_generate_client_id_link" href="javascript:void(0)" onclick="document.getElementById('<%=$this->OAuth2ClientClientId->ClientID%>').value = get_random_string('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_', 32);" style="display: none"><%[ generate ]%></a>
</div> <i class="fa fa-asterisk w3-text-red opt_req"></i>
</div>
- <div class="w3-row w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-third"><com:TLabel ForControl="OAuth2ClientClientSecret" Text="<%[ OAuth2 Client Secret: ]%>" /></div>
<div class="w3-half">
<com:TActiveTextBox
<a href="javascript:void(0)" onclick="document.getElementById('<%=$this->OAuth2ClientClientSecret->ClientID%>').value = get_random_string('ABCDEFabcdef0123456789', 40); return false;"><%[ generate ]%></a>
</div> <i class="fa fa-asterisk w3-text-red opt_req"></i>
</div>
- <div class="w3-row w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-third"><com:TLabel ForControl="OAuth2ClientRedirectURI" Text="<%[ OAuth2 Redirect URI (example: https://baculumgui:9095/web/redirect): ]%>" /></div>
<div class="w3-half">
<com:TActiveTextBox
/>
</div> <i class="fa fa-asterisk w3-text-red opt_req"></i>
</div>
- <div class="w3-row w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-third"><com:TLabel ForControl="OAuth2ClientScope" Text="<%[ OAuth2 scopes (space separated): ]%>" /></div>
<div class="w3-half">
<com:TActiveTextBox
/>
</div> <i class="fa fa-asterisk w3-text-red opt_req"></i>
</div>
- <div class="w3-row w3-section" id="oauth2_client_bconsole_create">
+ <div class="w3-row directive_field" id="oauth2_client_bconsole_create">
<div class="w3-col w3-third"><com:TLabel ForControl="OAuth2ClientBconsoleCreate" Text="<%[ Create dedicated Bconsole config file: ]%>" /></div>
<div class="w3-half">
<com:TActiveCheckBox
</div>
</div>
<div id="oauth2_client_console" style="display: none">
- <div class="w3-row w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-third"><com:TLabel ForControl="OAuth2ClientConsole" Text="<%[ Console ACL to use in new Bconsole config file: ]%>" /></div>
<div class="w3-half">
<com:TActiveDropDownList
/>
</div>
</div>
- <div class="w3-row w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-third"><com:TLabel ForControl="OAuth2ClientDirector" Text="<%[ Director for Bconsole config: ]%>" /></div>
<div class="w3-half">
<com:TActiveDropDownList
</div>
</div>
</div>
- <div class="w3-row w3-section" id="oauth2_client_bconsole_cfg">
+ <div class="w3-row directive_field" id="oauth2_client_bconsole_cfg">
<div class="w3-col w3-third"><com:TLabel ForControl="OAuth2ClientBconsoleCfgPath" Text="<%[ Dedicated Bconsole config file path: ]%>" /></div>
<div class="w3-half">
<com:TActiveTextBox
/>
</div>
</div>
- <div class="w3-row w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-third"><com:TLabel ForControl="OAuth2ClientName" Text="<%[ Short name: ]%>" /></div>
<div class="w3-half">
<com:TActiveTextBox
</header>
<div class="w3-container w3-margin-left w3-margin-right w3-margin-top w3-text-teal">
<div id="api_host_settings">
- <div class="w3-row w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-third"><com:TLabel ForControl="APIHostSettings" Text="<%[ Get existing API host settings: ]%>" /></div>
<div class="w3-col w3-third">
<com:TActiveDropDownList
</div> <i id="api_host_settings_loading" class="fas fa-sync w3-spin w3-text-black" style="visibility: hidden; margin: 10px 5px"></i>
</div>
</div>
- <div class="w3-row w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-third"><com:TLabel ForControl="APIHostProtocol" Text="<%[ Protocol: ]%>" /></div>
<div class="w3-col w3-third">
<com:TActiveDropDownList ID="APIHostProtocol" CssClass="w3-select w3-border" Width="150px" CausesValidation="false">
</com:TActiveDropDownList> <i class="fa fa-asterisk w3-text-red" style="line-height: 40px"></i>
</div>
</div>
- <div class="w3-row w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-third"><com:TLabel ForControl="APIHostAddress" Text="<%[ IP Address/Hostname: ]%>" /></div>
<div class="w3-col w3-half">
<com:TActiveTextBox ID="APIHostAddress" CssClass="w3-input w3-border" CausesValidation="false" />
</div>
<i class="fa fa-asterisk w3-text-red" style="line-height: 40px"></i>
</div>
- <div class="w3-row w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-third"><com:TLabel ForControl="APIHostPort" Text="<%[ Port: ]%>" /></div>
<div class="w3-col w3-third">
<com:TActiveTextBox ID="APIHostPort" CssClass="w3-input w3-border" CausesValidation="false" Text="9096" Width="70px" Style="display: inline-block" />
</div>
</div>
<div class="auth_setting">
- <div class="w3-row w3-section">
+ <div class="w3-row directive_field">
<com:TActiveRadioButton
ID="APIHostAuthOAuth2"
GroupName="SelectAuth"
Text="<%[ Use OAuth2 for authorization and authentication ]%>"
/>
</div>
- <div class="w3-row w3-section">
+ <div class="w3-row directive_field">
<com:TActiveRadioButton
ID="APIHostAuthBasic"
GroupName="SelectAuth"
/>
</div>
</div>
- <div id="configure_basic_auth" style="display: <%=($this->APIHostAuthBasic->Checked === true) ? '' : 'none';%>">
- <div class="w3-row w3-section">
+ <div id="configure_basic_auth" class="w3-margin-top" style="display: <%=($this->APIHostAuthBasic->Checked === true) ? '' : 'none';%>">
+ <div class="w3-row directive_field">
<div class="w3-col w3-third"><com:TLabel ForControl="APIHostBasicLogin" Text="<%[ API Login: ]%>" /></div>
<div class="w3-col w3-half">
<com:TActiveTextBox
</div>
<i class="fa fa-asterisk w3-text-red" style="line-height: 40px"></i>
</div>
- <div class="w3-row w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-third"><com:TLabel ForControl="APIHostBasicPassword" Text="<%[ API Password: ]%>" /></div>
<div class="w3-col w3-half">
<com:TActiveTextBox
<i class="fa fa-asterisk w3-text-red" style="line-height: 40px"></i>
</div>
</div>
- <div id="configure_oauth2_auth" style="display: <%=($this->APIHostAuthOAuth2->Checked === true) ? '' : 'none';%>">
- <div class="w3-row w3-section">
+ <div id="configure_oauth2_auth" class="w3-margin-top" style="display: <%=($this->APIHostAuthOAuth2->Checked === true) ? '' : 'none';%>">
+ <div class="w3-row directive_field">
<div class="w3-col w3-third"><com:TLabel ForControl="APIHostOAuth2ClientSettings" Text="<%[ Get existing OAuth2 client settings: ]%>" /></div>
<div class="w3-col w3-third">
<com:TActiveDropDownList
</com:TActiveDropDownList>
</div> <i id="api_host_oauth2_client_settings_loading" class="fas fa-sync w3-spin w3-text-black" style="visibility: hidden; margin: 10px 5px"></i>
</div>
- <div class="w3-row w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-third"><com:TLabel ForControl="APIHostOAuth2ClientId" Text="<%[ OAuth2 Client ID: ]%>" /></div>
<div class="w3-col w3-half">
<com:TActiveTextBox
</div>
<i class="fa fa-asterisk w3-text-red" style="line-height: 40px"></i>
</div>
- <div class="w3-row w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-third"><com:TLabel ForControl="APIHostOAuth2ClientSecret" Text="<%[ OAuth2 Client Secret: ]%>" /></div>
<div class="w3-col w3-half">
<com:TActiveTextBox
</div>
<i class="fa fa-asterisk w3-text-red" style="line-height: 40px"></i>
</div>
- <div class="w3-row w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-third"><com:TLabel ForControl="APIHostOAuth2RedirectURI" Text="<%[ OAuth2 Redirect URI (example: https://baculumgui:9095/web/redirect): ]%>" /></div>
<div class="w3-col w3-half">
<com:TActiveTextBox
</div>
<i class="fa fa-asterisk w3-text-red" style="line-height: 40px"></i>
</div>
- <div class="w3-row w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-third"><com:TLabel ForControl="APIHostOAuth2Scope" Text="<%[ OAuth2 scopes (space separated): ]%>" /></div>
<div class="w3-col w3-half">
<com:TActiveTextBox
<b><i class="fa fa-database"></i> <%[ Storage details ]%></b>
</h5>
</header>
- <h3 class="w3-margin-left"><%[ Storage: ]%> <%=$this->getStorageName()%> <span class="w3-small">[StorageId <%=$this->getStorageId()%>]</span></h3>
+ <h3 class="view_header"><%[ Storage: ]%> <%=$this->getStorageName()%> <span class="w3-small">[StorageId <%=$this->getStorageId()%>]</span></h3>
<div class="w3-bar w3-green w3-margin-bottom">
<a class="w3-bar-item w3-button tab_btn" href="<%=$this->Service->constructUrl('StorageList')%>"><i class="fa fa-angle-left"></i></a>
<button id="btn_storage_actions" type="button" class="w3-bar-item w3-button tab_btn w3-grey" onclick="W3Tabs.open(this.id, 'storage_actions');"><%[ Actions ]%></button>
<h2><%[ Load drive ]%></h2>
</header>
<div class="w3-container w3-margin-left w3-margin-right w3-margin-top w3-text-teal">
- <div class="w3-row w3-section">
+ <div class="w3-row directive_field w3-margin-bottom">
<div class="w3-col w3-third">
<%[ Slot ]%>:
</div>
<strong id="load_drive_slot"></strong>
</div>
</div>
- <div class="w3-row w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-third">
<label for="load_drive_drives"><%[ Drive ]%>:</label>
</div>
<select id="load_drive_drives" class="w3-select w3-border"></select>
</div>
</div>
- <div class="w3-row w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-third">
<label for="load_drive_mount"><%[ Mount volume ]%>:</label>
</div>
<b><i class="fa fa-hdd"></i> <%[ Volume details ]%></b>
</h5>
</header>
- <h3 class="w3-margin-left"><%[ Volume: ]%> <%=$this->getVolumeName()%> <span class="w3-small">[MediaId <%=$this->getMediaId()%>]</span></h3>
+ <h3 class="view_header"><%[ Volume: ]%> <%=$this->getVolumeName()%> <span class="w3-small">[MediaId <%=$this->getMediaId()%>]</span></h3>
<div class="w3-bar w3-green w3-margin-bottom">
<a class="w3-bar-item w3-button tab_btn" href="<%=$this->Service->constructUrl('VolumeList')%>"><i class="fa fa-angle-left"></i></a>
<button id="btn_volume_actions" type="button" class="w3-bar-item w3-button tab_btn w3-grey" onclick="W3Tabs.open(this.id, 'volume_actions');"><%[ Actions ]%></button>
-<div class="directive_field w3-row w3-margin-bottom<%=!$this->display_directive ? ' hide' : '';%>">
+<div class="directive_field w3-row<%=!$this->display_directive ? ' hide' : '';%>">
<div class="w3-col w3-quarter"><com:TActiveLabel ID="Label" ActiveControl.EnableUpdate="false" Visible="<%=$this->display_directive%>" />:</div>
<div class="w3-col w3-threequarter directive_value">
<com:TActiveCheckBox
-<div class="directive_field w3-row w3-margin-bottom<%=!$this->display_directive ? ' hide' : '';%>">
+<div class="directive_field w3-row<%=!$this->display_directive ? ' hide' : '';%>">
<div class="w3-col w3-quarter"><com:TActiveLabel ID="Label" ActiveControl.EnableUpdate="false" Visible="<%=$this->display_directive%>" />:</div>
<div class="w3-col w3-threequarter directive_value">
<com:TActiveDropDownList ID="Directive"
-<div class="directive_field w3-row w3-margin-bottom<%=!$this->display_directive ? ' hide' : '';%>">
+<div class="directive_field w3-row<%=!$this->display_directive ? ' hide' : '';%>">
<div class="w3-col w3-quarter"><com:TActiveLabel ID="Label" ActiveControl.EnableUpdate="false" Visible="<%=$this->display_directive%>" />:</div>
<div class="w3-col w3-threequarter directive_value">
<com:TActiveTextBox ID="Directive"
-<div class="directive_field w3-row w3-margin-bottom<%=!$this->display_directive ? ' hide' : '';%>">
+<div class="directive_field w3-row<%=!$this->display_directive ? ' hide' : '';%>">
<div class="w3-col w3-quarter"><com:TActiveLabel ID="Label" ActiveControl.EnableUpdate="false" Visible="<%=$this->display_directive%>" />:</div>
<div class="w3-col w3-threequarter directive_value">
<com:TActiveListBox ID="Directive"
<com:TActiveRepeater ID="MultiComboBoxRepeater" OnItemDataBound="createMultiComboBoxElement">
<prop:ItemTemplate>
- <div class="directive_field w3-row w3-margin-bottom<%=!isset($this->Data['show']) ? ' hide' : '';%>">
+ <div class="directive_field w3-row<%=!isset($this->Data['show']) ? ' hide' : '';%>">
<div class="w3-col w3-quarter"><com:TActiveLabel ID="Label" ActiveControl.EnableUpdate="false" />:</div>
<div class="w3-col w3-threequarter directive_value">
<com:TActiveDropDownList ID="Directive"
<com:TActiveRepeater ID="MultiTextBoxRepeater" OnItemDataBound="createMultiTextBoxElement">
<prop:ItemTemplate>
- <div class="directive_field w3-row w3-margin-bottom<%=!isset($this->Data['show']) ? ' hide' : '';%>">
+ <div class="directive_field w3-row<%=!isset($this->Data['show']) ? ' hide' : '';%>">
<div class="w3-col w3-quarter"><com:TActiveLabel ID="Label" ActiveControl.EnableUpdate="false" />:</div>
<div class="w3-col w3-threequarter directive_value">
<com:TActiveTextBox ID="Directive"
-<div class="directive_field w3-row w3-margin-bottom<%=!$this->display_directive ? ' hide' : '';%>">
+<div class="directive_field w3-row<%=!$this->display_directive ? ' hide' : '';%>">
<div class="w3-col w3-quarter"><com:TActiveLabel ID="Label" ActiveControl.EnableUpdate="false" Visible="<%=$this->display_directive%>" />:</div>
<div class="w3-col w3-threequarter directive_value">
<com:TActiveTextBox ID="Directive"
-<div class="directive_field w3-row w3-margin-bottom<%=!$this->display_directive ? ' hide' : '';%>">
+<div class="directive_field w3-row<%=!$this->display_directive ? ' hide' : '';%>">
<div class="w3-col w3-quarter"><com:TActiveLabel ID="Label" ActiveControl.EnableUpdate="false" Visible="<%=$this->display_directive%>" />:</div>
<div class="w3-col w3-threequarter directive_value">
<com:TActiveTextBox ID="Directive"
-<div class="directive_field w3-row w3-margin-bottom<%=!$this->display_directive ? ' hide' : '';%>">
+<div class="directive_field w3-row<%=!$this->display_directive ? ' hide' : '';%>">
<div class="w3-col w3-quarter"><com:TActiveLabel ID="Label" ActiveControl.EnableUpdate="false" Visible="<%=$this->display_directive%>" />:</div>
<div class="w3-col w3-threequarter directive_value">
<com:TActiveTextBox ID="Directive"
-<div class="directive_field w3-row w3-margin-bottom<%=!$this->display_directive ? ' hide' : '';%>">
+<div class="directive_field w3-row<%=!$this->display_directive ? ' hide' : '';%>">
<div class="w3-col w3-quarter"><com:TActiveLabel ID="Label" ActiveControl.EnableUpdate="false" Visible="<%=$this->display_directive%>" />:</div>
<div class="w3-col w3-threequarter directive_value">
<com:TActiveTextBox ID="Directive"
-<div class="directive_field w3-row w3-margin-bottom<%=!$this->display_directive ? ' hide' : '';%>">
+<div class="directive_field w3-row<%=!$this->display_directive ? ' hide' : '';%>">
<div class="w3-col w3-quarter"><com:TActiveLabel ID="Label" ActiveControl.EnableUpdate="false" Visible="<%=$this->display_directive%>" />:</div>
<div class="w3-col w3-threequarter directive_value">
<com:TActiveTextBox ID="Directive"
public function render($writer) {
if (self::$index % 30 === 0) {
- $writer->write('<h3 class="options">Options #' . ((self::$index/30) + 1) . '</h3><hr />');
+ $writer->write('<h3 class="options">Options #' . ((self::$index/30) + 1) . '</h3><hr style="margin: 7px 0;"/>');
}
self::$index++;
Display="Dynamic"
RegularExpression="[0-9]+"
/>
- <div class="w3-row-padding w3-section-padding w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-half"><com:TLabel ForControl="Barcodes" Text="<%[ Use barcodes as label: ]%>" /></div>
<div class="w3-col w3-half"><com:TActiveCheckBox ID="Barcodes" CssClass="w3-check" Attributes.onclick="set_label_volume_barcodes();"/></div>
</div>
- <div id="label_with_name" class="w3-row-padding w3-section">
+ <div id="label_with_name" class="w3-row directive_field">
<div class="w3-col w3-half"><com:TLabel ForControl="LabelName" Text="<%[ Label name: ]%>" /></div>
<div class="w3-col w3-half">
<com:TActiveTextBox ID="LabelName" CssClass="w3-input w3-border" />
</com:TRequiredFieldValidator>
</div>
</div>
- <div id="label_with_barcodes" class="w3-row-padding w3-section" style="display: none">
+ <div id="label_with_barcodes" class="w3-row directive_field" style="display: none">
<div class="w3-col w3-half"><com:TLabel ForControl="SlotsLabel" Text="<%[ Slots to label (ex. 4 or 1-5 or 2,4,6-10): ]%>" /></div>
<div class="w3-col w3-half">
<com:TActiveTextBox ID="SlotsLabel" CssClass="w3-input w3-border" Text="0" />
</com:TRequiredFieldValidator>
</div>
</div>
- <div class="w3-row-padding w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-half"><com:TLabel ForControl="PoolLabel" Text="<%[ Pool: ]%>" /></div>
<div class="w3-col w3-half"><com:TActiveDropDownList ID="PoolLabel" CssClass="w3-select w3-border" /></div>
</div>
- <div class="w3-row-padding w3-section"<%=$this->Storage ? ' style="display: none"' : ''%>>
+ <div class="w3-row directive_field"<%=$this->Storage ? ' style="display: none"' : ''%>>
<div class="w3-col w3-half"><com:TLabel ForControl="StorageLabel" Text="<%[ Storage: ]%>" /></div>
<div class="w3-col w3-half"><com:TActiveDropDownList ID="StorageLabel" CssClass="w3-select w3-border" /></div>
</div>
- <div class="w3-row-padding w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-half"><com:TLabel ForControl="DriveLabel" Text="<%[ Drive index: ]%>" /></div>
<div class="w3-col w3-half">
<com:TActiveTextBox ID="DriveLabel" CssClass="w3-input w3-border" Text="0" />
/>
</div>
</div>
- <div id="label_without_barcodes" class="w3-row-padding w3-section">
+ <div id="label_without_barcodes" class="w3-row directive_field">
<div class="w3-col w3-half"><com:TLabel ForControl="SlotLabel" Text="<%[ Slot number: ]%>" /></div>
<div class="w3-col w3-half">
<com:TActiveTextBox ID="SlotLabel" CssClass="w3-input w3-border" Text="0" />
</com:TRequiredFieldValidator>
</div>
</div>
- <div class="w3-row-padding w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-half"><%[ Labeling status: ]%></div>
<div class="w3-col w3-half">
<i id="label_status_start" class="fa fa-step-forward" title="<%[ Ready to label ]%>"></i>
</div>
</div>
<div class="w3-container w3-black">
- <h5>Baculum Menu</h5>
+ <h5 class="w3-center" style="margin: 6px 0 2px 0">Baculum Web Menu</h5>
</div>
<div class="w3-bar-block" style="margin-bottom: 45px;">
<!--a href="#" class="w3-bar-item w3-button w3-padding-16 w3-black w3-hover-black w3-hide-large" onclick="W3SideBar.close(); return false;" title="close menu"> <%[ Close Menu ]%> <i class="fa fa-window-close fa-fw w3-right w3-xlarge"></i></a-->
<h2><%[ Run job ]%><%=$this->getJobName() ? ' - ' . $this->getJobName() : ''%></h2>
</header>
<div class="w3-container w3-margin-left w3-margin-right">
- <com:TActivePanel ID="JobToRunLine" CssClass="w3-row w3-section w3-text-teal" Display="None">
- <div class="w3-col w3-third"><i class="w3-xlarge fa fa-tasks"></i> <com:TLabel ForControl="JobToRun" Text="<%[ Job to run: ]%>" CssClass="w3-xlarge" /></div>
+ <com:TActivePanel ID="JobToRunLine" CssClass="w3-row w3-text-teal directive_field" Display="None">
+ <div class="w3-col w3-third"><i class="w3-large fa fa-tasks"></i> <com:TLabel ForControl="JobToRun" Text="<%[ Job to run: ]%>" CssClass="w3-large" /></div>
<div class="w3-half">
<com:TActiveDropDownList
ID="JobToRun"
/>
</div>
</com:TActivePanel>
- <div class="w3-row w3-section w3-text-teal">
- <div class="w3-col w3-third"><i class="w3-xlarge fa fa-compass"></i> <com:TLabel ForControl="Level" Text="<%[ Level: ]%>" CssClass="w3-xlarge"/></div>
+ <div class="w3-row w3-text-teal directive_field">
+ <div class="w3-col w3-third"><i class="w3-large fa fa-compass"></i> <com:TLabel ForControl="Level" Text="<%[ Level: ]%>" CssClass="w3-large"/></div>
<div class="w3-half">
<com:TActiveDropDownList ID="Level" CssClass="w3-select w3-border" AutoPostBack="false">
<prop:Attributes.onchange>
</com:TActiveDropDownList>
</div>
</div>
- <com:TActivePanel ID="JobToVerifyOptionsLine" CssClass="w3-row w3-section w3-text-teal" Display="None">
- <div class="w3-col w3-third"><i class="w3-xlarge fa fa-search-plus"></i> <com:TLabel ForControl="JobToVerifyOptions" Text="<%[ Verify option: ]%>" CssClass="w3-xlarge" /></div>
+ <com:TActivePanel ID="JobToVerifyOptionsLine" CssClass="w3-row w3-text-teal directive_field" Display="None">
+ <div class="w3-col w3-third"><i class="w3-large fa fa-search-plus"></i> <com:TLabel ForControl="JobToVerifyOptions" Text="<%[ Verify option: ]%>" CssClass="w3-large" /></div>
<div class="w3-half">
<com:TActiveDropDownList ID="JobToVerifyOptions" AutoPostBack="false" CssClass="w3-select w3-border">
<prop:Attributes.onchange>
</com:TActiveDropDownList>
</div>
</com:TActivePanel>
- <com:TActivePanel ID="JobToVerifyJobNameLine" CssClass="w3-row w3-section w3-text-teal" Display="None">
- <div class="w3-col w3-third"><i class="w3-xlarge fa fa-check"></i> <com:TLabel ForControl="JobToVerifyJobName" Text="<%[ Job to Verify: ]%>" CssClass="w3-xlarge" /></div>
+ <com:TActivePanel ID="JobToVerifyJobNameLine" CssClass="w3-row w3-text-teal directive_field" Display="None">
+ <div class="w3-col w3-third"><i class="w3-large fa fa-check"></i> <com:TLabel ForControl="JobToVerifyJobName" Text="<%[ Job to Verify: ]%>" CssClass="w3-large" /></div>
<div class="w3-half">
<com:TActiveDropDownList ID="JobToVerifyJobName" AutoPostBack="false" CssClass="w3-select w3-border" />
</div>
</com:TActivePanel>
- <com:TActivePanel ID="JobToVerifyJobIdLine" CssClass="w3-row w3-section w3-text-teal" Display="None">
- <div class="w3-col w3-third"><i class="w3-xlarge fa fa-file-alt"></i> <com:TLabel ForControl="JobToVerifyJobId" Text="<%[ JobId to Verify: ]%>" CssClass="w3-xlarge" /></div>
+ <com:TActivePanel ID="JobToVerifyJobIdLine" CssClass="w3-row w3-text-teal directive_field" Display="None">
+ <div class="w3-col w3-third"><i class="w3-large fa fa-file-alt"></i> <com:TLabel ForControl="JobToVerifyJobId" Text="<%[ JobId to Verify: ]%>" CssClass="w3-large" /></div>
<div class="w3-half">
<com:TActiveTextBox ID="JobToVerifyJobId" CssClass="w3-input w3-border" AutoPostBack="false" />
<com:TRequiredFieldValidator
</com:TDataTypeValidator>
</div>
</com:TActivePanel>
- <div class="w3-row w3-section w3-text-teal">
- <div class="w3-col w3-third"><i class="w3-xlarge fa fa-desktop"></i> <com:TLabel ForControl="Client" Text="<%[ Client: ]%>" CssClass="w3-xlarge" /></div>
+ <div class="w3-row w3-text-teal directive_field">
+ <div class="w3-col w3-third"><i class="w3-large fa fa-desktop"></i> <com:TLabel ForControl="Client" Text="<%[ Client: ]%>" CssClass="w3-large" /></div>
<div class="w3-half">
<com:TActiveDropDownList ID="Client" AutoPostBack="false" CssClass="w3-select w3-border" />
</div>
</div>
- <div class="w3-row w3-section w3-text-teal">
- <div class="w3-col w3-third"><i class="w3-xlarge fa fa-list-alt"></i> <com:TLabel ForControl="FileSet" Text="<%[ FileSet: ]%>" CssClass="w3-xlarge" /></div>
+ <div class="w3-row w3-text-teal directive_field">
+ <div class="w3-col w3-third"><i class="w3-large fa fa-list-alt"></i> <com:TLabel ForControl="FileSet" Text="<%[ FileSet: ]%>" CssClass="w3-large" /></div>
<div class="w3-half">
<com:TActiveDropDownList ID="FileSet" AutoPostBack="false" CssClass="w3-select w3-border" />
</div>
</div>
- <div class="w3-row w3-section w3-text-teal">
- <div class="w3-col w3-third"><i class="w3-xlarge fa fa-tape"></i> <com:TLabel ForControl="Pool" Text="<%[ Pool: ]%>" CssClass="w3-xlarge" /></div>
+ <div class="w3-row w3-text-teal directive_field">
+ <div class="w3-col w3-third"><i class="w3-large fa fa-tape"></i> <com:TLabel ForControl="Pool" Text="<%[ Pool: ]%>" CssClass="w3-large" /></div>
<div class="w3-half">
<com:TActiveDropDownList ID="Pool" AutoPostBack="false" CssClass="w3-select w3-border" />
</div>
</div>
- <div class="w3-row w3-section w3-text-teal">
- <div class="w3-col w3-third"><i class="w3-xlarge fa fa-database"></i> <com:TLabel ForControl="Storage" Text="<%[ Storage: ]%>" CssClass="w3-xlarge" /></div>
+ <div class="w3-row w3-text-teal directive_field">
+ <div class="w3-col w3-third"><i class="w3-large fa fa-database"></i> <com:TLabel ForControl="Storage" Text="<%[ Storage: ]%>" CssClass="w3-large" /></div>
<div class="w3-half">
<com:TActiveDropDownList ID="Storage" AutoPostBack="false" CssClass="w3-select w3-border" />
</div>
<i class="fas fa-info-circle" title="<%[ The storage has been selected basing on job configuration. This item may require adjusting before job run. ]%>"></i>
</div>
</div>
- <div class="w3-row w3-section w3-text-teal">
- <div class="w3-col w3-third"><i class="w3-xlarge fa fa-sort-numeric-up"></i> <com:TLabel ForControl="Priority" Text="<%[ Priority: ]%>" CssClass="w3-xlarge" /></div>
+ <div class="w3-row w3-text-teal directive_field">
+ <div class="w3-col w3-third"><i class="w3-large fa fa-sort-numeric-up"></i> <com:TLabel ForControl="Priority" Text="<%[ Priority: ]%>" CssClass="w3-large" /></div>
<div class="w3-half">
- <com:TActiveTextBox ID="Priority" CssClass="w3-input w3-border" AutoPostBack="false" />
+ <com:TActiveTextBox ID="Priority" CssClass="w3-input w3-border w3-quarter" AutoPostBack="false" />
<com:TRequiredFieldValidator
ValidationGroup="JobGroup"
ControlToValidate="Priority"
/>
</div>
</div>
- <com:TActivePanel ID="AccurateLine" CssClass="w3-row w3-section w3-text-teal">
- <div class="w3-col w3-third"><i class="w3-xlarge fa fa-balance-scale"></i> <com:TLabel ForControl="Accurate" Text="<%[ Accurate: ]%>" CssClass="w3-xlarge"/></div>
+ <com:TActivePanel ID="AccurateLine" CssClass="w3-row w3-text-teal directive_field">
+ <div class="w3-col w3-third"><i class="w3-large fa fa-balance-scale"></i> <com:TLabel ForControl="Accurate" Text="<%[ Accurate: ]%>" CssClass="w3-large"/></div>
<div class="field"><com:TActiveCheckBox ID="Accurate" AutoPostBack="false" CssClass="w3-check" /></div>
</com:TActivePanel>
</div>
Display="Dynamic"
RegularExpression="[0-9]+"
/>
- <div class="w3-row-padding w3-section-padding w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-half"><com:TLabel ForControl="Barcodes" Text="<%[ Update slots using barcodes ]%>" /></div>
<div class="w3-col w3-half"><com:TActiveCheckBox ID="Barcodes" CssClass="w3-check" Checked="true" Attributes.onclick="set_update_slots_barcodes();" /></div>
</div>
- <div class="w3-row-padding w3-section"<%=$this->Storage ? ' style="display: none"' : ''%>>
+ <div class="w3-row directive_field"<%=$this->Storage ? ' style="display: none"' : ''%>>
<div class="w3-col w3-half"><com:TLabel ForControl="StorageUpdate" Text="<%[ Storage: ]%>" /></div>
<div class="w3-col w3-half"><com:TActiveDropDownList ID="StorageUpdate" CssClass="w3-select w3-border" /></div>
</div>
- <div class="w3-row-padding w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-half"><com:TLabel ForControl="SlotsUpdate" Text="<%[ Slots to update (ex. 4 or 1-5 or 2,4,6-10): ]%>" /></div>
<div class="w3-col w3-half">
<com:TActiveTextBox ID="SlotsUpdate" CssClass="w3-input w3-border" Text="0" />
/>
</div>
</div>
- <div class="w3-row-padding w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-half"><com:TLabel ForControl="DriveUpdate" Text="<%[ Drive number: ]%>" /></div>
<div class="w3-col w3-half">
<com:TActiveTextBox ID="DriveUpdate" CssClass="w3-input w3-border" Text="0" />
/>
</div>
</div>
- <div class="w3-row-padding w3-section">
+ <div class="w3-row directive_field">
<div class="w3-col w3-half"><%[ Updating status: ]%></div>
<div class="w3-col w3-half">
<i id="update_slots_status_start" class="fa fa-step-forward" title="<%[ Ready to update ]%>"></i>
display: inline;
}
-div.directive_field input, div.directive_field select {
+div.directive_field {
+ margin: 7px 0;
+}
+
+div.directive_field input, div.directive_field select, div.directive_field textarea {
max-width: 400px;
}
-div.directive_field input.w3-half, div.directive_field select.w3-half {
+div.directive_field input.w3-half, div.directive_field select.w3-half, div.directive_field textarea.w3-half {
max-width: 200px;
}
+div.directive_field input.w3-quarter, div.directive_field select.w3-quarter, div.directive_field textarea.w3-quarter {
+ max-width: 100px;
+}
+
+.view_header {
+ margin: 0 0 2px 16px;
+}
div.details_card {
min-height: 200px;