Use an icon in the incompatibility warning message

The incompatibility warning message has an exclamation triangle icon to
call attention to it.

Signed-off-by: ADTC <send2adtc@gmail.com>
This commit is contained in:
ADTC 2017-03-13 21:41:29 +08:00
parent e969cc95b2
commit b57020b421
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ foreach($plugins['all'] as $Plugin)
echo '<td>';
echo $Plugin->description();
if( !$Plugin->isCompatible() ) {
echo '<div class="plugin-incompatible">This plugin is incompatible with Bludit v'.BLUDIT_VERSION.'</div>';
echo '<div class="plugin-incompatible"><i class="uk-icon-exclamation-triangle"></i> This plugin is incompatible with Bludit v'.BLUDIT_VERSION.'</div>';
}
echo '</td>';

View File

@ -38,7 +38,7 @@ foreach($themes as $theme)
echo $theme['description'];
if( !$theme['compatible'] ) {
echo '<div class="theme-incompatible">This theme is incompatible with Bludit v'.BLUDIT_VERSION.'</div>';
echo '<div class="theme-incompatible"><i class="uk-icon-exclamation-triangle"></i> This theme is incompatible with Bludit v'.BLUDIT_VERSION.'</div>';
}
echo '</td>';