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
4b4a24b3
Commit
4b4a24b3
authored
Jan 06, 2016
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(legacy) fix spacing diag_backup.php
parent
ba1d5f0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
72 additions
and
70 deletions
+72
-70
diag_backup.php
src/www/diag_backup.php
+72
-70
No files found.
src/www/diag_backup.php
View file @
4b4a24b3
...
...
@@ -604,80 +604,82 @@ $( document ).ready(function() {
</div>
</div>
</section>
<section
class=
"__mb"
>
<div
class=
"content-box"
>
<header
class=
"content-box-head container-fluid"
>
<h3>
<?=
gettext
(
"Google Drive"
);
?>
</h3>
</header>
<div
class=
"content-box-main "
>
<div
class=
"table-responsive"
>
<table
class=
"table table-striped "
>
<thead>
<th
class=
"col-sm-1"
></th>
<th
class=
"col-sm-3"
></th>
</thead>
<tbody>
<tr>
<td>
<?=
gettext
(
"Enable"
);
?>
</td>
<td>
<input
name=
"GDriveEnabled"
type=
"checkbox"
<?=
!
empty
(
$pconfig
[
'GDriveEnabled'
])
?
"checked"
:
""
;
?>
>
</td>
</tr>
<tr>
<td>
<?=
gettext
(
"Email Address"
);
?>
</td>
<td>
<input
name=
"GDriveEmail"
value=
"
<?=
$pconfig
[
'GDriveEmail'
];
?>
"
type=
"text"
>
</td>
</tr>
<tr>
<td>
<?=
gettext
(
"P12 key"
);
?>
<?=
!
empty
(
$pconfig
[
'GDriveP12key'
])
?
gettext
(
"(replace)"
)
:
gettext
(
"(not loaded)"
);
?>
</td>
<td>
<input
name=
"GDriveP12file"
type=
"file"
>
</td>
</tr>
<tr>
<td>
<?=
gettext
(
"Folder ID"
);
?>
</td>
<td>
<input
name=
"GDriveFolderID"
value=
"
<?=
$pconfig
[
'GDriveFolderID'
];
?>
"
type=
"text"
>
</td>
</tr>
<tr>
<td>
<?=
gettext
(
"Backup Count"
);
?>
</td>
<td>
<input
name=
"GDriveBackupCount"
value=
"
<?=
$pconfig
[
'GDriveBackupCount'
];
?>
"
type=
"text"
>
</td>
</tr>
<tr>
<td
colspan=
2
>
<?=
gettext
(
"Password protect your data"
);
?>
:
</td>
</tr>
<tr>
<td>
<?=
gettext
(
"Password :"
);
?>
</td>
<td>
<input
name=
"GDrivePassword"
type=
"password"
value=
"
<?=
$pconfig
[
'GDrivePassword'
];
?>
"
/>
</td>
</tr>
<tr>
<td>
<?=
gettext
(
"Confirm :"
);
?>
</td>
<td>
<input
name=
"GDrivePasswordConfirm"
type=
"password"
value=
"
<?=
$pconfig
[
'GDrivePassword'
];
?>
"
/>
</td>
</tr>
<tr>
<td>
<input
name=
"setup_gdrive"
class=
"btn btn-primary"
id=
"Gdrive"
value=
"
<?=
gettext
(
"Setup/Test Google Drive"
);
?>
"
type=
"submit"
>
</td>
<td></td>
</tr>
</tbody>
</table>
<section
class=
"__mb"
>
<div
class=
"content-box"
>
<header
class=
"content-box-head container-fluid"
>
<h3>
<?=
gettext
(
"Google Drive"
);
?>
</h3>
</header>
<div
class=
"content-box-main "
>
<div
class=
"table-responsive"
>
<table
class=
"table table-striped "
>
<thead>
<tr>
<th
class=
"col-sm-1"
></th>
<th
class=
"col-sm-3"
></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<?=
gettext
(
"Enable"
);
?>
</td>
<td>
<input
name=
"GDriveEnabled"
type=
"checkbox"
<?=
!
empty
(
$pconfig
[
'GDriveEnabled'
])
?
"checked"
:
""
;
?>
>
</td>
</tr>
<tr>
<td>
<?=
gettext
(
"Email Address"
);
?>
</td>
<td>
<input
name=
"GDriveEmail"
value=
"
<?=
$pconfig
[
'GDriveEmail'
];
?>
"
type=
"text"
>
</td>
</tr>
<tr>
<td>
<?=
gettext
(
"P12 key"
);
?>
<?=
!
empty
(
$pconfig
[
'GDriveP12key'
])
?
gettext
(
"(replace)"
)
:
gettext
(
"(not loaded)"
);
?>
</td>
<td>
<input
name=
"GDriveP12file"
type=
"file"
>
</td>
</tr>
<tr>
<td>
<?=
gettext
(
"Folder ID"
);
?>
</td>
<td>
<input
name=
"GDriveFolderID"
value=
"
<?=
$pconfig
[
'GDriveFolderID'
];
?>
"
type=
"text"
>
</td>
</tr>
<tr>
<td>
<?=
gettext
(
"Backup Count"
);
?>
</td>
<td>
<input
name=
"GDriveBackupCount"
value=
"
<?=
$pconfig
[
'GDriveBackupCount'
];
?>
"
type=
"text"
>
</td>
</tr>
<tr>
<td
colspan=
2
>
<?=
gettext
(
"Password protect your data"
);
?>
:
</td>
</tr>
<tr>
<td>
<?=
gettext
(
"Password :"
);
?>
</td>
<td>
<input
name=
"GDrivePassword"
type=
"password"
value=
"
<?=
$pconfig
[
'GDrivePassword'
];
?>
"
/>
</td>
</tr>
<tr>
<td>
<?=
gettext
(
"Confirm :"
);
?>
</td>
<td>
<input
name=
"GDrivePasswordConfirm"
type=
"password"
value=
"
<?=
$pconfig
[
'GDrivePassword'
];
?>
"
/>
</td>
</tr>
<tr>
<td>
<input
name=
"setup_gdrive"
class=
"btn btn-primary"
id=
"Gdrive"
value=
"
<?=
gettext
(
"Setup/Test Google Drive"
);
?>
"
type=
"submit"
>
</td>
<td></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</
div
>
</
section
>
</section>
</
section
>
</
form
>
</
form
>
</
div
>
</div>
</div>
</section>
<?php
include
(
"foot.inc"
);
?>
...
...
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