Commit bf116541 authored by Franco Fichtner's avatar Franco Fichtner

system: prettify backups 1/3

parent 7fe5a8cf
...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment