|
| 1 | +{% extends "baseTemplate/index.html" %} |
| 2 | +{% load i18n %} |
| 3 | +{% block title %}{% trans "Not available - CyberPanel" %}{% endblock %} |
| 4 | +{% block content %} |
| 5 | + |
| 6 | + {% load static %} |
| 7 | + {% get_current_language as LANGUAGE_CODE %} |
| 8 | + <!-- Current language: {{ LANGUAGE_CODE }} --> |
| 9 | + |
| 10 | + |
| 11 | + <div class="container"> |
| 12 | + <div id="page-title"> |
| 13 | + <h2>{% trans "Not available" %}</h2> |
| 14 | + <p>{% trans "Either Imunify is not installed or you are not on CloudLinux OS." %}</p> |
| 15 | + </div> |
| 16 | + |
| 17 | + {% if not CL %} |
| 18 | + |
| 19 | + <div class="row"> |
| 20 | + <div class="col-sm-12"> |
| 21 | + <div class="alert alert-danger"> |
| 22 | + <p>{% trans "CloudLinux is not installed on your server." %} <a target="_blank" |
| 23 | + href="https://go.cyberpanel.net/CLConvert">Click |
| 24 | + Here</a> {% trans " for conversion details." %}</p> |
| 25 | + </div> |
| 26 | + </div> |
| 27 | + </div> |
| 28 | + |
| 29 | + {% else %} |
| 30 | + |
| 31 | + <div ng-controller="installCageFS" class="panel"> |
| 32 | + <div class="panel-body"> |
| 33 | + <h3 class="title-hero"> |
| 34 | + {% trans "Activate Now" %} <img ng-hide="installDockerStatus" |
| 35 | + src="{% static 'images/loading.gif' %}"> |
| 36 | + </h3> |
| 37 | + <div class="example-box-wrapper"> |
| 38 | + |
| 39 | + <p>{% trans "CloudLinux is installed, but not activated." %}</p> |
| 40 | + <!------ LSWS Switch box -----------------> |
| 41 | + |
| 42 | + <div style="margin-top: 2%" ng-hide="installBoxGen" class="col-md-12"> |
| 43 | + |
| 44 | + <form action="/" id="" class="form-horizontal bordered-row"> |
| 45 | + <div class="form-group"> |
| 46 | + <div style="margin-top: 2%;" class="col-sm-12"> |
| 47 | + <textarea ng-model="requestData" rows="15" |
| 48 | + class="form-control">{{ requestData }}</textarea> |
| 49 | + </div> |
| 50 | + </div> |
| 51 | + </form> |
| 52 | + </div> |
| 53 | + |
| 54 | + |
| 55 | + <!----- LSWS Switch box -----------------> |
| 56 | + <br> |
| 57 | + <button ng-hide="dockerInstallBTN" class="btn btn-primary" ng-click="submitCageFSInstall()">Activate Now</button> |
| 58 | + |
| 59 | + </div> |
| 60 | + </div> |
| 61 | + </div> |
| 62 | + |
| 63 | + {% endif %} |
| 64 | + |
| 65 | + </div> |
| 66 | +{% endblock %} |
| 67 | + |
0 commit comments