mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
12 lines
651 B
Smarty
12 lines
651 B
Smarty
<?php if($id==null){ ?>
|
|
<span class="btn btn-primary btn-sm"><i class="fa fa-refresh"></i> <?php echo $description;?></span>
|
|
<?php }else if($id==1){ ?>
|
|
<span class="btn btn-danger btn-sm"><i class="fa fa-ban"></i> <?php echo $description;?></span>
|
|
<?php }else if($id==2){ ?>
|
|
<span class="btn btn-warning btn-sm"><i class="fa fa-exclamation-triangle"></i> <?php echo $description;?></span>
|
|
<?php }else if($id==3){ ?>
|
|
<span class="btn btn-info btn-sm"><i class="fa fa-info-circle"></i> <?php echo $description;?></span>
|
|
<?php }else{ ?>
|
|
<span class="btn btn-success btn-sm"><i class="fa fa-check-circle"></i> <?php echo $description;?></span>
|
|
<?php } ?>
|