html clean
This commit is contained in:
parent
24ab7f8e53
commit
0be4aad7da
@ -12,16 +12,22 @@
|
||||
<div class="small-6 columns">
|
||||
<h1 class="text-center">YOU</h1>
|
||||
<div class="healthbar">
|
||||
<div class="healthbar text-center" style="background-color: green; margin: 0; color: white;" :style="pHPStyle">
|
||||
{{pHP}}
|
||||
<div class="healthbar text-center"
|
||||
style="background-color: green; margin: 0; color: white;"
|
||||
:style="pHPStyle"
|
||||
>
|
||||
{{pHP}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="small-6 columns">
|
||||
<h1 class="text-center">MONSTER</h1>
|
||||
<div class="healthbar">
|
||||
<div class="healthbar text-center" style="background-color: green; margin: 0; color: white;" :style="mHPStyle">
|
||||
{{mHP}}
|
||||
<div class="healthbar text-center"
|
||||
style="background-color: green; margin: 0; color: white;"
|
||||
:style="mHPStyle"
|
||||
>
|
||||
{{mHP}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -42,8 +48,10 @@
|
||||
<section class="row log">
|
||||
<div class="small-12 columns">
|
||||
<ul>
|
||||
<li v-for="log in logs" :class="[{'player-turn': log.isPlayer, 'monster-turn': !log.isPlayer}]">
|
||||
{{log.text}}
|
||||
<li v-for="log in logs"
|
||||
:class="[{'player-turn': log.isPlayer, 'monster-turn': !log.isPlayer}]"
|
||||
>
|
||||
{{log.text}}
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user