jQuery update

This commit is contained in:
Roland Gruber 2018-11-01 11:21:03 +01:00
parent b197b6297b
commit baeaa0f98b
11 changed files with 13563 additions and 10189 deletions

View File

@ -2,7 +2,7 @@
namespace LAM\CONFIG;
/*
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2017 Roland Gruber
Copyright (C) 2017 - 2018 Roland Gruber
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -120,20 +120,20 @@ function printConfigurationPageTabs($active) {
// tabs
?>
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all">
<div class="ui-tabs ui-corner-all ui-widget ui-widget-content">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<ul class="ui-tabs-nav ui-corner-all ui-helper-reset ui-helper-clearfix ui-widget-header">
<?php
foreach ($tabs as $tab => $settings) {
$isActive = ($tab === $active);
$liClasses = 'ui-state-default ui-corner-top';
$liClasses = 'ui-tabs-tab ui-corner-top ui-state-default ui-tab';
$hover = ' onmouseover="jQuery(this).addClass(\'tabs-hover\');" onmouseout="jQuery(this).removeClass(\'tabs-hover\');"';
if ($isActive) {
$liClasses .= ' lam-active-tab';
$hover = '';
}
echo '<li id="' . $settings['id'] . '" class="' . $liClasses . '"' . $hover . '>';
echo '<a href="#" onclick="document.getElementsByName(\'' . $settings['id'] . '\')[0].click();"><img src="../../graphics/' . $settings['icon'] . '" alt=""> ';
echo '<a class="ui-tabs-anchor" href="#" onclick="document.getElementsByName(\'' . $settings['id'] . '\')[0].click();"><img src="../../graphics/' . $settings['icon'] . '" alt=""> ';
echo '<span class="hide-on-mobile">' . $settings['label'] . '</span>';
echo '</a>';
echo '</li>';

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@ -860,7 +860,7 @@ window.lam.tools.addSavedSelectListener = function() {
* Activates tabs.
*/
window.lam.tools.activateTab = function() {
jQuery('.lam-active-tab').addClass('ui-tabs-active ui-state-active user-bright');
jQuery('.lam-active-tab').addClass('ui-tabs-active ui-state-active');
};
/**