Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
VladislavSokov committed Jul 22, 2024
1 parent ac634fa commit cf243b8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions app/views/actual_db_schema/migrations/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
</head>
<body>
<div>
<% flash.each do |key, message| %>
<div class="flash <%= key %>"><%= message %></div>
<% end %>
<h2>Migrations</h2>
<p>
<span style="background-color: #ffe6e6; padding: 0 5px;">Red rows</span> represent phantom migrations.
Expand Down Expand Up @@ -64,8 +67,5 @@
<p>No migrations found.</p>
<% end %>
</div>
<% flash.each do |key, message| %>
<div class="flash <%= key %>"><%= message %></div>
<% end %>
</body>
</html>
6 changes: 3 additions & 3 deletions app/views/actual_db_schema/migrations/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
</head>
<body>
<div>
<% flash.each do |key, message| %>
<div class="flash <%= key %>"><%= message %></div>
<% end %>
<h2>Migration <%= migration[:name] %> Details</h2>
<table>
<tbody>
Expand Down Expand Up @@ -52,8 +55,5 @@
style: ('display: none;' if migration[:status] == "up" || migration[:phantom]) %>
</div>
</div>
<% flash.each do |key, message| %>
<div class="flash <%= key %>"><%= message %></div>
<% end %>
</body>
</html>
6 changes: 3 additions & 3 deletions app/views/actual_db_schema/phantom_migrations/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
</head>
<body>
<div>
<% flash.each do |key, message| %>
<div class="flash <%= key %>"><%= message %></div>
<% end %>
<h2>Phantom Migrations</h2>
<div class="top-buttons">
<%= link_to 'All Migrations', migrations_path, class: "top-button" %>
Expand Down Expand Up @@ -61,8 +64,5 @@
<p>No phantom migrations found.</p>
<% end %>
</div>
<% flash.each do |key, message| %>
<div class="flash <%= key %>"><%= message %></div>
<% end %>
</body>
</html>
6 changes: 3 additions & 3 deletions app/views/actual_db_schema/phantom_migrations/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
</head>
<body>
<div>
<% flash.each do |key, message| %>
<div class="flash <%= key %>"><%= message %></div>
<% end %>
<h2>Phantom Migration <%= phantom_migration[:name] %> Details</h2>
<table>
<tbody>
Expand Down Expand Up @@ -46,8 +49,5 @@
class: 'button migration-action' %>
</div>
</div>
<% flash.each do |key, message| %>
<div class="flash <%= key %>"><%= message %></div>
<% end %>
</body>
</html>

0 comments on commit cf243b8

Please sign in to comment.