Skip to content
Snippets Groups Projects
Select Git revision
  • e73f24dd5a2e7c5f67a984584ed553937ae9a235
  • master default protected
  • Legacy_Php7
3 results

git_update_appmonitor.sh

Blame
  • render-adminlte.class.php 45.29 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
     * 
     * ======================================================================
     *
     * @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'
                ]
            ],
            'size'=>[
                'description'=>'set a size',