</com:TWizardStep>
<com:TWizardStep ID="Step2" Title="<%[ Step 2 - share the Bacula Catalog Database ]%>" StepType="Auto">
<p><%[ Do you want to setup and to share the Bacula Catalog Database access for this API instance? ]%></p>
- <div class="line">
+ <div class="line left">
<com:TRadioButton ID="DatabaseNo" GroupName="SelectDatabase" Attributes.onclick="$('#configure_database').hide();" /> <com:TLabel ForControl="DatabaseNo" Text="<%[ No ]%>" />
</div>
- <div class="line">
+ <div class="line left">
<com:TRadioButton ID="DatabaseYes" GroupName="SelectDatabase" Attributes.onclick="$('#configure_database').show();" /> <com:TLabel ForControl="DatabaseYes" Text="<%[ Yes ]%>" />
</div>
<div id="configure_database" style="display: <%=($this->DatabaseYes->Checked === true) ? '' : 'none';%>">
</com:TWizardStep>
<com:TWizardStep ID="Step3" Title="<%[ Step 3 - share the Bacula Bconsole commands interface ]%>" StepType="Auto">
<p><%[ Do you want to setup and share the Bacula Bconsole interface to execute commands in this API instance? ]%></p>
- <div class="line">
+ <div class="line left">
<com:TRadioButton ID="ConsoleNo" GroupName="SelectConsole" Attributes.onclick="$('#configure_console').hide();" /> <com:TLabel ForControl="ConsoleNo" Text="<%[ No ]%>" />
</div>
- <div class="line">
+ <div class="line left">
<com:TRadioButton ID="ConsoleYes" GroupName="SelectConsole" Attributes.onclick="$('#configure_console').show();" /> <com:TLabel ForControl="ConsoleYes" Text="<%[ Yes ]%>" />
</div>
<div id="configure_console" style="display: <%=($this->ConsoleYes->Checked === true) ? '' : 'none';%>">
</table>
</div>
</div>
- <div class="line">
+ <div class="line left">
<span><b><%[ NOTE! ]%></b><br /><em><%[ Baculum needs access to bconsole by the web server. ]%></em></span>
</div>
</div>
</com:TWizardStep>
<com:TWizardStep ID="Step4" Title="<%[ Step 4 - share the Bacula configuration interface ]%>" StepType="Auto">
<p><%[ Do you want to setup and share the Bacula configuration interface to configure Bacula components via this API instance? ]%></p>
- <div class="line">
+ <div class="line left">
<com:TRadioButton ID="ConfigNo" GroupName="SelectConfig" Attributes.onclick="$('#configure_config').hide();" /> <com:TLabel ForControl="ConfigNo" Text="<%[ No ]%>" />
</div>
- <div class="line">
+ <div class="line left">
<com:TRadioButton ID="ConfigYes" GroupName="SelectConfig" Attributes.onclick="$('#configure_config').show();" /> <com:TLabel ForControl="ConfigYes" Text="<%[ Yes ]%>" />
</div>
- <div id="configure_config" style="display: <%=($this->ConfigYes->Checked === true) ? '' : 'none';%>">
+ <div id="configure_config" style="display: <%=($this->ConfigYes->Checked === true) ? 'block' : 'none';%>">
<div id="config_fields">
<fieldset class="config_field">
<legend><%[ General configuration ]%></legend>
<div class="config_lines">
- <div class="line">
+ <div class="line left">
<div class="text"><com:TLabel ForControl="BConfigDir" Text="<%[ Directory path for new config files: ]%>" /></div>
<div class="field">
<com:TRequiredFieldValidator ValidationGroup="ConfigGroup" ControlToValidate="BConfigDir" Display="Dynamic" Text="<%[ Directory path field is required. ]%>" />
<com:TTextBox ID="BConfigDir" CssClass="textbox" />
</div>
</div>
- <div class="line">
+ <div class="line left">
<div class="text"><com:TLabel ForControl="BJSONUseSudo" Text="<%[ Use sudo: ]%>" /></div>
<div class="field">
<com:TCheckBox ID="BJSONUseSudo" />
<fieldset class="config_field">
<legend>Director</legend>
<div class="config_lines">
- <div class="line">
+ <div class="line left">
<div class="text"><com:TLabel ForControl="BDirJSONPath" Text="<%[ bdirjson binary file path: ]%>" /></div>
<div class="field">
<com:TCustomValidator ValidationGroup="ConfigGroup" ControlToValidate="BDirJSONPath" ClientValidationFunction="bjsontools_validator" Display="Dynamic" Text="<%[ There is required to provide both binary file and config file paths. ]%>" />
<com:TTextBox ID="BDirJSONPath" CssClass="textbox" />
</div>
</div>
- <div class="line">
+ <div class="line left">
<div class="text"><com:TLabel ForControl="DirCfgPath" Text="<%[ Main Director config file path (usually bacula-dir.conf): ]%>" /></div>
<div class="field">
<com:TCustomValidator ValidationGroup="ConfigGroup" ControlToValidate="DirCfgPath" ClientValidationFunction="bjsontools_validator" Display="Dynamic" Text="<%[ There is required to provide both binary file and config file paths. ]%>" />
<fieldset class="config_field">
<legend>Storage Daemon</legend>
<div class="config_lines">
- <div class="line">
+ <div class="line left">
<div class="text"><com:TLabel ForControl="BSdJSONPath" Text="<%[ bsdjson binary file path: ]%>" /></div>
<div class="field">
<com:TCustomValidator ValidationGroup="ConfigGroup" ControlToValidate="BSdJSONPath" ClientValidationFunction="bjsontools_validator" Display="Dynamic" Text="<%[ There is required to provide both binary file and config file paths. ]%>" />
<com:TTextBox ID="BSdJSONPath" CssClass="textbox" />
</div>
</div>
- <div class="line">
+ <div class="line left">
<div class="text"><com:TLabel ForControl="SdCfgPath" Text="<%[ Main Storage Daemon config file path (usually bacula-sd.conf): ]%>" /></div>
<div class="field">
<com:TCustomValidator ValidationGroup="ConfigGroup" ControlToValidate="SdCfgPath" ClientValidationFunction="bjsontools_validator" Display="Dynamic" Text="<%[ There is required to provide both binary file and config file paths. ]%>" />
<fieldset class="config_field">
<legend>File Daemon/Client</legend>
<div class="config_lines">
- <div class="line">
+ <div class="line left">
<div class="text"><com:TLabel ForControl="BFdJSONPath" Text="<%[ bfdjson binary file path: ]%>" /></div>
<div class="field">
<com:TCustomValidator ValidationGroup="ConfigGroup" ControlToValidate="BFdJSONPath" ClientValidationFunction="bjsontools_validator" Display="Dynamic" Text="<%[ There is required to provide both binary file and config file paths. ]%>" />
<com:TTextBox ID="BFdJSONPath" CssClass="textbox" />
</div>
</div>
- <div class="line">
+ <div class="line left">
<div class="text"><com:TLabel ForControl="FdCfgPath" Text="<%[ Main File Daemon config file path (usually bacula-fd.conf): ]%>" /></div>
<div class="field">
<com:TCustomValidator ValidationGroup="ConfigGroup" ControlToValidate="FdCfgPath" ClientValidationFunction="bjsontools_validator" Display="Dynamic" Text="<%[ There is required to provide both binary file and config file paths. ]%>" />
<fieldset class="config_field">
<legend>Bconsole</legend>
<div class="config_lines">
- <div class="line">
+ <div class="line left">
<div class="text"><com:TLabel ForControl="BBconsJSONPath" Text="<%[ bbconsjson binary file path: ]%>" /></div>
<div class="field">
<com:TCustomValidator ValidationGroup="ConfigGroup" ControlToValidate="BBconsJSONPath" ClientValidationFunction="bjsontools_validator" Display="Dynamic" Text="<%[ There is required to provide both binary file and config file paths. ]%>" />
<com:TTextBox ID="BBconsJSONPath" CssClass="textbox" />
</div>
</div>
- <div class="line">
+ <div class="line left">
<div class="text"><com:TLabel ForControl="BconsCfgPath" Text="<%[ Admin Bconsole config file path (usually bconsole.conf): ]%>" /></div>
<div class="field">
<com:TCustomValidator ValidationGroup="ConfigGroup" ControlToValidate="BconsCfgPath" ClientValidationFunction="bjsontools_validator" Display="Dynamic" Text="<%[ There is required to provide both binary file and config file paths. ]%>" />
</div>
</com:TWizardStep>
<com:TWizardStep ID="Step5" Title="<%[ Step 5 - authorization to API ]%>" StepType="Auto">
- <div class="line">
+ <div class="line left" style="width:500px; margin: 0 auto">
<com:TActiveRadioButton
ID="AuthOAuth2"
GroupName="SelectAuth"
Text="<%[ Use OAuth2 for authorization and authentication ]%>"
/>
</div>
- <div class="line">
+ <div class="line left" style="width:500px; margin: 0 auto">
<com:TActiveRadioButton
ID="AuthBasic"
GroupName="SelectAuth"
.wizard {
+ min-height: 547px;
+ width: 1024px;
margin: 50px auto;
- height: 547px;
- width: 752px;
font-family: Arial;
color: white;
- }
-
+ background-color: #585756;
+ background-image: url('step-head.png');
+ background-repeat: repeat-x;
+ border: 1px solid black;
+ border-radius: 15px;
+}
+
.steps {
padding: 8px 20px;
- min-height: 435px;
- background-image: url('wizard-content.png');
- background-repeat: repeat-y;
- }
+}
-.steps-bar {
- background-image: url('step-bar.png');
- background-repeat: no-repeat;
- }
+.steps div.line {
+ text-align: center;
+}
+.steps div.text, .steps div.field {
+ display: inline-block;
+ text-align: left;
+}
+
+.steps div.field {
+ width: 420px;
+}
+
.navigation {
text-align: center;
padding: 5px 0;
- background-image: url('wizard-bottom.png');
- background-repeat: no-repeat;
+ background-image: url('wizard-bottom-1.png');
+ background-repeat: repeat-x;
+ border-bottom-left-radius: 14px;
+ border-bottom-right-radius: 14px;
}
.step {
.step-last {
width: 130px;
- background-image: url('step-last.png');
+ background-image: url('step-last-1.png');
}
.step-last-active {
width: 130px;
- background-image: url('step-last-active.png');
+ background-image: url('step-last-active-1.png');
}
.step-last-next-active{
background-image: url('step-prev-active.png');
}
-#licence {
- width: 650px;
- height: 300px;
- overflow: auto;
- border: 1px solid gray;
- margin: auto;
- padding: 5px;
-}
-
#title {
clear: left;
font-size: 14px;
font-weight: bold;
- background-image: url('wizard-header.png');
- background-repeat: no-repeat;
- padding: 4px;
-}
-
-#licence-agree {
- width: 670px;
- margin: 10px auto;
-}
-
-#restore-browser {
- width: 100%;
- height: 100%;
-}
-
-#restore-browser-files {
- width: 315px;
- height: 434px;
-}
-
-#restore-browser-files, #restore-browser-versions, #restore-browser-selected {
- overflow: auto;
- width: 339px;
- background-color: white;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
+ background-image: url('wizard-header-1.png');
+ background-repeat: repeat-x;
padding: 4px;
- -moz-user-select: -moz-none;
- -webkit-user-select: none;
- -ms-user-select: none;
-}
-
-#restore-browser-files {
- height: 430px;
-}
-
-#restore-browser-versions {
- height: 206px;
-}
-
-#restore-browser-selected {
- height: 206px;
-}
-
-#restore-browser-files-loading {
- position: absolute;
- z-index: 10;
- width: 347px;
- height: 438px;
- border-radius: 4px;
- background: rgba(182,182,182,0.7) url('progress.gif') no-repeat center center;
-}
-
-.file-browser-watermark {
- padding: 64px 10px;
- text-align: center;
- font-size: 21px;
- color: rgb(185, 184, 184);
}
div.button-cancel {