-
-
Notifications
You must be signed in to change notification settings - Fork 618
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1135 from master3395/v2.3.5-dev
V2.3.5 dev
- Loading branch information
Showing
45 changed files
with
1,210 additions
and
344 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
{% extends "baseTemplate/index.html" %} | ||
{% load i18n %} | ||
{% block title %}{% trans "Delete v2 Backup" %}{% endblock %} | ||
{% block content %} | ||
|
||
{% load static %} | ||
|
||
{% get_current_language as LANGUAGE_CODE %} | ||
<!-- Current language: {{ LANGUAGE_CODE }} --> | ||
<style> | ||
|
||
</style> | ||
|
||
<div class="container"> | ||
|
||
<div id="page-title"> | ||
<h2>{% trans "Delete V2 Repo" %} - <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 delete your backup repo" %}</p> | ||
</div> | ||
|
||
<div ng-controller="DeleteBackuprepo" class="panel"> | ||
<div class="panel-body"> | ||
<h3 class="title-hero"> | ||
{% trans "Create v2 Backup" %} <img ng-hide="backupLoading" src="{% static 'images/loading.gif' %}"> | ||
|
||
</h3> | ||
<div class="example-box-wrapper"> | ||
|
||
|
||
|
||
<form class="form-horizontal bordered-row"> | ||
|
||
|
||
<div class="form-group"> | ||
<label class="col-sm-3 control-label">{% trans "Select Website" %} </label> | ||
<div class="col-sm-6"> | ||
<select id="create-backup-select" ng-change="selectwebsite()" ng-model="selwebsite" | ||
class="form-control"> | ||
{% for items in websiteList %} | ||
<option value="{{ items }}">{{ items }}</option> | ||
{% endfor %} | ||
</select> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label class="col-sm-3 control-label">{% trans "Select Repo" %} </label> | ||
<div class="col-sm-6"> | ||
<select id="reposelectbox" ng-change="selectrepo()" ng-model="testhabbi" | ||
class="form-control"> | ||
</select> | ||
</div> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label class="col-sm-3 control-label">{% trans " " %} </label> | ||
<div class="col-sm-6"> | ||
<button class="btn" id="DeleteV2BackupButton" ng-click="DeleteV2BackupButton()" | ||
style="border-radius: 6px;background-color: #3447b7;color: white !important;"> | ||
Delete Backup repo | ||
</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 "Backup succesfully." %}</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 %} |
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.