2022-03-15 09:43:53 +00:00
|
|
|
$(function() {
|
2022-04-05 18:01:56 +00:00
|
|
|
$('.menu.profile .item').tab();
|
|
|
|
|
2022-03-15 09:43:53 +00:00
|
|
|
$('.ui.calendar').calendar({
|
2022-03-23 09:33:04 +00:00
|
|
|
type : 'date',
|
|
|
|
firstDayOfWeek : 1,
|
|
|
|
startMode : 'year'
|
2022-03-15 09:43:53 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
$('.ui.form').form({
|
|
|
|
fields: {
|
2022-04-07 09:37:44 +00:00
|
|
|
'user-email' : 'email',
|
|
|
|
'user-password' : ['minLength[8]', 'empty'],
|
|
|
|
'user-password-repeat' : ['minLength[8]', 'empty'],
|
|
|
|
match : {
|
2022-03-15 12:07:05 +00:00
|
|
|
identifier : 'user-password-repeat',
|
|
|
|
depends : 'user-password',
|
|
|
|
rules : [
|
2022-03-15 09:43:53 +00:00
|
|
|
{
|
2022-03-23 09:52:34 +00:00
|
|
|
type : 'match[user-password]',
|
2022-03-22 15:15:56 +00:00
|
|
|
prompt : text.form_profile_password
|
2022-03-15 09:43:53 +00:00
|
|
|
}
|
|
|
|
]
|
2022-04-07 09:37:44 +00:00
|
|
|
}
|
2022-03-15 09:43:53 +00:00
|
|
|
}
|
|
|
|
});
|
2022-03-25 09:30:38 +00:00
|
|
|
|
2022-04-07 09:14:32 +00:00
|
|
|
$('.ui.dropdown').dropdown();
|
|
|
|
$('.ui.dropdown.locale').dropdown({
|
2022-03-25 12:41:17 +00:00
|
|
|
sortSelect : 'natural',
|
|
|
|
});
|
2022-04-07 10:07:56 +00:00
|
|
|
$('.ui.progress').progress();
|
2022-03-15 09:43:53 +00:00
|
|
|
});
|