More work on the UI
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
<script type="text/javascript" src="scripts/jquery.watermark.min.js"></script>
|
||||
<script type="text/javascript" src="scripts/jquery.jstree.js"></script>
|
||||
<script type="text/javascript" src="scripts/config.js"></script>
|
||||
<script type="text/javascript" src="scripts/app.js"></script>
|
||||
<script type="text/javascript" src="scripts/editdialog.js"></script>
|
||||
<script type="text/javascript" src="scripts/customized.js"></script>
|
||||
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -33,17 +33,6 @@ $(document).ready(function() {
|
||||
|
||||
//$('#edit-dialog').dialog('close');
|
||||
|
||||
$('#backup-name').watermark('Enter a name for your backup');
|
||||
$('#backup-uri').watermark('webdavs://example.com/mybackup?');
|
||||
$('#encryption-password').watermark('Enter a secure passphrase');
|
||||
$('#repeat-password').watermark('Repeat the passphrase');
|
||||
$('#server-name').watermark('example.com');
|
||||
$('#server-port').watermark('8801');
|
||||
$('#server-path').watermark('mybackup');
|
||||
$('#server-username').watermark('Username for authentication');
|
||||
$('#server-password').watermark('Password for authentication');
|
||||
$('#server-options').watermark('Enter connection options here');
|
||||
$('#backup-options').watermark('Enter one option pr. line in commandline format, eg. --dblock-size=100MB');
|
||||
|
||||
PRIVATE_DATA.refresh_server_settings = function(callback) {
|
||||
$.ajax({
|
||||
@@ -119,7 +108,7 @@ $(document).ready(function() {
|
||||
});
|
||||
|
||||
$('#main-newbackup').click(function() {
|
||||
$("#edit_dialog").load('editdialog.html').dialog('show');
|
||||
$("#edit-dialog").load('editdialog.html').dialog('open');
|
||||
});
|
||||
|
||||
|
||||
|
||||
@@ -2,6 +2,21 @@
|
||||
* Editdialog app code
|
||||
*/
|
||||
$(document).ready(function() {
|
||||
$('.tabs').tabs({ active: 0 });
|
||||
$('.button').button();
|
||||
|
||||
$('#backup-name').watermark('Enter a name for your backup');
|
||||
$('#backup-uri').watermark('webdavs://example.com/mybackup?');
|
||||
$('#encryption-password').watermark('Enter a secure passphrase');
|
||||
$('#repeat-password').watermark('Repeat the passphrase');
|
||||
$('#server-name').watermark('example.com');
|
||||
$('#server-port').watermark('8801');
|
||||
$('#server-path').watermark('mybackup');
|
||||
$('#server-username').watermark('Username for authentication');
|
||||
$('#server-password').watermark('Password for authentication');
|
||||
$('#server-options').watermark('Enter connection options here');
|
||||
$('#backup-options').watermark('Enter one option pr. line in commandline format, eg. --dblock-size=100MB');
|
||||
|
||||
$('#source-folder-browser').jstree({
|
||||
'json': {
|
||||
'ajax': {
|
||||
|
||||
Reference in New Issue
Block a user