mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 22:06:05 +01:00
pricingpage
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
|
||||
/* Utilities */
|
||||
|
||||
|
||||
|
||||
function getCookie(name) {
|
||||
var cookieValue = null;
|
||||
if (document.cookie && document.cookie !== '') {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{% get_current_language as LANGUAGE_CODE %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" ng-app="CyberCP">
|
||||
<head>
|
||||
<head>
|
||||
|
||||
<style>
|
||||
/* Loading Spinner */
|
||||
@@ -105,6 +105,7 @@
|
||||
</script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/flot-charts@0.8.3/jquery.flot.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.flot@0.8.3/jquery.flot.time.js"></script>
|
||||
<script async src="https://js.stripe.com/v3/pricing-table.js"></script>
|
||||
|
||||
{% block header_scripts %}
|
||||
{% endblock %}
|
||||
@@ -274,7 +275,8 @@
|
||||
{# </div>#}
|
||||
{# </div>#}
|
||||
{# </div>#}
|
||||
<a class="header-btn" target="_blank" href="https://www.youtube.com/channel/UCS6sgUWEhaFl1TO238Ck0xw?sub_confirmation=1"
|
||||
<a class="header-btn" target="_blank"
|
||||
href="https://www.youtube.com/channel/UCS6sgUWEhaFl1TO238Ck0xw?sub_confirmation=1"
|
||||
title="{% trans 'Youtube Channel' %}">
|
||||
<i class="glyph-icon icon-youtube"></i>
|
||||
</a>
|
||||
@@ -300,12 +302,14 @@
|
||||
<ul id="sidebar-menu">
|
||||
<li class="header"><span>{% trans "Overview" %}</span></li>
|
||||
<li>
|
||||
<a id="sidebar-menu-item-server-ip-address" href="#" title="{% trans 'Server IP Address' %}">
|
||||
<a id="sidebar-menu-item-server-ip-address" href="#"
|
||||
title="{% trans 'Server IP Address' %}">
|
||||
<i class="glyph-icon tooltip-button icon-laptop" title="{% trans 'Server IP Address' %}"
|
||||
data-original-title=".icon-laptop"></i>
|
||||
<span style="color: #488a3f;font-weight: bold;">{{ ipAddress }}</span>
|
||||
</a>
|
||||
<a id="sidebar-menu-item-dashboard" href="{% url 'index' %}" title="{% trans 'Dashboard' %}">
|
||||
<a id="sidebar-menu-item-dashboard" href="{% url 'index' %}"
|
||||
title="{% trans 'Dashboard' %}">
|
||||
<i class="glyph-icon icon-dashboard"></i>
|
||||
<span>{% trans "Dashboard" %}</span>
|
||||
</a>
|
||||
@@ -394,17 +398,17 @@
|
||||
|
||||
<li id="sidebar-menu-item-websites">
|
||||
|
||||
<!-------------WordPress--------------------------->
|
||||
<!-------------WordPress--------------------------->
|
||||
<li>
|
||||
<a href="{% url 'loadWebsitesHome' %}" title="{% trans 'WordPress' %}">
|
||||
<div class="glyph-icon icon-wordpress" title="{% trans 'WordPress' %}"></div>
|
||||
<span>{% trans "WordPress" %}</span>
|
||||
</a>
|
||||
<div class="sidebar-submenu">
|
||||
<div class="sidebar-submenu">
|
||||
|
||||
<ul>
|
||||
{% if admin or createWebsite %}
|
||||
<li><a href="{% url 'createWordpress' %}"
|
||||
{% if admin or createWebsite %}
|
||||
<li><a href="{% url 'createWordpress' %}"
|
||||
title="{% trans 'Deploy WordPress' %}"><span>{% trans "Deploy WordPress" %}</span></a>
|
||||
</li>
|
||||
{% endif %}
|
||||
@@ -434,7 +438,7 @@
|
||||
<div class="sidebar-submenu">
|
||||
|
||||
<ul>
|
||||
{% if admin or createWebsite %}
|
||||
{% if admin or createWebsite %}
|
||||
<li><a href="{% url 'createWebsite' %}"
|
||||
title="{% trans 'Create Website' %}"><span>{% trans "Create Website" %}</span></a>
|
||||
</li>
|
||||
@@ -621,9 +625,9 @@
|
||||
title="{% trans 'DKIM Manager' %}"><span>{% trans "DKIM Manager" %}</span></a>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li><a href="{% url 'EmailDebugger' %}"
|
||||
title="{% trans 'Email Debugger' %}"><span>{% trans "Email Debugger" %}</span></a>
|
||||
</li>
|
||||
<li><a href="{% url 'EmailDebugger' %}"
|
||||
title="{% trans 'Email Debugger' %}"><span>{% trans "Email Debugger" %}</span></a>
|
||||
</li>
|
||||
|
||||
{% if admin or createEmail %}
|
||||
<li><a href="/snappymail/index.php" title="{% trans 'Access Webmail' %}"
|
||||
@@ -781,7 +785,8 @@
|
||||
<li>
|
||||
<a href="{% url 'Filemanager' %}"
|
||||
title="{% trans 'Root File Manager' %}">
|
||||
<i class="glyph-icon tooltip-button icon-link" title="{% trans 'Root File Manager' %}"
|
||||
<i class="glyph-icon tooltip-button icon-link"
|
||||
title="{% trans 'Root File Manager' %}"
|
||||
data-original-title=".icon-cloud-upload" aria-describedby="tooltip896208"></i>
|
||||
<span>{% trans "Root File Manager" %}</span>
|
||||
</a>
|
||||
|
||||
@@ -7,11 +7,148 @@
|
||||
{% get_current_language as LANGUAGE_CODE %}
|
||||
<!-- Current language: {{ LANGUAGE_CODE }} -->
|
||||
|
||||
<style>
|
||||
.feturecard {
|
||||
width: 30%; padding: 46px; margin: 15px
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="container">
|
||||
<div id="page-title">
|
||||
<h2>{% trans "Cyber Panel WordPress manager" %}</h2>
|
||||
<p>{% trans "On this page you can launch, list, modify and delete websites from your server." %}</p>
|
||||
<div id="page-title" align="center">
|
||||
<h2 style="color: black"><strong>Managing Your WordPress sites was never so easy!</strong></h2>
|
||||
<p style="font-size: 18px; color: black; margin-top: 1%">43% of all Websites on the Internet are built with WordPress, so
|
||||
it deserves some love! With CyberPanel WordPress Manager, you can easily Monitor, Analyze, Optimize and
|
||||
keep your website in Top-Notch performance, all the time.</p>
|
||||
</div>
|
||||
|
||||
|
||||
<p align="center">
|
||||
<iframe width="788.54" height="443" src="https://www.youtube.com/embed/c-ffIKgjrBU"
|
||||
title="YouTube video player" frameborder="0"
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
||||
allowfullscreen></iframe>
|
||||
</p>
|
||||
<div style="margin-top: 2%">
|
||||
<stripe-pricing-table pricing-table-id="prctbl_1LpSqSJMfY1fWGMsxSNhPLsc"
|
||||
publishable-key="pk_live_51ITXBmJMfY1fWGMs2G0LAydJweIDMp2WaYocM0xyzdn03WaHUbMw6uxfVuktAkgpRyUql7tz7gF5OwdccEZLd6Ot00XX6tGoZx">
|
||||
</stripe-pricing-table>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12" style="margin: 1%; border-radius: 10px; box-shadow: rgba(66, 135, 245, 0.2) 0px 2px 8px 0px;">
|
||||
<h2 align="center" style="margin-top: 2%; color: black"><strong>Features You’ll Love</strong></h2>
|
||||
|
||||
<div class="center-content" style="display: flex; flex-wrap: wrap; margin: auto">
|
||||
|
||||
|
||||
<div align="center" style="margin-bottom: -15px;" class="feturecard" >
|
||||
<div style="margin: 2%">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="3em" height="3em"
|
||||
preserveAspectRatio="xMidYMid meet" viewBox="0 0 512 512">
|
||||
<path fill="currentColor"
|
||||
d="M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20s9 20 20 20s20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20s9 20 20 20s20-9 20-20z"/>
|
||||
</svg>
|
||||
</div>
|
||||
<h4 style="font-weight: bold; color: black ">Backups</h4>
|
||||
<div style="margin: 2%">
|
||||
<div align="center">Worried about your
|
||||
site
|
||||
backups? WordPress Manager allows you to take data or database level backups. <br></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div align="center" style="margin-bottom: -15px;"class="feturecard">
|
||||
<div style="margin: 2%">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="3em" height="3em"
|
||||
preserveAspectRatio="xMidYMid meet" viewBox="0 0 1024 1024">
|
||||
<path fill="currentColor"
|
||||
d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"/>
|
||||
</svg>
|
||||
</div>
|
||||
<h4 style="font-weight: bold; color: black ">Staging Sites<br></h4>
|
||||
<div style="margin: 2%">
|
||||
<div align="center">Not ready to go live
|
||||
yet?
|
||||
You can create staging sites and easily deploy them to production with one-click using
|
||||
WordPress
|
||||
Manager<br></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div align="center" style="margin-bottom: -15px;"class="feturecard">
|
||||
<div style="margin: 2%">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="3em" height="3em"
|
||||
preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24">
|
||||
<path fill="currentColor"
|
||||
d="M20 12c0-1.103-.897-2-2-2h-1V7c0-2.757-2.243-5-5-5S7 4.243 7 7v3H6c-1.103 0-2 .897-2 2v8c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2v-8zM9 7c0-1.654 1.346-3 3-3s3 1.346 3 3v3H9V7z"/>
|
||||
</svg>
|
||||
</div>
|
||||
<h4 style="font-weight: bold; color: black ">One Click SSL</h4>
|
||||
<div style="margin: 2%">
|
||||
<div align="center">Free One Click SSL Certificates by Let's Encrypt. With Auto-renewal
|
||||
enabled
|
||||
by
|
||||
default, CyberPanel will automagically renew your Certificates before they expire!<br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div align="center" class="feturecard">
|
||||
<div style="margin: 2%">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="3em" height="3em"
|
||||
preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24">
|
||||
<path fill="currentColor"
|
||||
d="M12.001 1.993C6.486 1.994 2 6.48 2 11.994c.001 5.514 4.487 10 10 10c5.515 0 10.001-4.486 10.001-10s-4.486-10-10-10.001zM12 19.994c-4.41 0-7.999-3.589-8-8c0-4.411 3.589-8 8.001-8.001c4.411.001 8 3.59 8 8.001s-3.589 8-8.001 8z"/>
|
||||
<path fill="currentColor" d="m12.001 8.001l-4.005 4.005h3.005V16h2v-3.994h3.004z"/>
|
||||
</svg>
|
||||
</div>
|
||||
<h4 style="font-weight: bold; color: black ">One Click Install</h4>
|
||||
<div style="margin: 2%">
|
||||
<div align="center">Deploy WordPress sites with-in 1 minute using our brand new WordPress
|
||||
Manager.
|
||||
We will take care of Speed, Security and maintenance of your WordPress site.<br></div>
|
||||
</div>
|
||||
</div>
|
||||
<div align="center" class="feturecard">
|
||||
<div style="margin: 2%">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="3em" height="3em"
|
||||
preserveAspectRatio="xMidYMid meet" viewBox="0 0 16 16">
|
||||
<path fill="currentColor" fill-rule="evenodd"
|
||||
d="M8 1.314C12.438-3.248 23.534 4.735 8 15C-7.534 4.736 3.562-3.248 8 1.314z"/>
|
||||
</svg>
|
||||
</div>
|
||||
<h4 style="font-weight: bold; color: black ">Auto Login<br></h4>
|
||||
<div style="margin: 2%">
|
||||
<div align="center">Have you forgotten your WordPress dashboard login information? To access
|
||||
your
|
||||
WordPress admin account, simply use the CyberPanel WordPress manager Auto Login feature.<br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div align="center" class="feturecard">
|
||||
<div style="margin: 2%">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="3em" height="3em"
|
||||
preserveAspectRatio="xMidYMid meet" viewBox="0 0 1200 1200">
|
||||
<path fill="currentColor"
|
||||
d="M1200 1200L957.743 0H658.691l9.164 276.675H532.144L541.308 0H242.256L0 1200h501.562l11.441-345.445h173.992L698.438 1200H1200M683.573 751.231H516.426l13.479-406.965h140.188l13.48 406.965"/>
|
||||
</svg>
|
||||
</div>
|
||||
<h4 style="font-weight: bold; color: black ">LiteSpeed Cache</h4>
|
||||
<div style="margin: 2%">
|
||||
<div align="center">Nothing beats LSCache plugin on LitesSpeed server. Every WordPress site
|
||||
deployed
|
||||
via WordPress manager gets LSCache plugin installed and configured.<br></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@ urlpatterns = [
|
||||
url(r'^RemoteBackupConfig$', views.RemoteBackupConfig, name='RemoteBackupConfig'),
|
||||
url(r'^BackupfileConfig$', views.BackupfileConfig, name='BackupfileConfig'),
|
||||
url(r'^AddRemoteBackupsite$', views.AddRemoteBackupsite, name='AddRemoteBackupsite'),
|
||||
url(r'^pricing$', views.WordpressPricing, name='pricing'),
|
||||
|
||||
|
||||
###WordPress Ajax
|
||||
|
||||
@@ -99,6 +99,14 @@ def AddRemoteBackupsite(request):
|
||||
except KeyError:
|
||||
return redirect(loadLoginPage)
|
||||
|
||||
def WordpressPricing(request):
|
||||
try:
|
||||
userID = request.session['userID']
|
||||
wm = WebsiteManager()
|
||||
return wm.WordpressPricing(request, userID,)
|
||||
except KeyError:
|
||||
return redirect(loadLoginPage)
|
||||
|
||||
def RestoreBackups(request):
|
||||
try:
|
||||
userID = request.session['userID']
|
||||
|
||||
@@ -100,7 +100,8 @@ class WebsiteManager:
|
||||
Data, 'createWebsite')
|
||||
return proc.render()
|
||||
else:
|
||||
return redirect("https://cyberpanel.net/cyberpanel-addons")
|
||||
from django.shortcuts import reverse
|
||||
return reverse('pricing')
|
||||
|
||||
def ListWPSites(self, request=None, userID=None, DeleteID=None):
|
||||
currentACL = ACLManager.loadedACL(userID)
|
||||
@@ -171,8 +172,8 @@ class WebsiteManager:
|
||||
Data, 'createWebsite')
|
||||
return proc.render()
|
||||
else:
|
||||
return redirect("https://cyberpanel.net/cyberpanel-addons")
|
||||
|
||||
from django.shortcuts import reverse
|
||||
return reverse('pricing')
|
||||
except:
|
||||
proc = httpProc(request, 'websiteFunctions/WPsiteHome.html',
|
||||
Data, 'createWebsite')
|
||||
@@ -203,8 +204,8 @@ class WebsiteManager:
|
||||
Data, 'createWebsite')
|
||||
return proc.render()
|
||||
else:
|
||||
return redirect("https://cyberpanel.net/cyberpanel-addons")
|
||||
|
||||
from django.shortcuts import reverse
|
||||
return reverse('pricing')
|
||||
|
||||
def RemoteBackupConfig(self, request=None, userID=None, DeleteID=None ):
|
||||
Data = {}
|
||||
@@ -252,7 +253,8 @@ class WebsiteManager:
|
||||
Data, 'createWebsite')
|
||||
return proc.render()
|
||||
else:
|
||||
return redirect("https://cyberpanel.net/cyberpanel-addons")
|
||||
from django.shortcuts import reverse
|
||||
return reverse('pricing')
|
||||
|
||||
|
||||
def BackupfileConfig(self, request=None, userID=None, RemoteConfigID=None, DeleteID=None ):
|
||||
@@ -288,7 +290,8 @@ class WebsiteManager:
|
||||
Data, 'createWebsite')
|
||||
return proc.render()
|
||||
else:
|
||||
return redirect("https://cyberpanel.net/cyberpanel-addons")
|
||||
from django.shortcuts import reverse
|
||||
return reverse('pricing')
|
||||
|
||||
|
||||
def AddRemoteBackupsite(self, request=None, userID=None, RemoteScheduleID=None , DeleteSiteID=None):
|
||||
@@ -323,7 +326,14 @@ class WebsiteManager:
|
||||
Data, 'createWebsite')
|
||||
return proc.render()
|
||||
else:
|
||||
return redirect("https://cyberpanel.net/cyberpanel-addons")
|
||||
from django.shortcuts import reverse
|
||||
return reverse('pricing')
|
||||
|
||||
|
||||
def WordpressPricing(self, request=None, userID=None,):
|
||||
Data ={}
|
||||
proc = httpProc(request, 'websiteFunctions/CyberpanelPricing.html', Data, 'createWebsite')
|
||||
return proc.render()
|
||||
|
||||
def RestoreBackups(self, request=None, userID=None, DeleteID=None):
|
||||
Data = {}
|
||||
@@ -394,7 +404,8 @@ class WebsiteManager:
|
||||
Data, 'createWebsite')
|
||||
return proc.render()
|
||||
else:
|
||||
return redirect("https://cyberpanel.net/cyberpanel-addons")
|
||||
from django.shortcuts import reverse
|
||||
return reverse('pricing')
|
||||
|
||||
def AutoLogin(self, request=None, userID=None):
|
||||
|
||||
@@ -448,7 +459,8 @@ class WebsiteManager:
|
||||
data, 'createWebsite')
|
||||
return proc.render()
|
||||
else:
|
||||
return redirect("https://cyberpanel.net/cyberpanel-addons")
|
||||
from django.shortcuts import reverse
|
||||
return reverse('pricing')
|
||||
|
||||
def ConfigurePlugins(self, request=None, userID=None, data=None):
|
||||
|
||||
@@ -465,9 +477,11 @@ class WebsiteManager:
|
||||
Data, 'createWebsite')
|
||||
return proc.render()
|
||||
else:
|
||||
return redirect("https://cyberpanel.net/cyberpanel-addons")
|
||||
from django.shortcuts import reverse
|
||||
return reverse('pricing')
|
||||
|
||||
def Addnewplugin(self, request=None, userID=None, data=None):
|
||||
from django.shortcuts import reverse
|
||||
if ACLManager.CheckForPremFeature('wp-manager'):
|
||||
currentACL = ACLManager.loadedACL(userID)
|
||||
adminNames = ACLManager.loadAllUsers(userID)
|
||||
@@ -478,7 +492,10 @@ class WebsiteManager:
|
||||
proc = httpProc(request, 'websiteFunctions/WPAddNewPlugin.html',
|
||||
Data, 'createWebsite')
|
||||
return proc.render()
|
||||
return redirect("https://cyberpanel.net/cyberpanel-addons")
|
||||
|
||||
return reverse('pricing')
|
||||
|
||||
|
||||
|
||||
def SearchOnkeyupPlugin(self, userID=None, data=None):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user