summaryrefslogtreecommitdiff
path: root/app/views/dashboard/_raft_allocation.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/dashboard/_raft_allocation.html.erb')
-rw-r--r--app/views/dashboard/_raft_allocation.html.erb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/dashboard/_raft_allocation.html.erb b/app/views/dashboard/_raft_allocation.html.erb
new file mode 100644
index 0000000..ef95cdd
--- /dev/null
+++ b/app/views/dashboard/_raft_allocation.html.erb
@@ -0,0 +1,9 @@
+<div class="card shadow mb-4">
+ <div class="card-header d-flex justify-content-between align-items-center">
+ <h5 class="mb-0">Raft Allocation</h5>
+ <%= link_to "Edit raft allocation", editor_rafts_path, class: "btn btn-sm btn-primary" %>
+ </div>
+
+ <%= bar_chart @raft_data, stacked: true %>
+</div>
+
Copyright 2019--2025 Marius PETER