Skip to content

Commit f87f9ef

Browse files
committed
integrated js hints from Dmitry Malishev
1 parent c6bf263 commit f87f9ef

File tree

8 files changed

+1128
-2036
lines changed

8 files changed

+1128
-2036
lines changed

web/css/main.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,3 +813,9 @@ form {
813813
font-size: 10pt;
814814
color: #dE6c5d;
815815
}
816+
817+
.hint {
818+
font-size: 14pt;
819+
color: #7fa1cb;
820+
padding: 5px;
821+
}

web/js/pages/add.web.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
App.Actions.WEB.update_ftp_username_hint = function(elm, hint) {
22
if (hint.trim() == '') {
3-
$(elm).parent().find('.ftp_username_hint').html('');
3+
$(elm).parent().find('.hint').html('');
44
}
55
if (hint.indexOf(GLOBAL.FTP_USER_PREFIX) == 0) {
66
hint = hint.slice(GLOBAL.FTP_USER_PREFIX.length, hint.length);
77
}
8-
$(elm).parent().find('.ftp_username_hint').html(GLOBAL.FTP_USER_PREFIX + hint);
8+
$(elm).parent().find('.hint').html(GLOBAL.FTP_USER_PREFIX + hint);
99
}
1010

1111
App.Listeners.WEB.keypress_ftp_username = function() {

web/js/pages/edit.web.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
App.Actions.WEB.update_ftp_username_hint = function(elm, hint) {
22
if (hint.trim() == '') {
3-
$(elm).parent().find('.ftp_username_hint').html('');
3+
$(elm).parent().find('.hint').html('');
44
}
55
if (hint.indexOf(GLOBAL.FTP_USER_PREFIX) == 0) {
66
hint = hint.slice(GLOBAL.FTP_USER_PREFIX.length, hint.length);
77
}
8-
$(elm).parent().find('.ftp_username_hint').html(GLOBAL.FTP_USER_PREFIX + hint);
8+
$(elm).parent().find('.hint').html(GLOBAL.FTP_USER_PREFIX + hint);
99
}
1010

1111
App.Listeners.WEB.keypress_ftp_username = function() {

web/templates/admin/add_web.html

Lines changed: 280 additions & 285 deletions
Large diffs are not rendered by default.

web/templates/admin/edit_web.html

Lines changed: 297 additions & 304 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)