<?php


$accessControl = array("Admin" => true);
require_once '../../AccessControl.php';

$apipath = getGlobalSetting("CloudManagerAPI","");
$apicall = getGlobalSetting("CloudManagerCall","");
?>


						<div class="import-response">

							<div class="callout-danger-template callout callout-danger" style="display:none;">								
								<h4></h4>								
							</div>

							<div class="callout-success-template callout callout-success" style="display:none;">								
								<h4></h4>								
							</div>

						</div>

                    	<div class="box box-solid box-primary">
                            <div class="box-header">
                                <h3 class="box-title"><?php echo _CLUSTER_MANAGER; ?></h3>
                                
                            </div><!-- /.box-header -->

                            <div class="box-body">

								<form method='POST'>

								<div class="form-group">
									<label for="cloudapipath"><?php echo _CLUSTER_API_DIR; ?>:</label>
                                    <div class="input-group">	                                        
                                        <span class="input-group-addon cloudapipath"><i class="fa fa-exclamation-triangle"></i></span>
                                        <input type=text name="cloudapipath" id="cloudapipath" value="<?php echo $apipath; ?>" class='form-control' placeholder="<?php echo _CLUSTER_API_PLACEHOLDER; ?>">
                                    </div>
                                </div>

                                <button class="btn btn-danger uninstallbutton" style="display:none;"><?php echo _UNINSTALL_CLUSTER_MANAGER; ?></button>
                                <button class="btn btn-primary installbutton disabled"><?php echo _INSTALL_CLUSTER_MANAGER; ?></button>
                                &nbsp;
								<a class="btn btn-success downloadbutton" href="https://www.logaholic.com/cluster-manager/" target="_blank"><?php echo _DOWNLOAD_CLUSTER_MANAGER; ?></a>
								</form>

								<div style="clear:both">
                                    &nbsp;<br />&nbsp;
                                </div>

                                <div class="alert alert-info"><i class="fa fa-info"></i><?php echo _CLUSTER_MANAGER_INFO; ?></div>  
								<div class="alert alert-danger"><i class="fa fa-info"></i><?php echo _CLUSTER_MANAGER_DANGER; ?></div>	                              

                            </div><!-- /.box-body -->
                        </div><!-- /.box -->   