|
|
@@ -1,67 +1,24 @@
|
|
|
@page "/weapon"
|
|
|
-@attribute [StreamRendering(true)]
|
|
|
|
|
|
-<h3>Weapon</h3>
|
|
|
-@if (Weapons == null)
|
|
|
-{
|
|
|
- <p><em>Loading...</em></p>
|
|
|
-}
|
|
|
-else
|
|
|
-{
|
|
|
- <table class="table">
|
|
|
- <thead>
|
|
|
- <tr>
|
|
|
- <th>Id</th>
|
|
|
- <th>Nom</th>
|
|
|
- <th>Genre</th>
|
|
|
- <th>Type</th>
|
|
|
- <th>Groupe</th>
|
|
|
- <th>Portée</th>
|
|
|
- <th>Modes</th>
|
|
|
- <th>Dégâts</th>
|
|
|
- <th>Type Dégâts</th>
|
|
|
- <th>Pénétration</th>
|
|
|
- <th>Autonomie</th>
|
|
|
- <th>Rechargement</th>
|
|
|
- <th>Attributs</th>
|
|
|
- <th>Accessoires</th>
|
|
|
- <th>Poids</th>
|
|
|
- <th>Bonus BF</th>
|
|
|
- <th>Prix</th>
|
|
|
- <th>Disponibilité</th>
|
|
|
- <th>Description</th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody>
|
|
|
- @foreach (var weapon in Weapons)
|
|
|
- {
|
|
|
- <tr>
|
|
|
- <td>@weapon.Id</td>
|
|
|
- <td>@weapon.Nom</td>
|
|
|
- <td>@weapon.Genre</td>
|
|
|
- <td>@weapon.Type</td>
|
|
|
- <td>@weapon.Groupe</td>
|
|
|
- <td>@weapon.Portée</td>
|
|
|
- <td>@weapon.Modes</td>
|
|
|
- <td>@weapon.Dégâts</td>
|
|
|
- <td>@weapon.TypeDégâts</td>
|
|
|
- <td>@weapon.Pénétration</td>
|
|
|
- <td>@weapon.Autonomie</td>
|
|
|
- <td>@weapon.Rechargement</td>
|
|
|
- <td>@weapon.Attributs</td>
|
|
|
- <td>@weapon.Accessoires</td>
|
|
|
- <td>@weapon.Poids</td>
|
|
|
- <td>@weapon.BonusBf</td>
|
|
|
- <td>@weapon.Prix</td>
|
|
|
- <td>@weapon.Disponibilité</td>
|
|
|
- <td>@weapon.Description</td>
|
|
|
- </tr>
|
|
|
- }
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
-}
|
|
|
|
|
|
-
|
|
|
-@code {
|
|
|
-
|
|
|
-}
|
|
|
+<div class="row border border-2">
|
|
|
+ <div class="col border border-2">@Arme.Id</div>
|
|
|
+ <div class="col border border-2">@Arme.Nom</div>
|
|
|
+ <div class="col border border-2">@Arme.Genre</div>
|
|
|
+ <div class="col border border-2">@Arme.Type</div>
|
|
|
+ <div class="col border border-2">@Arme.Groupe</div>
|
|
|
+ <div class="col border border-2">@Arme.Portée</div>
|
|
|
+ <div class="col border border-2">@Arme.Modes</div>
|
|
|
+ <div class="col border border-2">@Arme.Dégâts</div>
|
|
|
+ <div class="col border border-2">@Arme.TypeDégâts</div>
|
|
|
+ <div class="col border border-2">@Arme.Pénétration</div>
|
|
|
+ <div class="col border border-2">@Arme.Autonomie</div>
|
|
|
+ <div class="col border border-2">@Arme.Rechargement</div>
|
|
|
+ <div class="col border border-2">@Arme.Attributs</div>
|
|
|
+ <div class="col border border-2">@Arme.Accessoires</div>
|
|
|
+ <div class="col border border-2">@Arme.Poids</div>
|
|
|
+ <div class="col border border-2">@Arme.BonusBf</div>
|
|
|
+ <div class="col border border-2">@Arme.Prix</div>
|
|
|
+ <div class="col border border-2">@Arme.Disponibilité</div>
|
|
|
+
|
|
|
+</div>
|