summaryrefslogtreecommitdiff
path: root/app/views/dashboard/_raft_allocation.html.erb
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2025-08-24 20:29:54 +0200
committerMarius Peter <marius.peter@tutanota.com>2025-08-24 20:29:54 +0200
commit52b044d6a4278c229992404ad5801769c2d13363 (patch)
treeb30b34da58f26117c035391d09366b190350b1e3 /app/views/dashboard/_raft_allocation.html.erb
First commit.
Vive le Castel Peter !
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