<%@ MasterClass="Application.Layouts.Wizard" Theme="Baculum-v1"%>
<%=$this->Parent->ActiveStep->Title%>
getPage()->firstRun === false ? 'class="button-prev-next"' : ''%>>
getPage()->firstRun === false ? 'class="button-prev-next"' : ''%>>
getPage()->firstRun === false ? 'class="button-prev-next"' : ''%>>

Element.hide('<%=$this->DbTestResultOk->ClientID%>'); Element.hide('<%=$this->DbTestResultErr->ClientID%>'); Element.show('<%=$this->DbTestLoader->ClientID%>'); Element.hide('<%=$this->DbTestLoader->ClientID%>'); <%[ Loading... ]%> Validate <%[ OK ]%> Invalidate <%[ Connection error ]%>
Element.hide('<%=$this->BconsoleTestResultOk->ClientID%>'); Element.hide('<%=$this->BconsoleTestResultErr->ClientID%>'); Element.show('<%=$this->BconsoleTestLoader->ClientID%>'); Element.hide('<%=$this->BconsoleTestLoader->ClientID%>'); <%[ Loading... ]%> Validate <%[ OK ]%> Invalidate <%[ Connection error ]%>

<%[ NOTE! ]%>
<%[ Baculum needs access to bconsole by the web server. ]%>


<%[ For need defining more Baculum users with custom access or restricted console access (Bconsole ACLs) here is possible to determine custom bconsole configuration file format for each user. ]%>

<%[ If there is used only one Baculum user then below field value will be ignored. ]%>

<%[ NOTE! ]%>
<%[ {user} keyword will be replaced for each logged user into according username. ]%>

<%[ NOTE! ]%>
<%[ Above administration login and administration password will be used for login as administrator to Baculum WebGUI. They are your HTTP Basic authorization params by using which you will be logged in to Baculum. ]%>

<%[ NOTE! ]%>
<%[ In case when you use your selected HTTP Basic auth backend and in particular manual Baculum installation from source tar.gz archive, in above fields you need to provide your defined login and password which you used for access to this wizard. ]%>

<%[ Database parameters ]%>
<%[ Database type: ]%>
<%=$this->getModule('configuration')->getDbNameByType($this->DBType->SelectedValue)%>
<%[ Database name: ]%>
<%=$this->DBName->Text%>
<%[ Login: ]%>
<%=$this->getModule('configuration')->isSQLiteType($this->DBType->SelectedValue) === false ? $this->Login->Text : '-'%>
<%[ Password: ]%>
<%=$this->getModule('configuration')->isSQLiteType($this->DBType->SelectedValue) === false ? preg_replace('/.{1}/', '*', $this->Password->Text) : '-'%>
<%[ IP address (or hostname): ]%>
<%=$this->getModule('configuration')->isSQLiteType($this->DBType->SelectedValue) === false ? $this->IP->Text : '-'%>
<%[ Database port: ]%>
<%=$this->getModule('configuration')->isSQLiteType($this->DBType->SelectedValue) === false ? $this->Port->Text : '-'%>
<%[ Database file path (SQLite only): ]%>
<%=$this->getModule('configuration')->isSQLiteType($this->DBType->SelectedValue) === true ? $this->DBPath->Text : '-'%>
<%[ Bconsole access ]%>
<%[ Bconsole binary file path: ]%>
<%=$this->BconsolePath->Text%>
<%[ Bconsole admin config file path: ]%>
<%=$this->BconsoleConfigPath->Text%>
<%[ Bconsole custom config file path: ]%>
<%=$this->BconsoleConfigCustomPath->Text%>
<%[ Use sudo for bconsole requests: ]%>
<%=($this->UseSudo->Checked === true) ? 'yes' : 'no'%>
<%[ Authorization to Baculum panel ]%>
<%[ Administration login: ]%>
<%=$this->PanelLogin->Text%>
<%[ Administration password: ]%>
<%=preg_replace('/.{1}/', '*', $this->PanelPassword->Text)%>