<ol class="jstreeWrapper" ng-if="nodes.length > 0">
    <li ng-repeat="node in nodes" tabindex="{{$index}}" ng-include="'' + nodeTemplateId + ''"></li>
</ol>
<div ng-if="showAllowCopyingMessage == true">
    <div ng-if="copyingEnabled == false">
        <div class="margin-right">
            In order to use the policy analyzer, we must copy your <code>/var/cfengine/masterfiles</code> directory
            to the Mission Portal apache server, and serve it over HTTPS. An agent run will be triggered automatically.
        </div>
        <button class="btn btn-large btn-primary margin-bottom margin-top" ng-click="allowCopying()">Enable Policy
            Analyzer
        </button>
    </div>
    <div class="margin-top margin-bottom margin-right" ng-if="copyingEnabled == true">
        The policy that copies the required files will now be executed and the policy analyzer will be activated
        shortly. Please reload this page in a few minutes.
    </div>
</div>
