Edit file File name : main.html Content : <div ng-controller="A2OptMainController"> <div ng-if="loading" id="overlay"></div> <div> <div sticky offset="200" style="width:100%;position:absolute;left:0px;top:100px;z-index:999999" > <span ng-if="loading" us-spinner="{radius:50, width:10, length: 30}"></span> </div> </div> <div > <div sticky offset="5" style="width:300px;position:absolute;top:5px;right:5px;z-index:99999" > <alert ng-if="alerts.length != 0" ng-repeat="alert in alerts" class="{{alert.class}}" type="{{alert.type}}" ng-bind-html="alert.message"></alert> </div> </div> <div ng-controller="A2OptAppController" style="padding:10px;width:763px" > <div ng-class="{'paper_lantern_header':(theme == 'paper_lantern')}"> <div style="clear:both"> <button class="btn btn-sm btn-default" ng-click="back();"><span class="glyphicon glyphicon-arrow-left"></span></button> <button class="btn btn-sm btn-default" ng-click="forward();"><span class="glyphicon glyphicon-arrow-right"></span></button> </div> <div style="clear:both"> <a style="cursor:pointer" ng-click="set_currentController('A2 Optimized');set_selectedApp(null,false);" ><img src="resources/images/a2optimized.png" class="pull-left" ></a> <label class="btn btn-success pull-right" style="margin: 10px;" ><a target="_blank" href="https://my.a2hosting.com/a2-suggestion-box.php" style="color:#FFFFFF;text-decoration: none"><span class="glyphicon glyphicon-envelope" ></span> Feedback</a></label> </div> </div> <div style="clear:both;padding:15px;" > <h4>A2 Optimized</h4> <p> This interface provides tools for users to quickly identify and fix optimization issues for many applications. A2 Optimized works with the following Applications: </p> <table style="width:100%"> <tr class="row"> <td style="text-align: center" ng-repeat="(cms,logo) in app_logos"><img ng-src="resources/app_logos/{{logo}}" alt="{{cms}}" title="{{cms}}" /></td> </tr> </table> </div> <div style="clear:both"> <!--<script type="text/ng-template" id="/swiftcache.tpl" > <label style="font-size: 100% !important; display:block !important;" class="label" ng-class="{'label-primary':(currentController == 'SwiftCache'), 'label-default':(currentController != 'SwiftCache')}" ng-click="set_currentController('SwiftCache');">SwiftCache</label> </script> <script type="text/ng-template" id="/optimize.tpl" > <label style="font-size: 100% !important; display:block !important;" class="label" ng-class="{'label-primary':(currentController == 'Optimize'), 'label-default':(currentController != 'Optimize')}" ng-click="set_currentController('Optimize');">Optimize</label> </script> <script type="text/ng-template" id="/overview.tpl" > <label style="font-size: 100% !important; display:block !important;" class="label" ng-class="{'label-primary':(currentController == 'Overview'), 'label-default':(currentController != 'Overview')}" ng-click="set_currentController('Overview');">Overview</label> </script>--> <div ng-include="'html_templates/AppList.html'" ></div> <div class="pull-left" style="width:513px;margin-left:10px;z-index:0"> <ng-include src="'html_templates/Default.html'" ></ng-include> <ng-include src="'html_templates/SwiftCache.html'" ></ng-include> <ng-include src="'html_templates/Optimize.html'" ></ng-include> <ng-include src="'html_templates/Overview.html'"></ng-include> <ng-include src="'html_templates/Backup.html'"></ng-include> </div> <div class="clearfix"></div> </div> <script type="text/ng-template" id="Login.html"> <div class="modal-header" > <h3 class="modal-title">Log In!</h3> </div> <div ng-init="init()" ></div> <div class="modal-body" ng-if="token == null"> <div style="width:100%;height:60px;"> <div style="float:left;height:60px;"> Please wait while we generate a URL to log you in. </div> <div style="height:60px;width:100px;float:left;position:relative"> <span us-spinner="{radius:10, width:5, length: 6}"></span> </div> </div> </div> <div class="modal-body" ng-if="token != null"> By clicking <b>Log me in to my site</b>. you will be redirected to your administration panel and automatically logged in.<br> This link will be valid for up to 30 seconds. </div> <div class="modal-body" ng-if="token_error"> There was an error generating a login token. </div> <div class="modal-footer"> <button class="btn btn-primary" ng-click="login_ok()" ng-if="token != null">Log me in to my site</button> <button class="btn btn-warning" ng-click="cancel()">Cancel</button> </div> </script> </div> <div class="pull-right"> <p style="padding-right: 10px"> {{vars.version}} </p> </div> </div> <script type="text/ng-template" id="InstallApp.html"> <div class="modal-header"> <h3 class="modal-title">Install a New Application!</h3> </div> <div class="modal-body" ng-init="init()"> By clicking <b>Go to Softaculous</b>. You will be taken to the <b>Softaculous App Installer</b>.<br> A2 Optimized will automatically find new installations of compatible apps. </div> <div class="modal-footer"> <button class="btn btn-primary" ng-click="install_app_ok()">Go to Softaculous</button> <button class="btn btn-warning" ng-click="cancel()">Cancel</button> </div> </script> Save