87 lines
2.1 KiB
XML
Executable File
87 lines
2.1 KiB
XML
Executable File
#!/usr/bin/perl -wT
|
|
# vim: ft=xml:
|
|
|
|
#----------------------------------------------------------------------
|
|
# heading : Backup
|
|
# description : Rsync
|
|
# navigation : 1000 1000
|
|
#----------------------------------------------------------------------
|
|
|
|
use strict;
|
|
use warnings;
|
|
|
|
use esmith::FormMagick::Panel::rsync;
|
|
|
|
my $f = esmith::FormMagick::Panel::rsync->new();
|
|
$f->display();
|
|
|
|
__DATA__
|
|
<form
|
|
title="FORM_TITLE"
|
|
header="/etc/e-smith/web/common/head.tmpl"
|
|
footer="/etc/e-smith/web/common/foot.tmpl">
|
|
|
|
<page name="First" pre-event="print_status_message()"
|
|
post-event="change_settings">
|
|
|
|
<description>FORM_DESC</description>
|
|
|
|
<field
|
|
type="select"
|
|
id="status"
|
|
options="'disabled', 'enabled'"
|
|
validation="nonblank"
|
|
value="get_status()">
|
|
<label>LABEL_STATUS</label>
|
|
<description>DESC_STATUS</description>
|
|
</field>
|
|
|
|
<field
|
|
type="textarea"
|
|
id="include"
|
|
value="get_include()">
|
|
<label>LABEL_INCLUDE</label>
|
|
<description>DESC_INCLUDE</description>
|
|
</field>
|
|
|
|
<field
|
|
type="textarea"
|
|
id="exclude"
|
|
value="get_exclude()">
|
|
<label>LABEL_EXCLUDE</label>
|
|
<description>DESC_EXCLUDE</description>
|
|
</field>
|
|
|
|
<field
|
|
type="text"
|
|
size="25"
|
|
id="mount"
|
|
validation="nonblank"
|
|
value="get_mount()">
|
|
<label>LABEL_MOUNT</label>
|
|
<description>DESC_MOUNT</description>
|
|
</field>
|
|
|
|
<field
|
|
type="text"
|
|
size="5"
|
|
id="remindertime"
|
|
value="get_reminderTime()">
|
|
<label>LABEL_REMINDER_TIME</label>
|
|
<description>DESC_REMINDER_TIME</description>
|
|
</field>
|
|
|
|
<field
|
|
type="text"
|
|
size="5"
|
|
id="backuptime"
|
|
validation="nonblank"
|
|
value="get_backupTime()">
|
|
<label>LABEL_BACKUP_TIME</label>
|
|
<description>DESC_BACKUP_TIME</description>
|
|
</field>
|
|
|
|
<subroutine src="print_button('Update')" />
|
|
</page>
|
|
</form>
|