mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-30 19:29:03 +01:00
112 lines
4.6 KiB
HTML
Executable File
112 lines
4.6 KiB
HTML
Executable File
{% extends "baseTemplate/index.html" %}
|
|
{% load i18n %}
|
|
{% block title %}{% trans "Backup Home - 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 "Backup" %}</h2>
|
|
<p>{% trans "Backup and restore sites." %}</p>
|
|
</div>
|
|
<div class="panel col-md-11">
|
|
<div class="panel-body">
|
|
<h3 class="content-box-header">
|
|
{% trans "Available Functions" %}
|
|
</h3>
|
|
|
|
<div class="example-box-wrapper">
|
|
<div class="row">
|
|
|
|
{% if createBackup or admin %}
|
|
|
|
<div class="col-md-3 btn-min-width">
|
|
<a href="{% url 'backupSite' %}" title="{% trans 'Backup Site' %}" class="tile-box tile-box-shortcut btn-primary">
|
|
<div class="tile-header">
|
|
{% trans "Backup" %}
|
|
</div>
|
|
<div class="tile-content-wrapper">
|
|
<i class="fa fa-clone"></i>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% if restoreBackup or admin %}
|
|
|
|
|
|
<div class="col-md-3 btn-min-width">
|
|
<a href="{% url 'restoreSite' %}" title="{% trans 'Restore Backup' %}" class="tile-box tile-box-shortcut btn-primary">
|
|
<div class="tile-header">
|
|
{% trans "Restore" %}
|
|
</div>
|
|
<div class="tile-content-wrapper">
|
|
<i class="fa fa-undo"></i>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
{% if addDeleteDestinations or admin %}
|
|
|
|
<div class="col-md-3 btn-min-width">
|
|
<a href="{% url 'backupDestinations' %}" title="{% trans 'Add/Delete Destinations' %}" class="tile-box tile-box-shortcut btn-primary">
|
|
<div class="tile-header">
|
|
{% trans "Add/Delete Destinations" %}
|
|
</div>
|
|
<div class="tile-content-wrapper">
|
|
<i class="fa fa-map-pin"></i>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% if scheduleBackups or admin %}
|
|
|
|
<div class="col-md-3 btn-min-width">
|
|
<a href="{% url 'scheduleBackup' %}" title="{% trans 'Schedule Backup' %}" class="tile-box tile-box-shortcut btn-primary">
|
|
<div class="tile-header">
|
|
{% trans "Schedule Backup" %}
|
|
</div>
|
|
<div class="tile-content-wrapper">
|
|
<i class="fa fa-refresh"></i>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% if remoteBackups or admin %}
|
|
|
|
<div class="col-md-3 btn-min-width">
|
|
<a href="{% url 'remoteBackups' %}" title="{% trans 'Remote Backups' %}" class="tile-box tile-box-shortcut btn-primary">
|
|
<div class="tile-header">
|
|
{% trans "Remote Backups" %}
|
|
</div>
|
|
<div class="tile-content-wrapper">
|
|
<i class="fa fa-cloud-upload"></i>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
{% endblock %}
|