diff options
Diffstat (limited to 'resources/views/macros/base.twig')
-rw-r--r-- | resources/views/macros/base.twig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/resources/views/macros/base.twig b/resources/views/macros/base.twig new file mode 100644 index 00000000..94287bd4 --- /dev/null +++ b/resources/views/macros/base.twig @@ -0,0 +1,11 @@ +{% macro angel() %} + <span class="icon-icon_angel"></span> +{% endmacro %} + +{% macro glyphicon(glyph) %} + <span class="glyphicon glyphicon-{{ glyph }}"></span> +{% endmacro %} + +{% macro alert(message, type) %} + <div class="alert alert-{{ type|default('info') }}">{{ message }}</div> +{% endmacro %} |