continue to backport old code

This commit is contained in:
2021-04-24 00:24:05 +02:00
parent 5d7217f355
commit 04434760c5
72 changed files with 795 additions and 78 deletions

View File

@@ -0,0 +1,20 @@
<h2>Mount list</h2>
<table class="table table-hover table-dark table-image">
<thead>
<tr>
<th scope="col"><%= t('mount_list.name') %></th>
<th scope="col"><%= t('mount_list.description') %></th>
<th scope="col"><%= t('mount_list.owned') %></th>
</tr>
</thead>
<tbody>
<% @wow_mounts.each do |mount| %>
<tr>
<td><%= link_to mount.name, mount %></td>
<td><%= mount.description %></td>
<td></td>
</tr>
<% end %>
</tbody>
</table>

View File

@@ -0,0 +1,17 @@
<div class="row">
<div class="col-5">
<div class="card">
<% if @wow_mount.asset_zoom %>
<img src=<%= @wow_mount.asset_zoom %> class="card-img-top" alt="mount-zoom-image">
<% end %>
<div class="card-body">
<h5 class="card-title"><%= @wow_mount.name %></h5>
<p class="card-text">Description: <%= @wow_mount.description %></p>
<p class="card-text">Owned: </p>
</div>
</div>
</div>
<div class="col-7">
<h1>Suite de la page de la monture</h1>
</div>
</div>