Skip to content
Snippets Groups Projects
Select Git revision
  • a9ed9bda3a38bbee5d8c7e39cfe6063c7b3a4377
  • master default protected
  • simple-task/7248-eol-check-add-node-22
  • 6877_check_iml_deployment
4 results

_index.md

Blame
  • render-adminlte.class.php 53.61 KiB
    <?php
    require_once 'htmlelements.class.php';
    /**
     * ======================================================================
     * 
     * RENDERER FOR ADNINLTE template https://adminlte.io
     * DOCS: https://adminlte.io/docs/3.2/
     *       https://adminlte.io/themes/v3/index3.html
     * 
     * ----------------------------------------------------------------------
     * 2023-09-11  <axel.hahn@unibe.ch>  add shadows on card + callout
     * ======================================================================
     *
     * @author Axel
     */
    class renderadminlte {
    
        var $aPresets=[
    
            'bgcolor'=>[
                'description'=>'background colors',
                'group'=>'styling',
                'values'=>[
                    // https://adminlte.io/themes/v3/pages/UI/general.html
                    ''=>'no value',
                    'indigo'=>'indigo',
                    'lightblue'=>'',
                    'navy'=>'',
                    'purple'=>'',
                    'fuchsia'=>'',
                    'pink'=>'',
                    'maroon'=>'',
                    'orange'=>'',
                    'lime'=>'',
                    'teal'=>'',
                    'olive'=>'',
            
                    'black'=>'black',
                    'dark'=>'dark gray',
                    'gray'=>'gray', 
                    'light'=>'light gray', 
                ]
            ],
        
            'type'=>[
                'description'=>'type or status like info/ warning/ danger to define a color',
                'group'=>'styling',
                'values'=>[
                    ''=>'no value',
                    'danger'=>'red',
                    'info'=>'aqua',
                    'primary'=>'blue',
                    'secondary'=>'gray',
                    'success'=>'green',
                    'warning'=>'yellow',
                    'dark'=>'dark gray',
                    'gray'=>'gray', 
                ]
            ],
            'shadow'=>[
                'description'=>'use a shadow',
                'group'=>'styling',
                'values'=>[
                    ''=>'no value', 
                    'none'=>'none',
                    'small'=>'small', 
                    'regular'=>'regular',
                    'large'=>'large'
                ]
            ],