mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-21 21:57:47 +00:00
REL-0.9 Add css classes for ok/err
This commit is contained in:
parent
43528a6327
commit
cce2ed885a
@ -529,9 +529,9 @@ function getCirle($name) {
|
||||
<?php $i=1; foreach ($docker as $conn): ?>
|
||||
|
||||
<?php if ($conn['succ']): ?>
|
||||
<?php $text = '<span class="text-success"><i class="fa fa-check-square"></i></span> '.$conn['host']; ?>
|
||||
<?php $text = '<span class="text-success dvlbox-ok"><i class="fa fa-check-square"></i></span> '.$conn['host']; ?>
|
||||
<?php else: ?>
|
||||
<?php $text = '<span class="text-danger"><i class="fa fa-exclamation-triangle"></i></span> '.$conn['host'].'<br/>'.$conn['error']; ?>
|
||||
<?php $text = '<span class="text-danger dvlbox-err"><i class="fa fa-exclamation-triangle"></i></span> '.$conn['host'].'<br/>'.$conn['error']; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($i == 1): $i++;?>
|
||||
|
Loading…
Reference in New Issue
Block a user