aboutsummaryrefslogtreecommitdiff
path: root/app/views/backends/terraform_aws_using_ami/in_use_store_paths.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/backends/terraform_aws_using_ami/in_use_store_paths.html.erb')
-rw-r--r--app/views/backends/terraform_aws_using_ami/in_use_store_paths.html.erb40
1 files changed, 40 insertions, 0 deletions
diff --git a/app/views/backends/terraform_aws_using_ami/in_use_store_paths.html.erb b/app/views/backends/terraform_aws_using_ami/in_use_store_paths.html.erb
new file mode 100644
index 0000000..c3b694c
--- /dev/null
+++ b/app/views/backends/terraform_aws_using_ami/in_use_store_paths.html.erb
@@ -0,0 +1,40 @@
+<%#
+
+GOV.UK Mini Environment Admin
+Copyright © 2018 Christopher Baines <mail@cbaines.net>
+
+This file is part of the GOV.UK Mini Environment Admin.
+
+The GOV.UK Mini Environment Admin is free software: you can
+redistribute it and/or modify it under the terms of the GNU Affero
+General Public License as published by the Free Software Foundation,
+either version 3 of the License, or (at your option) any later
+version.
+
+The GOV.UK Mini Environment Admin is distributed in the hope that it
+will be useful, but WITHOUT ANY WARRANTY; without even the implied
+warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
+the GNU Affero General Public License for more details.
+
+You should have received a copy of the GNU Affero General Public
+License along with the GOV.UK Mini Environment Admin. If not, see
+<http://www.gnu.org/licenses/>.
+
+%>
+
+<h1>Backend: <%= @backend.label %></h1>
+<% status = @backend.status %>
+
+<br>
+
+<h3>In use store paths</h3>
+
+<table class="table table-striped">
+ <% @backend.in_use_store_paths.each do |store_path| %>
+ <tr>
+ <td><%= store_path %></td>
+ <td>
+ </td>
+ </tr>
+ <% end %>
+</table>