mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-19 08:40:12 +01:00
finish gui changes
This commit is contained in:
parent
977b57dbb2
commit
89ec9898a3
15 changed files with 2459 additions and 2124 deletions
|
|
@ -644,6 +644,14 @@ var UsersPage = {
|
|||
var PreferencesPage = {
|
||||
setup_behavior: function() {
|
||||
$( "#tabs" ).tabs();
|
||||
|
||||
$( "button#prefs_submit" ).button();
|
||||
|
||||
$('input[name="user[auth_type]"]').change(function() {
|
||||
var value = $('input[name="user[auth_type]"]:checked').val();
|
||||
$('#open_id')[0].style.display = value == 'open_id' ? 'block' : 'none'
|
||||
$('#database')[0].style.display = value == 'database' ? 'block' : 'none'
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue