File manager - Edit - /usr/local/CyberCP/cyberpanel/websiteFunctions/templates/websiteFunctions/createWebsite.html
Back
{% extends "baseTemplate/index.html" %} {% load i18n %} {% block title %}{% trans "Create New Website - CyberPanel" %}{% endblock %} {% block content %} {% load static %} {% get_current_language as LANGUAGE_CODE %} <!-- Current language: {{ LANGUAGE_CODE }} --> <style> .switch { margin-top: 7px; margin-left: 12px; position: relative; display: inline-block; width: 32px; height: 19px; border-radius: 10%; } .switch input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; -webkit-transition: .4s; transition: .4s; border-radius: 10%; } .slider:before { position: absolute; content: ""; height: 11px; width: 12px; left: 4px; bottom: 4px; background-color: white; -webkit-transition: .4s; transition: .4s; border-radius: 20%; } input:checked + .slider { background-color: #2196F3; } input:focus + .slider { box-shadow: 0 0 2px #2196F3; } input:checked + .slider:before { -webkit-transform: translateX(12px); -ms-transform: translateX(12px); transform: translateX(12px); } .help_test_domain { background-color: black; padding: 10px; display: none; opacity: 0.7; position: absolute; z-index: 9; text-align: justify; } #help:hover + .help_test_domain { display: block; display: inline-block; color: white; font-weight: lighter; font-size: small; border-radius: 5px; width: 200px; {#height: auto;#} } </style> <div class="container"> <div id="page-title"> <h2>{% trans "Create Website" %}</h2> <p>{% trans "On this page you can launch, list, modify and delete websites from your server." %}</p> </div> <div ng-controller="createWebsite" class="panel"> <div class="panel-body"> <h3 class="content-box-header"> {% trans "Website Details" %} <img ng-hide="webSiteCreationLoading" src="{% static 'images/loading.gif' %}"> </h3> <div class="example-box-wrapper"> <form name="websiteCreationForm" action="/" id="createPackages" class="form-horizontal bordered-row panel-body"> <div ng-hide="installationDetailsForm" class="form-group"> <label class="col-sm-3 control-label">{% trans "Select Package" %}</label> <div class="col-sm-6"> <select ng-model="packageForWebsite" class="form-control"> {% for items in packageList %} <option>{{ items }}</option> {% endfor %} </select> </div> </div> <div ng-hide="installationDetailsForm" class="form-group"> <label class="col-sm-3 control-label">{% trans "Select Owner" %}</label> <div class="col-sm-6"> <select ng-model="websiteOwner" class="form-control"> {% for items in owernList %} <option>{{ items }}</option> {% endfor %} </select> </div> </div> <div ng-hide="installationDetailsForm" class="form-group"> <label class="col-sm-3 control-label">{% trans "Domain Name" %}</label> <div class="col-sm-6"> <input name="dom" type="text" class="form-control" ng-model="domainNameCreate" placeholder="{% trans "Do not enter WWW, it will be auto created!" %}" required> </div> <div ng-show="websiteCreationForm.dom.$error.pattern" class="current-pack">{% trans "Invalid Domain (Note: You don't need to add 'http' or 'https')" %}</div> </div> <div ng-hide="installationDetailsForm" class="form-group"> <label class="col-sm-3 control-label">{% trans "Email" %}</label> <div class="col-sm-6"> <input type="email" name="email" class="form-control" ng-model="adminEmail" required> </div> <div ng-show="websiteCreationForm.email.$error.email" class="current-pack">{% trans "Invalid Email" %}</div> </div> <div ng-hide="installationDetailsForm" class="form-group"> <label class="col-sm-3 control-label">{% trans "Select PHP" %}</label> <div class="col-sm-6"> <select ng-model="phpSelection" class="form-control"> {% for php in phps %} <option>{{ php }}</option> {% endfor %} </select> </div> </div> <div ng-hide="installationDetailsForm" class="form-group"> {# <label class="col-sm-3 control-label">{% trans "Additional Features" %}</label>#} {# <div class="col-sm-9">#} {# <div class="checkbox">#} {# <label>#} {# <input ng-model="sslCheck" type="checkbox" value="">#} {# SSL#} {# </label>#} {# </div>#} {# </div>#} <label class="col-sm-3 control-label"></label> <div class="col-sm-9"> <div class="checkbox"> <label> {% if test_domain_data %} <input ng-model="apacheBackend" type="checkbox" value=""> OpenLiteSpeed + Apache (Backend) (For Ubuntu 22, AlmaLinux 8 and AlmaLinux 9.) {% else %} <input ng-model="apacheBackend" type="checkbox" value="" disabled> OpenLiteSpeed + Apache (Backend) (For Ubuntu 22, AlmaLinux 8 and AlmaLinux 9.) - <strong><a href="https://go.cyberpanel.net/ApacheRev">Premium Feature</a> <i class="p fa fa-external-link btn-icon"> </i></strong> {% endif %} </label> </div> </div> {# <label class="col-sm-3 control-label"></label>#} {# <div class="col-sm-9">#} {# <div class="checkbox">#} {# <label>#} {# <input ng-model="openBasedir" type="checkbox" value="">#} {# open_basedir Protection#} {# </label>#} {# </div>#} {# </div>#} <label class="col-sm-3 control-label"></label> <div class="col-sm-9"> <div class="checkbox"> <label> <input ng-model="mailDomain" type="checkbox" value=""> Create Mail Domain </label> </div> </div> </div> <div ng-hide="installationDetailsForm" class="form-group"> <label class="col-sm-3 control-label"></label> <div class="col-sm-4"> <button ng-disabled="websiteCreationForm.dom.$error.required || websiteCreationForm.email.$invalid" type="button" ng-click="createWebsite()" class="btn btn-primary btn-lg">{% trans "Create Website" %}</button> </div> </div> <div ng-hide="installationProgress" class="form-group"> <label class="col-sm-2 control-label"></label> <div class="col-sm-7"> <div class="alert alert-success text-center"> <h2>{$ currentStatus $}</h2> </div> <div class="progress"> <div id="installProgress" class="progress-bar" role="progressbar" aria-valuenow="70" aria-valuemin="0" aria-valuemax="100" style="width:0%"> <span class="sr-only">70% Complete</span> </div> </div> <div ng-hide="errorMessageBox" class="alert alert-danger"> <p>{% trans "Error message:" %} {$ errorMessage $}</p> </div> <div ng-hide="success" class="alert alert-success"> <p>{% trans "Website succesfully created." %}</p> </div> <div ng-hide="couldNotConnect" class="alert alert-danger"> <p>{% trans "Could not connect to server. Please refresh this page." %}</p> </div> </div> </div> <div ng-hide="installationProgress" class="form-group"> <label class="col-sm-3 control-label"></label> <div class="col-sm-4"> <button type="button" ng-disabled="goBackDisable" ng-click="goBack()" class="btn btn-primary btn-lg">{% trans "Go Back" %}</button> </div> </div> </form> </div> </div> </div> </div> {% endblock %}
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings