Skip to content

Commit

Permalink
[195] Removed enhancements in short and long rest modals
Browse files Browse the repository at this point in the history
  • Loading branch information
orichalque authored and RaphaelPage0110 committed Mar 2, 2022
1 parent 23aeab0 commit 5371f1f
Showing 1 changed file with 3 additions and 61 deletions.
64 changes: 3 additions & 61 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1162,22 +1162,7 @@ <h3 class="modal-title">Short Rest</h3>
<div class="row" v-if='abilityCategory != null'>
<div class="col-md-6 d-flex justify-content-center centerAbilities">
<div v-if="cardToLose!=null">
<img v-bind:id="cardToLose.xws" v-bind:src="'data/'+cardToLose.image" class="image rounded"></img>

<span style="pointer-events: none;" v-if="cardToLose.top != null && cardToLose.top.length > 0"
class="enhancement above">
<div style="padding-top: 10%; padding-left: 70%; display:flex; flex-direction:column; ">
<img v-for="enhancement in cardToLose.top" style="width: 1.3em"
:src="'data/'+enhancement.image" />
</div>
</span>
<span style="pointer-events: none;" v-if="cardToLose.bottom!= null && cardToLose.bottom.length > 0"
class="enhancement">
<div style="padding-top: 10%; padding-left: 70%; display:flex; flex-direction:column;">
<img v-for="enhancement in cardToLose.bottom" style="width: 1.3em;"
:src="'data/'+enhancement.image" />
</div>
</span>
<img v-bind:id="cardToLose.xws" v-bind:src="'data/'+cardToLose.image" class="image rounded"></img>
</div>
<div style="padding-top: 10px;">
<button title="Lose one health point a draw a different card" v-if="!rerolling" type="button"
Expand All @@ -1190,21 +1175,7 @@ <h3 class="modal-title">Short Rest</h3>
<div class="centerAbilities">
<div v-for='(card,i) in cardsToRestore'>
<div v-bind:class="[{crop: cardsToRestore.length -1 !== i}]">
<img v-bind:id="card.xws" v-bind:src="'data/'+card.image" class="image rounded"></img>

<span style="pointer-events: none;" v-if="card.top != null && card.top.length > 0"
class="enhancement above">
<div style="padding-top: 10%; padding-left: 70%; display:flex; flex-direction:column; ">
<img v-for="enhancement in card.top" style="width: 1.3em" :src="'data/'+enhancement.image" />
</div>
</span>
<span style="pointer-events: none;" v-if="card.bottom != null && card.bottom.length > 0"
class="enhancement">
<div style="padding-top: 10%; padding-left: 70%; display:flex; flex-direction:column;">
<img v-for="enhancement in card.bottom" style="width: 1.3em;"
:src="'data/'+enhancement.image" />
</div>
</span>
<img v-bind:id="card.xws" v-bind:src="'data/'+card.image" class="image rounded"></img>
</div>
</div>
</div>
Expand All @@ -1231,21 +1202,6 @@ <h3 class="modal-title">Long Rest</h3>
<div class="col-md-6 d-flex justify-content-center centerAbilities">
<div v-if="cardToLose!=null">
<img v-bind:id="cardToLose.xws" v-bind:src="'data/'+cardToLose.image" class="image rounded"></img>

<span style="pointer-events: none;" v-if="cardToLose.top != null && cardToLose.top.length > 0"
class="enhancement above">
<div style="padding-top: 10%; padding-left: 70%; display:flex; flex-direction:column; ">
<img v-for="enhancement in cardToLose.top" style="width: 1.3em"
:src="'data/'+enhancement.image" />
</div>
</span>
<span style="pointer-events: none;" v-if="cardToLose.bottom!= null && cardToLose.bottom.length > 0"
class="enhancement">
<div style="padding-top: 10%; padding-left: 70%; display:flex; flex-direction:column;">
<img v-for="enhancement in cardToLose.bottom" style="width: 1.3em;"
:src="'data/'+enhancement.image" />
</div>
</span>
</div>
<div v-else>Select a card to lose</div>
<div style="padding-top: 10px;">
Expand All @@ -1258,21 +1214,7 @@ <h3 class="modal-title">Long Rest</h3>
<div v-for='(card,i) in cardsToRestore'>
<div v-bind:class="[{crop: cardsToRestore.length -1 !== i}]"
v-on:click="pickCardToLoseLongRest(card)">
<img v-bind:id="card.xws" v-bind:src="'data/'+card.image" class="image rounded"></img>

<span style="pointer-events: none;" v-if="card.top != null && card.top.length > 0"
class="enhancement above">
<div style="padding-top: 10%; padding-left: 70%; display:flex; flex-direction:column; ">
<img v-for="enhancement in card.top" style="width: 1.3em" :src="'data/'+enhancement.image" />
</div>
</span>
<span style="pointer-events: none;" v-if="card.bottom != null && card.bottom.length > 0"
class="enhancement">
<div style="padding-top: 10%; padding-left: 70%; display:flex; flex-direction:column;">
<img v-for="enhancement in card.bottom" style="width: 1.3em;"
:src="'data/'+enhancement.image" />
</div>
</span>
<img v-bind:id="card.xws" v-bind:src="'data/'+card.image" class="image rounded"></img>
</div>
</div>
</div>
Expand Down

0 comments on commit 5371f1f

Please sign in to comment.