diff --git a/interface/web/admin/templates/server_ip_list.htm b/interface/web/admin/templates/server_ip_list.htm index f24e93dded92545ad7867cf16550f735e18568db..892c263f20e2b3304c6fc40a5419a81472d2c4a8 100644 --- a/interface/web/admin/templates/server_ip_list.htm +++ b/interface/web/admin/templates/server_ip_list.htm @@ -62,8 +62,3 @@ </tfoot> </table> </div> -<script> -$(document).ready(function(){ - $('[data-toggle="tooltip"]').tooltip(); -}); -</script> \ No newline at end of file diff --git a/interface/web/client/templates/clients_list.htm b/interface/web/client/templates/clients_list.htm index 9f6086d19d5e9b472bdcc796692e6473b64f258e..644c770d34fed953d62bb5b91294f52b879a52c1 100644 --- a/interface/web/client/templates/clients_list.htm +++ b/interface/web/client/templates/clients_list.htm @@ -82,8 +82,3 @@ </tfoot> </table> </div> -<script> -$(document).ready(function(){ - $('[data-toggle="tooltip"]').tooltip(); -}); -</script> \ No newline at end of file diff --git a/interface/web/client/templates/resellers_list.htm b/interface/web/client/templates/resellers_list.htm index 49ef5164f4378ed689cbe49f95d2515a4757f592..50a9ec239c326d5a8c6dc1a1230cb0b4e4810ff0 100644 --- a/interface/web/client/templates/resellers_list.htm +++ b/interface/web/client/templates/resellers_list.htm @@ -67,8 +67,3 @@ </tfoot> </table> </div> -<script> -$(document).ready(function(){ - $('[data-toggle="tooltip"]').tooltip(); -}); -</script> \ No newline at end of file diff --git a/interface/web/dns/templates/dns_soa_admin_list.htm b/interface/web/dns/templates/dns_soa_admin_list.htm index b2b6d27917949a77f68cfb0f13ee6d5dd9cf2dc1..fbdc0398ed2ee42c60be9905e62c278b314b9794 100644 --- a/interface/web/dns/templates/dns_soa_admin_list.htm +++ b/interface/web/dns/templates/dns_soa_admin_list.htm @@ -81,8 +81,3 @@ </tfoot> </table> </div> -<script> -$(document).ready(function(){ - $('[data-toggle="tooltip"]').tooltip(); -}); -</script> \ No newline at end of file diff --git a/interface/web/dns/templates/dns_soa_list.htm b/interface/web/dns/templates/dns_soa_list.htm index c7b9e46c0f1e62249fc42162cc9adf8d7e7c4863..22cd19484e1ee29d95ea60e936fee92f4a1319dc 100644 --- a/interface/web/dns/templates/dns_soa_list.htm +++ b/interface/web/dns/templates/dns_soa_list.htm @@ -78,8 +78,3 @@ </tfoot> </table> </div> -<script> -$(document).ready(function(){ - $('[data-toggle="tooltip"]').tooltip(); -}); -</script> \ No newline at end of file diff --git a/interface/web/js/js.d/jquery.tooltip.js b/interface/web/js/js.d/jquery.tooltip.js new file mode 100644 index 0000000000000000000000000000000000000000..e22dc9e40f247ba326c57b4e9ff4515b282f52a7 --- /dev/null +++ b/interface/web/js/js.d/jquery.tooltip.js @@ -0,0 +1,3 @@ +$(document).hover(function(){ + $('[data-toggle="tooltip"]').tooltip(); +}); \ No newline at end of file diff --git a/interface/web/mail/templates/mail_user_list.htm b/interface/web/mail/templates/mail_user_list.htm index 5ec9dfed631b513c98df9a2457a9f28c0c4e1fd5..4e2fedd50c2af2111bef51f836925b4dc04e74fc 100644 --- a/interface/web/mail/templates/mail_user_list.htm +++ b/interface/web/mail/templates/mail_user_list.htm @@ -92,8 +92,3 @@ </tfoot> </table> </div> - <script> -$(document).ready(function(){ - $('[data-toggle="tooltip"]').tooltip(); -}); -</script> \ No newline at end of file diff --git a/interface/web/sites/templates/cron_list.htm b/interface/web/sites/templates/cron_list.htm index 58a44cc1253c7d5c2249d26b7136baaebd8e2898..b38a6224a5f8bc999194b5e27698200ab7bb0ba7 100644 --- a/interface/web/sites/templates/cron_list.htm +++ b/interface/web/sites/templates/cron_list.htm @@ -74,8 +74,3 @@ </tfoot> </table> </div> -<script> -$(document).ready(function(){ - $('[data-toggle="tooltip"]').tooltip(); -}); -</script> diff --git a/interface/web/sites/templates/database_admin_list.htm b/interface/web/sites/templates/database_admin_list.htm index d377ff5ea92905e14ad6fc4a38cf3b374fda7532..efec2285566a742bea04fea3ec193ad8f8ac4d43 100644 --- a/interface/web/sites/templates/database_admin_list.htm +++ b/interface/web/sites/templates/database_admin_list.htm @@ -72,8 +72,3 @@ </tfoot> </table> </div> -<script> -$(document).ready(function(){ - $('[data-toggle="tooltip"]').tooltip(); -}); -</script> \ No newline at end of file diff --git a/interface/web/sites/templates/database_list.htm b/interface/web/sites/templates/database_list.htm index 6aeb8518f8ba4c574fc5d64e25543aed1a97031c..4d9f91a7c16cb64b26383b768eead7660ef6fe75 100644 --- a/interface/web/sites/templates/database_list.htm +++ b/interface/web/sites/templates/database_list.htm @@ -60,9 +60,9 @@ <td><a href="#" data-load-content="sites/database_edit.php?id={tmpl_var name='id'}">{tmpl_var name="active"}</a></td> <td><a href="#" data-load-content="sites/database_edit.php?id={tmpl_var name='id'}">{tmpl_var name="remote_access"}</a></td> <td><a href="#" data-load-content="sites/database_edit.php?id={tmpl_var name='id'}">{tmpl_var name="type"}</a></td> - <td><a href="#" data-load-content="sites/database_edit.php?id={tmpl_var name='id'}">{tmpl_var name="server_id"}</a></td> - <td><a href="#" data-load-content="sites/database_edit.php?id={tmpl_var name='id'}">{tmpl_var name="parent_domain_id"}</a></td> - <td><a href="#" data-load-content="sites/database_edit.php?id={tmpl_var name='id'}">{tmpl_var name="database_user_id"}</a></td> + <td><a href="#" data-load-content="sites/database_edit.php?id={tmpl_var name='id'}" data-toggle="tooltip" data-placement="bottom" title="{tmpl_var name='server_id'}">{tmpl_var name="server_id"}</a></td> + <td><a href="#" data-load-content="sites/database_edit.php?id={tmpl_var name='id'}" data-toggle="tooltip" data-placement="bottom" title="{tmpl_var name='parent_domain_id'}">{tmpl_var name="parent_domain_id"}</a></td> + <td><a href="#" data-load-content="sites/database_edit.php?id={tmpl_var name='id'}" data-toggle="tooltip" data-placement="bottom" title="{tmpl_var name='database_user_id'}">{tmpl_var name="database_user_id"}</a></td> <td><a href="#" data-load-content="sites/database_edit.php?id={tmpl_var name='id'}">{tmpl_var name="database_name"}</a></td> <td class="text-right"> <tmpl_if name="dblist_phpmyadmin_link"> @@ -86,5 +86,3 @@ </tfoot> </table> </div> - - \ No newline at end of file diff --git a/interface/web/sites/templates/web_vhost_domain_admin_list.htm b/interface/web/sites/templates/web_vhost_domain_admin_list.htm index 64ecd9e9ad983860908b1ae07ca59635d579a251..6f0e8f39ca5938a07d7372eec355e4c488bad46a 100644 --- a/interface/web/sites/templates/web_vhost_domain_admin_list.htm +++ b/interface/web/sites/templates/web_vhost_domain_admin_list.htm @@ -64,8 +64,3 @@ </tfoot> </table> </div> -<script> -$(document).ready(function(){ - $('[data-toggle="tooltip"]').tooltip(); -}); -</script> \ No newline at end of file diff --git a/interface/web/sites/templates/web_vhost_domain_list.htm b/interface/web/sites/templates/web_vhost_domain_list.htm index 19a11926993a8807b4c323b7cc1cb2c67ddc3c1c..1ece7aca9ae8837766e0f9b3ca2717425321f4cd 100644 --- a/interface/web/sites/templates/web_vhost_domain_list.htm +++ b/interface/web/sites/templates/web_vhost_domain_list.htm @@ -78,8 +78,3 @@ </tfoot> </table> </div> -<script> -$(document).ready(function(){ - $('[data-toggle="tooltip"]').tooltip(); -}); -</script> \ No newline at end of file