Skip to content

Commit

Permalink
give color for icon
Browse files Browse the repository at this point in the history
  • Loading branch information
agungsugiarto committed Apr 15, 2020
1 parent 4932622 commit 8d6b0d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Views/Menu/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<?php endforeach ?>
</select>
<span class="help-block">
<i class="fas fa-exclamation-triangle"></i>&nbsp;<?= lang('menu.warning_parent') ?>
<i class="fas fa-exclamation-triangle text-danger"></i>&nbsp;<?= lang('menu.warning_parent') ?>
</span>
<?php if (session('error.parent_id')) : ?>
<div class="invalid-feedback">
Expand Down Expand Up @@ -87,7 +87,7 @@
<?php endif ?>
</div>
<span class="help-block">
<i class="fa fa-info-circle"></i>&nbsp;<?= lang('menu.info_icon') ?> <a href="http://fontawesome.io/icons" target="_blank">http://fontawesome.io/icons</a>
<i class="fa fa-info-circle text-info"></i>&nbsp;<?= lang('menu.info_icon') ?> <a href="http://fontawesome.io/icons" target="_blank">http://fontawesome.io/icons</a>
</span>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/Views/Menu/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<option value="0">ROOT</option>
</select>
<span class="help-block">
<i class="fas fa-exclamation-triangle"></i>&nbsp;<?= lang('menu.warning_parent') ?>
<i class="fas fa-exclamation-triangle text-danger"></i>&nbsp;<?= lang('menu.warning_parent') ?>
</span>
</div>
</div>
Expand All @@ -41,7 +41,7 @@
<input type="text" name="icon" class="icon-picker form-control" placeholder="<?= lang('menu.place_icon') ?>" autocomplete="off">
</div>
<span class="help-block">
<i class="fa fa-info-circle"></i>&nbsp;<?= lang('menu.info_icon') ?> <a href="http://fontawesome.io/icons" target="_blank">http://fontawesome.io/icons</a>
<i class="fa fa-info-circle text-info"></i>&nbsp;<?= lang('menu.info_icon') ?> <a href="http://fontawesome.io/icons" target="_blank">http://fontawesome.io/icons</a>
</span>
</div>
</div>
Expand Down

0 comments on commit 8d6b0d3

Please sign in to comment.