diff options
| author | Volpeon <git@volpeon.ink> | 2022-02-06 20:23:11 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2022-02-06 20:23:11 +0100 |
| commit | 9691ccf48f64dd0fac669ae51943907cc8da9b78 (patch) | |
| tree | 01fa18eee29ec1266bbe3d276a8dac6f54390f16 /tpl/objects/status-indicator.pug | |
| parent | Fixes (diff) | |
| download | iro-design-9691ccf48f64dd0fac669ae51943907cc8da9b78.tar.gz iro-design-9691ccf48f64dd0fac669ae51943907cc8da9b78.tar.bz2 iro-design-9691ccf48f64dd0fac669ae51943907cc8da9b78.zip | |
Added status indicator and avatar
Diffstat (limited to 'tpl/objects/status-indicator.pug')
| -rw-r--r-- | tpl/objects/status-indicator.pug | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ | |||
| 1 | mixin status-indicator(status) | ||
| 2 | - | ||
| 3 | let classes = { | ||
| 4 | 'o-status-indicator': true, | ||
| 5 | } | ||
| 6 | classes['is-' + status] = true | ||
| 7 | |||
| 8 | div(class=classes)&attributes(attributes) | ||
