<?php 


echo $renderAdminLTE->addRow(
    '<h2>Badges</h2>'
)

// .print_r($renderAdminLTE->showKeyHelp("color"), 1)

.$renderAdminLTE->addRow(
    '<h3>Syntax</h3>
    <pre>
    echo $renderAdminLTE->getBadge($aOptions)
    </pre>
    '
)
.$renderAdminLTE->addRow(
    '<h3>Keys</h3>
    <table class="table">
    <tr>
        <th>Key</th>
        <th>Description</th>
    </tr>
    <tr>
        <td>bgcolor</td>
        <td>background color (without prefix "bg")</td>
    </tr>
    <tr>
        <td>class</td>
        <td>any css class for customizing, eg. "disabled"</td>
    </tr>
    <tr>
        <td>id</td>
        <td>optional: id attribute</td>
    </tr>
    <tr>
        <td>text</td>
        <td>button label text</td>
    </tr>
    <tr>
        <td>title</td>
        <td>optional: title attribute</td>
    </tr>
    <tr>
        <td>type</td>
        <td>one of [none]|danger|info|primary|success|warning</td>
    </tr>
    </table>
    '
)
.$renderAdminLTE->addRow(
    '<h3>Example</h3><pre>
    $renderAdminLTE->getBadge([
        \'type\'=>\'danger\',
        \'title\'=>\'Errors: 5\',
        \'text\'=>\'5\',
    ])
    </pre>
    '
)
.$renderAdminLTE->addRow(
    '<h3>Test</h3>
    
    <p>
        Text and badge in a span tag:
        <span>
        Errors
        '

        . $renderAdminLTE->getBadge([
            'type'=>'danger',
            'title'=>'Errors: 5',
            'text'=>'5',
        ])
        .'
        </span>.
    </p>
    '
)
;