-
-
Notifications
You must be signed in to change notification settings - Fork 622
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'v3.0.0' of github.com:usmannasir/cyberpanel into v3.0.0
- Loading branch information
Showing
7 changed files
with
357 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
{% extends "baseTemplate/index.html" %} | ||
{% load i18n %} | ||
{% block title %}{% trans "List Databases - CyberPanel" %}{% endblock %} | ||
{% block content %} | ||
|
||
{% load static %} | ||
{% get_current_language as LANGUAGE_CODE %} | ||
<!-- Current language: {{ LANGUAGE_CODE }} --> | ||
|
||
|
||
<div class="container"> | ||
<div id="page-title"> | ||
<h2>{% trans "Upgrade Mysql" %} | ||
|
||
</h2> | ||
<p>{% trans "On this page you can update mysql." %}</p> | ||
</div> | ||
<div ng-controller="mysqlupdate" class="panel"> | ||
<div class="panel-body"> | ||
<h3 class="content-box-header"> | ||
{% trans "Update Mysql" %} <img ng-hide="dbLoading" | ||
src="{% static 'images/loading.gif' %}"> | ||
</h3> | ||
<div class="example-box-wrapper"> | ||
|
||
<form name="websiteCreationForm" action="/" | ||
class="form-horizontal bordered-row panel-body"> | ||
|
||
<div ng-hide="installform" class="form-group"> | ||
<label class="col-sm-3 control-label">{% trans "Mysql version" %} </label> | ||
<div class="col-sm-6"> | ||
<select ng-model="version" class="form-control" required> | ||
{% for version in mysqlversions %} | ||
<option>{{ version }}</option> | ||
{% endfor %} | ||
</select> | ||
</div> | ||
</div> | ||
<div ng-hide="installform" class="form-group"> | ||
<label class="col-sm-3 control-label"></label> | ||
<div class="col-sm-4"> | ||
<button type="button" ng-click="Upgardemysql()" | ||
class="btn btn-primary btn-lg">{% trans "Update Mysql" %}</button> | ||
|
||
</div> | ||
</div> | ||
|
||
|
||
<div ng-hide="modSecNotifyBox" class="form-group"> | ||
<label class="col-sm-3 control-label"></label> | ||
<div class="col-sm-6"> | ||
|
||
<div ng-hide="failedToStartInallation" class="alert alert-danger"> | ||
<p>{% trans "Failed to start installation, Error message: " %} {$ errorMessage | ||
$}</p> | ||
</div> | ||
|
||
<div ng-hide="couldNotConnect" class="alert alert-danger"> | ||
<p>{% trans "Could not connect. Please refresh this page." %} </p> | ||
</div> | ||
|
||
<div ng-hide="installationFailed" class="alert alert-danger"> | ||
<p>{% trans "Installation failed." %} {$ errorMessage $}</p> | ||
</div> | ||
|
||
<div ng-hide="modSecSuccessfullyInstalled" class="alert alert-success"> | ||
<p>{% trans "CSF successfully installed, refreshing page in 3 seconds.." %}</p> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
<div ng-hide="modeSecInstallBox" class="col-md-12"> | ||
|
||
<form action="/" id="" class="form-horizontal bordered-row"> | ||
<div class="form-group"> | ||
<div class="col-sm-12 text-center"> | ||
<h3><img | ||
src="{% static 'firewall/icons/firewall.png' %}"> {% trans "In winter we must protect each other.." %} | ||
<img ng-hide="modsecLoading" src="/static/images/loading.gif"></h3> | ||
</div> | ||
<div style="margin-top: 2%;" class="col-sm-12"> | ||
<textarea ng-model="requestData" rows="15" | ||
class="form-control">{{ requestData }}</textarea> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
</div> | ||
|
||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.