File manager - Edit - /usr/local/CyberCP/cyberpanel/backup/templates/backup/restore.html
Back
{% extends "baseTemplate/index.html" %} {% load i18n %} {% block title %}{% trans "Restore Website - 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 "Restore Website" %} - <a target="_blank" href="http://go.cyberpanel.net/backup" style="height: 23px;line-height: 21px;" class="btn btn-border btn-alt border-red btn-link font-red" title=""><span>{% trans "Backup Docs" %}</span></a></h2> <p>{% trans "This page can be used to restore your websites, Backup should be generated from CyberPanel Backup generation tool, it will detect all Backups under <strong>/home/backup</strong>." %}</p> </div> <div ng-controller="restoreWebsiteControl" class="panel"> <div class="panel-body"> <h3 class="title-hero"> {% trans "Restore Website" %} <img ng-hide="restoreLoading" src="{% static 'images/loading.gif' %}"> </h3> <div class="example-box-wrapper"> <form action="/" class="form-horizontal bordered-row"> <div class="form-group"> <label class="col-sm-3 control-label">{% trans "Select Backup" %}</label> <div class="col-sm-6"> <select ng-change="fetchDetails()" ng-model="backupFile" class="form-control"> {% for items in backups %} <option>{{ items }}</option> {% endfor %} </select> </div> </div> <div ng-hide="restoreButton" class="form-group"> <label class="col-sm-3 control-label"></label> <div class="col-sm-4"> <button type="button" ng-click="restoreBackup()" id="restoreBackup" class="btn btn-primary btn-lg btn-block">{% trans "Restore" %}</button> </div> </div> <!---- if restore is running -----> <div ng-hide="runningRestore" class="form-group"> <div class="col-sm-12"> <table class="table"> <thead> <tr> <th>{% trans "Condition" %}</th> <th>{% trans "File Name" %}</th> <th>{% trans "Status" %} <img ng-hide="restoreFinished" src="{% static 'images/loading.gif' %}"></th> </tr> </thead> <tbody> <tr> <td>{$ running $}</td> <td>{$ fileName $}</td> <td style="color: red"><strong>{$ status $}</strong></td> </tr> </tbody> </table> </div> </div> <!---- if restore is running------> <div class="form-group"> <label class="col-sm-3 control-label"></label> <div class="col-sm-4"> <div ng-hide="backupError" class="alert alert-danger"> <p>{% trans "Error message:" %} {$ errorMessage $}</p> </div> <div ng-hide="siteExists" class="alert alert-danger"> <p>{% trans "Site related to this Backup already exists." %}</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> </form> </div> </div> </div> </div> {% endblock %}
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings