update badge doc
This commit is contained in:
parent
b222c44bb9
commit
8ca3049382
@ -282,9 +282,8 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/functions.lib.php';
|
||||
<?php print badgeHelper('your label for accessibility', 'your label <u>with</u> <em>html</em>', 'warning', 'dot') ?>
|
||||
|
||||
<figure class="highlight"><pre>
|
||||
<?php print badgeHelper('your label for accessibility', ' your label <u>with</u> <em>html</em>', 'primary') ?>
|
||||
<?php print badgeHelper('your label for accessibility', ' your label <u>with</u> <em>html</em>', 'danger', 'pill') ?>
|
||||
<?php print badgeHelper('your label for accessibility', ' your label <u>with</u> <em>html</em>', 'warning', 'dot') ?>
|
||||
<?php print badgeHelper('your label for accessibility', 'your label <u>with</u> <em>html</em>', 'danger', 'pill') ?>
|
||||
<?php print badgeHelper('your label for accessibility', 'your label <u>with</u> <em>html</em>', 'warning', 'dot') ?>
|
||||
</pre></figure>
|
||||
|
||||
<h2 id="helper">Use status helper function</h2>
|
||||
@ -307,6 +306,21 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/functions.lib.php';
|
||||
<p><?php print statusHelper('your label for accessibility', 'your label <u>with</u> <em>html</em>', 'status4',3) ?></p>
|
||||
|
||||
<?php $conf->global->MAIN_STATUS_USES_CSS = $saveGlobalConf; ?>
|
||||
|
||||
|
||||
<figure class="highlight"><pre>
|
||||
<?php print statusHelper('your label for accessibility', 'your label <u>with</u> <em>html</em>', 'status4') ?>
|
||||
<?php print statusHelper('your label for accessibility', 'your label <u>with</u> <em>html</em>', 'status4',1) ?>
|
||||
<?php print statusHelper('your label for accessibility', 'your label <u>with</u> <em>html</em>', 'status4',2) ?>
|
||||
<?php print statusHelper('your label for accessibility', 'your label <u>with</u> <em>html</em>', 'status4',3) ?>
|
||||
</pre></figure>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</main>
|
||||
|
||||
</body>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user