Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
bf116541
Commit
bf116541
authored
Apr 12, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
system: prettify backups 1/3
parent
7fe5a8cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
68 additions
and
72 deletions
+68
-72
diag_backup.php
src/www/diag_backup.php
+68
-72
No files found.
src/www/diag_backup.php
View file @
bf116541
...
@@ -626,78 +626,74 @@ $( document ).ready(function() {
...
@@ -626,78 +626,74 @@ $( document ).ready(function() {
</div>
</div>
</div>
</div>
</section>
</section>
<section
class=
"__mb"
>
<div
class=
"content-box tab-content table-responsive"
>
<div
class=
"content-box"
>
<table
class=
"table table-striped "
>
<header
class=
"content-box-head container-fluid"
>
<thead
style=
"display: none;"
>
<h3>
<?=
gettext
(
"Google Drive"
);
?>
</h3>
<tr>
</header>
<th
class=
"col-sm-1"
></th>
<div
class=
"content-box-main "
>
<th
class=
"col-sm-3"
></th>
<div
class=
"table-responsive"
>
</tr>
<table
class=
"table table-striped "
>
</thead>
<thead>
<tbody>
<tr>
<tr>
<th
class=
"col-sm-1"
></th>
<th
colspan=
"2"
valign=
"top"
class=
"listtopic"
>
<th
class=
"col-sm-3"
></th>
<?=
gettext
(
"Google Drive"
);
?>
</tr>
</th>
</thead>
</tr>
<tbody>
<tr>
<tr>
<td>
<?=
gettext
(
"Enable"
);
?>
</td>
<td>
<?=
gettext
(
"Enable"
);
?>
</td>
<td>
<td>
<input
name=
"GDriveEnabled"
type=
"checkbox"
<?=
!
empty
(
$pconfig
[
'GDriveEnabled'
])
?
"checked"
:
""
;
?>
>
<input
name=
"GDriveEnabled"
type=
"checkbox"
<?=
!
empty
(
$pconfig
[
'GDriveEnabled'
])
?
"checked"
:
""
;
?>
>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td>
<?=
gettext
(
"Email Address"
);
?>
</td>
<td>
<?=
gettext
(
"Email Address"
);
?>
</td>
<td>
<td>
<input
name=
"GDriveEmail"
value=
"
<?=
$pconfig
[
'GDriveEmail'
];
?>
"
type=
"text"
>
<input
name=
"GDriveEmail"
value=
"
<?=
$pconfig
[
'GDriveEmail'
];
?>
"
type=
"text"
>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td>
<?=
gettext
(
"P12 key"
);
?>
<?=
!
empty
(
$pconfig
[
'GDriveP12key'
])
?
gettext
(
"(replace)"
)
:
gettext
(
"(not loaded)"
);
?>
</td>
<td>
<?=
gettext
(
"P12 key"
);
?>
<?=
!
empty
(
$pconfig
[
'GDriveP12key'
])
?
gettext
(
"(replace)"
)
:
gettext
(
"(not loaded)"
);
?>
</td>
<td>
<td>
<input
name=
"GDriveP12file"
type=
"file"
>
<input
name=
"GDriveP12file"
type=
"file"
>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td>
<?=
gettext
(
"Folder ID"
);
?>
</td>
<td>
<?=
gettext
(
"Folder ID"
);
?>
</td>
<td>
<td>
<input
name=
"GDriveFolderID"
value=
"
<?=
$pconfig
[
'GDriveFolderID'
];
?>
"
type=
"text"
>
<input
name=
"GDriveFolderID"
value=
"
<?=
$pconfig
[
'GDriveFolderID'
];
?>
"
type=
"text"
>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td>
<?=
gettext
(
"Backup Count"
);
?>
</td>
<td>
<?=
gettext
(
"Backup Count"
);
?>
</td>
<td>
<td>
<input
name=
"GDriveBackupCount"
value=
"
<?=
$pconfig
[
'GDriveBackupCount'
];
?>
"
type=
"text"
>
<input
name=
"GDriveBackupCount"
value=
"
<?=
$pconfig
[
'GDriveBackupCount'
];
?>
"
type=
"text"
>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td
colspan=
2
>
<?=
gettext
(
"Password protect your data"
);
?>
:
</td>
<td
colspan=
2
>
<?=
gettext
(
"Password protect your data"
);
?>
:
</td>
</tr>
</tr>
<tr>
<tr>
<td>
<?=
gettext
(
"Password :"
);
?>
</td>
<td>
<?=
gettext
(
"Password :"
);
?>
</td>
<td>
<td>
<input
name=
"GDrivePassword"
type=
"password"
value=
"
<?=
$pconfig
[
'GDrivePassword'
];
?>
"
/>
<input
name=
"GDrivePassword"
type=
"password"
value=
"
<?=
$pconfig
[
'GDrivePassword'
];
?>
"
/>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td>
<?=
gettext
(
"Confirm :"
);
?>
</td>
<td>
<?=
gettext
(
"Confirm :"
);
?>
</td>
<td>
<td>
<input
name=
"GDrivePasswordConfirm"
type=
"password"
value=
"
<?=
$pconfig
[
'GDrivePassword'
];
?>
"
/>
<input
name=
"GDrivePasswordConfirm"
type=
"password"
value=
"
<?=
$pconfig
[
'GDrivePassword'
];
?>
"
/>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td>
<td>
<input
name=
"setup_gdrive"
class=
"btn btn-primary"
id=
"Gdrive"
value=
"
<?=
gettext
(
"Setup/Test Google Drive"
);
?>
"
type=
"submit"
>
<input
name=
"setup_gdrive"
class=
"btn btn-primary"
id=
"Gdrive"
value=
"
<?=
gettext
(
"Setup/Test Google Drive"
);
?>
"
type=
"submit"
>
</td>
</td>
<td></td>
<td></td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
</div>
</div>
</div>
</div>
</section>
</section>
</section>
</form>
</form>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment