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