<div class="guide-third-step">
    <div class="pro-install" ng-class="{'hidden':$ctrl.data.info.installing}">
        <div class="install-head">
            <p>{{'0040'|translate}}<span ng-class="{'error':!$ctrl.data.interaction.response.query.fileWrite,'ok':!!$ctrl.data.interaction.response.query.fileWrite}">{{$ctrl.data.info.check.fileWrite}}</span></p>
            <p ng-class="{'hidden':!!$ctrl.data.interaction.response.query.fileWrite}" class="errorTips">{{'0041'|translate}}</p>
            <p ng-class="{'hidden':!!$ctrl.data.interaction.response.query.fileWrite}" class="errorTips">{{'00415'|translate}}{{$ctrl.data.interaction.response.query.fileWriteError}}</p>

            <p>{{'0042'|translate}}<span ng-class="{'error':!$ctrl.data.interaction.response.query.db,'ok':!!$ctrl.data.interaction.response.query.db}">{{$ctrl.data.info.check.db}}</span></p>
            <p ng-class="{'hidden':!!$ctrl.data.interaction.response.query.db}" class="errorTips">{{'0043'|translate}}</p>
            <p ng-class="{'hidden':!!$ctrl.data.interaction.response.query.db}" class="errorTips">{{'00415'|translate}}{{$ctrl.data.interaction.response.query.dbError}}</p>

            <p>{{'0044'|translate}}<span ng-class="{'error':!$ctrl.data.interaction.response.query.curl,'ok':!!$ctrl.data.interaction.response.query.curl}">{{$ctrl.data.info.check.curl}}</span></p>
            <p ng-class="{'hidden':!!$ctrl.data.interaction.response.query.curl}" class="errorTips">{{'0045'|translate}}</p>
            <p ng-class="{'hidden':!!$ctrl.data.interaction.response.query.curl}" class="errorTips">{{'00415'|translate}}{{$ctrl.data.interaction.response.query.curlError}}</p>

            <p>{{'00411'|translate}}<span ng-class="{'error':!$ctrl.data.interaction.response.query.mbString,'ok':!!$ctrl.data.interaction.response.query.mbString}">{{$ctrl.data.info.check.mbString}}</span></p>
            <p ng-class="{'hidden':!!$ctrl.data.interaction.response.query.mbString}" class="errorTips">{{'00412'|translate}}</p>
            <p ng-class="{'hidden':!!$ctrl.data.interaction.response.query.mbString}" class="errorTips">{{'00415'|translate}}{{$ctrl.data.interaction.response.query.mbStringError}}</p>

            <p>{{'00413'|translate}}<span ng-class="{'error':!$ctrl.data.interaction.response.query.sessionPath,'ok':!!$ctrl.data.interaction.response.query.sessionPath}">{{$ctrl.data.info.check.sessionPath}}</span></p>
            <p ng-class="{'hidden':!!$ctrl.data.interaction.response.query.sessionPath}" class="errorTips">{{'00414'|translate}}</p>
            <p ng-class="{'hidden':!!$ctrl.data.interaction.response.query.sessionPath}" class="errorTips">{{'00415'|translate}}{{$ctrl.data.interaction.response.query.sessionPathError}}</p>
        </div>
        <div ng-class="{'hidden':!$ctrl.data.interaction.response.query.curl||!$ctrl.data.interaction.response.query.db||!$ctrl.data.interaction.response.query.fileWrite||!$ctrl.data.interaction.response.query.mbString||!$ctrl.data.interaction.response.query.sessionPath}">
            <button class="eo-button-success guide-button" data-ng-click='$ctrl.data.fun.install()'>{{'0046'|translate}}
                <span class="iconfont icon-xiangyou pull-right"></span>
            </button>
        </div>
        <div class="failCheck" ng-class="{'hidden':$ctrl.data.interaction.response.query.curl&&$ctrl.data.interaction.response.query.db&&$ctrl.data.interaction.response.query.fileWrite}">
            <button class="eo-button-success" data-ng-click='$ctrl.data.fun.checkConfig()'>{{'0047'|translate}}
                <span class="iconfont icon-shuaxin pull-right"></span>
            </button>
            <a ui-sref="guide.second_step"><button class="eo-button-success">{{'0048'|translate}}
                <span class="iconfont icon-xiangzuo pull-right"></span>
            </button></a>
        </div>
    </div>
    <div class="installing" ng-class="{'hidden':!$ctrl.data.info.installing}">
        <div class="installing-wrap">
            <div class="icon-wrap">
                <span class="iconfont icon-loading1"></span>
            </div>
            <p>{{'0049'|translate}}</p>
        </div>
    </div>
</div>
