html clean

This commit is contained in:
Tyrel Souza 2018-04-14 00:57:31 -04:00
parent 24ab7f8e53
commit 0be4aad7da
No known key found for this signature in database
GPG Key ID: 5A9394D4C30AEAC0

View File

@ -12,7 +12,10 @@
<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">
<div class="healthbar text-center"
style="background-color: green; margin: 0; color: white;"
:style="pHPStyle"
>
{{pHP}}
</div>
</div>
@ -20,7 +23,10 @@
<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">
<div class="healthbar text-center"
style="background-color: green; margin: 0; color: white;"
:style="mHPStyle"
>
{{mHP}}
</div>
</div>
@ -42,7 +48,9 @@
<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}]">
<li v-for="log in logs"
:class="[{'player-turn': log.isPlayer, 'monster-turn': !log.isPlayer}]"
>
{{log.text}}
</li>