From 9691ccf48f64dd0fac669ae51943907cc8da9b78 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 6 Feb 2022 20:23:11 +0100 Subject: Added status indicator and avatar --- tpl/objects/status-indicator.pug | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tpl/objects/status-indicator.pug (limited to 'tpl/objects/status-indicator.pug') diff --git a/tpl/objects/status-indicator.pug b/tpl/objects/status-indicator.pug new file mode 100644 index 0000000..9b240e1 --- /dev/null +++ b/tpl/objects/status-indicator.pug @@ -0,0 +1,8 @@ +mixin status-indicator(status) + - + let classes = { + 'o-status-indicator': true, + } + classes['is-' + status] = true + + div(class=classes)&attributes(attributes) -- cgit v1.2.3-54-g00ecf