UPDATE-RATE

Die Test-Installation wird aktuell zwischen 8:00 und 18:00 Uhr stündlich zur vollen Stunde aktualisiert.

Alles neu macht der Mai

ILIAS 9 ist da! Alle Infos zu den Highlights der neuen Version gibt es hier!

Documentation

Kitchen Sink documentation of style: 'Delos' of skin: 'ILIAS'

Apply

Description

Purpose
The Apply Glyph is used to indicate the possibilty of applying changes which the user has made within a control, i.e. a filter.
Composition
The Apply Glyph uses the glyphicon-ok.
Effect
Upon clicking, the page is reloaded immediately with the updated content reflected in the control. In case of a filter, it means that the entries in a table change in accordance with the filter values set by the user.

Rules

Usage
  1. The Apply Glyph SHOULD not come without a Reset Glyph and vice versa.
  2. If there are no changes to apply, the Apply Glyph MUST be deactivated (or not be clickable).
Style
  1. The deactivated state of the Apply Glyph MUST be visually noticeable for the user, i.e. by greying out the Apply Glyph.
Accessibility
  1. The aria-label MUST be 'Apply'.

Example 1: Apply

Active
Inactive
Highlighted
<?php
 
declare(strict_types=1);
 
namespace ILIAS\UI\examples\Symbol\Glyph\Apply;
 
function apply()
{
    global $DIC;
    $f = $DIC->ui()->factory();
    $renderer = $DIC->ui()->renderer();
    $glyph = $f->symbol()->glyph()->apply("#");
 
    //Showcase the various states of this Glyph
    $list = $f->listing()->descriptive([
        "Active" => $glyph,
        "Inactive" => $glyph->withUnavailableAction(),
        "Highlighted" => $glyph->withHighlight()
    ]);
 
    return $renderer->render($list);
}
 

Relations

Parents
  1. UIComponent
  2. Symbol
  3. Glyph