summaryrefslogtreecommitdiff
path: root/resources/views/macros
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/macros')
-rw-r--r--resources/views/macros/base.twig11
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 %}