Skip to content

Commit

Permalink
Merge branch 'release-54.15.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jul 3, 2024
2 parents 6a57c05 + 09b5eb4 commit f680fd7
Show file tree
Hide file tree
Showing 26 changed files with 148 additions and 35 deletions.
40 changes: 38 additions & 2 deletions helpers/class.Icon.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* Copyright (c) 2014-2023 (original work) Open Assessment Technologies SA (under the project TAO-PRODUCT);
* Copyright (c) 2014-2024 (original work) Open Assessment Technologies SA (under the project TAO-PRODUCT);
*/

use oat\tao\model\iconBuilder\IconBuilderTrait;
Expand All @@ -27,13 +27,19 @@
*
* @access public
* @author Dieter Raber, <[email protected]>
* @date 2023-06-16 10:17:15
* @date 2024-06-27 15:30:38
* @package tao
*/
class tao_helpers_Icon
{
use IconBuilderTrait;

public const CLASS_SD_IMPORT = 'icon-sd-import';
public const CLASS_SD_EXPORT = 'icon-sd-export';
public const CLASS_BROWSE = 'icon-browse';
public const CLASS_MINUS = 'icon-minus';
public const CLASS_PLUS = 'icon-plus';
public const CLASS_SD_SAVE = 'icon-sd-save';
public const CLASS_BACK_BUTTON = 'icon-back-button';
public const CLASS_JAPAN_INCORRECT = 'icon-japan-incorrect';
public const CLASS_JAPAN_CORRECT = 'icon-japan-correct';
Expand Down Expand Up @@ -266,6 +272,36 @@ class tao_helpers_Icon
public const CLASS_ELIMINATE_CROSSED = 'icon-eliminate-crossed';
public const CLASS_PLAY_FROM_HERE = 'icon-play-from-here';

public static function iconSdImport(array $options = [])
{
return self::buildIcon(self::CLASS_SD_IMPORT, $options);
}

public static function iconSdExport(array $options = [])
{
return self::buildIcon(self::CLASS_SD_EXPORT, $options);
}

public static function iconBrowse(array $options = [])
{
return self::buildIcon(self::CLASS_BROWSE, $options);
}

public static function iconMinus(array $options = [])
{
return self::buildIcon(self::CLASS_MINUS, $options);
}

public static function iconPlus(array $options = [])
{
return self::buildIcon(self::CLASS_PLUS, $options);
}

public static function iconSdSave(array $options = [])
{
return self::buildIcon(self::CLASS_SD_SAVE, $options);
}

public static function iconBackButton(array $options = [])
{
return self::buildIcon(self::CLASS_BACK_BUTTON, $options);
Expand Down
Binary file modified views/css/font/tao/tao.eot
Binary file not shown.
8 changes: 7 additions & 1 deletion views/css/font/tao/tao.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified views/css/font/tao/tao.ttf
Binary file not shown.
Binary file modified views/css/font/tao/tao.woff
Binary file not shown.
2 changes: 1 addition & 1 deletion views/css/tao-main-style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion views/css/tao-main-style.css.map

Large diffs are not rendered by default.

Loading

0 comments on commit f680fd7

Please sign in to comment.