start porting Replication to jQuery
This commit is contained in:
25
js/replication.js
Normal file
25
js/replication.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* for server_replication.php
|
||||
*
|
||||
*/
|
||||
$(document).ready(function() {
|
||||
$('#master_status_href').click(function() {
|
||||
$('#replication_master_section').toggle();
|
||||
});
|
||||
$('#master_slaves_href').click(function() {
|
||||
$('#replication_slaves_section').toggle();
|
||||
});
|
||||
$('#slave_status_href').click(function() {
|
||||
$('#replication_slave_section').toggle();
|
||||
});
|
||||
$('#slave_control_href').click(function() {
|
||||
$('#slave_control_gui').toggle();
|
||||
});
|
||||
$('#slave_errormanagement_href').click(function() {
|
||||
$('#slave_errormanagement_gui').toggle();
|
||||
});
|
||||
$('#slave_synchronization_href').click(function() {
|
||||
$('#slave_synchronization_gui').toggle();
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user