summaryrefslogtreecommitdiffstats
path: root/glances/outputs/bottle/plugin_table.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'glances/outputs/bottle/plugin_table.tpl')
-rw-r--r--glances/outputs/bottle/plugin_table.tpl22
1 files changed, 22 insertions, 0 deletions
diff --git a/glances/outputs/bottle/plugin_table.tpl b/glances/outputs/bottle/plugin_table.tpl
new file mode 100644
index 00000000..f98e5497
--- /dev/null
+++ b/glances/outputs/bottle/plugin_table.tpl
@@ -0,0 +1,22 @@
+% if stats['msgdict'] != []:
+<section id="{{ plugin_name }}" class="plugin">
+ <table class="table">
+ <tbody>
+ <tr>
+ % for msg in stats['msgdict']:
+ % if msg['msg'].startswith('\n'):
+ </tr>
+ <tr>
+ % else:
+ % if stats['display']:
+ <td class="{{ msg['decoration'].lower() }} {{ 'hidden-xs hidden-sm' if msg['optional'] else '' }}">
+ {{ msg['msg'] }}
+ </td>
+ % end
+ % end
+ % end
+ </tr>
+ </tbody>
+ </table>
+</section>
+% end \ No newline at end of file