automizy-js-api
Version:
JavaScript API library for Automizy Marketing Automation software
99 lines (96 loc) • 5.17 kB
HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>QUnit Example</title>
<link rel="stylesheet" href="css/jquery-ui.min.css" />
<link rel="stylesheet" href="css/jquery.multiselect.css">
<link rel="stylesheet" href="css/jquery.multiselect.filter.css">
<link rel="stylesheet" href="css/automizy.min.css">
<script src="js/jquery.min.js"></script>
<script src="js/jquery-ui.min.js"></script>
<script src="js/require.js"></script>
<script src="js/jquery.multiselect.min.js"></script>
<script src="js/jquery.multiselect.filter.js"></script>
<script src="js/automizy.min.js"></script>
<script>
var temp;
$(function () {
temp = $A.newForm().addSubTitle($A.translate("My user profile")).addInputs([
{
label: $A.translate('Email:'),
help: $A.translate('Your email adress.'),
type: 'text',
value: 'john@gmail.com'
},
{
label: $A.translate('Real name:'),
help: $A.translate('Your real name e.g. John Smith.'),
type: 'text',
value: 'John Smith'
},
{
label: $A.translate('Language:'),
help: $A.translate('What language do you want to use the software?'),
type: 'select',
options: [[1, 'English (US)'], [2, 'Magyar']],
multiselect: $A.d.defines.input.setupSelectObj
}
]).addSubTitle($A.translate('Change password')).addInputs([
{
label: $A.translate('Old password:'),
help: $A.translate('Your old (actual) password.'),
type: 'text'
},
{
label: $A.translate('New password:'),
help: $A.translate('Please, enter the new password you want to use!'),
type: 'text'
},
{
label: $A.translate('New password again:'),
help: $A.translate('Please, re-enter the new password for verification!'),
type: 'text'
}
]).addSubTitle($A.translate('Advanced settings')).addInputs([
{
label: $A.translate('Time zone:'),
help: $A.translate('Select your time zone.'),
type: 'select',
options: [[1, 'Europe/Budapest GMT +01:00'], [2, 'Africa/Adibjan GMT + 00:00']],
multiselect: $A.d.defines.input.setupSelectObj
}
]).addSubTitle($A.translate('Import file settings')).addInputs([
{
label: $A.translate('Field separator:'),
help: $A.translate('Enter the character that is used in your CSV files that separates each column.'),
type: 'text',
value: ';'
},
{
label: $A.translate('Field enclosure:'),
help: $A.translate('Which character is each field enclosed by in your CSV files?'),
type: 'text',
value: '"'
},
{
label: $A.translate('Character encoding:'),
help: $A.translate('Select the character encoding of your imported files containing contact data.'),
type: 'select',
options: [[1, 'UTF-8'], [2, 'ISO-8859-2']],
multiselect: $A.d.defines.input.setupSelectObj
}
]).addButton({
text: $A.translate('Cancel')
}).addButton({
text: $A.translate('Save'),
skin: "simple-orange",
click: function() {
temp.json();
}
}).draw();
});
</script>
</head>
<body></body>
</html>