Browse Source

update phone view

master
heuzef 9 years ago
parent
commit
2dcbb272e6
5 changed files with 51 additions and 4 deletions
  1. +12
    -0
      css/ecomonde.css
  2. +23
    -0
      medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml
  3. +10
    -0
      medias/default/enemy.xml
  4. +3
    -1
      medias/default/index.php
  5. +3
    -3
      play/index.php

+ 12
- 0
css/ecomonde.css View File

@@ -262,6 +262,18 @@
font-size: 18px;
text-align:center;
background: #000;
color: #FFD700;
}

.skill_phone {
margin-top:5px;
padding-right:5px;
padding-left:5px;
height: 26px;
font-weight: bold;
font-size: 18px;
text-align:center;
background: #000;
color: white;
}



+ 23
- 0
medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<response>
<entry>
<nom>derpy</nom>
<level>0</level>
<hp>10</hp>
<xp>0</xp>
<money>0</money>
<attack>0</attack>
<defense>0</defense>
<ecos>
<verte>0</verte>
<bleue>0</bleue>
<jaune>0</jaune>
<rouge>0</rouge>
<blanche>0</blanche>
<noire>0</noire>
</ecos>
<trans>default</trans>
<notes>...</notes>
<gift>0</gift>
</entry>
</response>

+ 10
- 0
medias/default/enemy.xml View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<response>
<entry>
<nom>enemy</nom>
<hp>3</hp>
<img>http://wiki.ecomonde.land/lib/exe/fetch.php?media=wiki:loup_garou.jpg</img>
<url>http://wiki.ecomonde.land/doku.php?id=wiki:ennemies</url>
</entry>
</response>


+ 3
- 1
medias/default/index.php View File

@@ -29,7 +29,9 @@ if(!empty($_GET["view"]))
<div class="panel-heading">
<div class="container-fluid">
<span class="level_phone"><?php echo $entry->level; ?></span>&nbsp;&nbsp;&nbsp;
<span class="player_name_phone"><?php echo $entry->nom; ?></span>
<span class="player_name_phone"><?php echo $entry->nom; ?></span>&nbsp;&nbsp;&nbsp;
<span class="skill_phone">Att : <?php echo $entry->attack; ?></span>&nbsp;&nbsp;&nbsp;
<span class="skill_phone">Def : <?php echo $entry->defense; ?></span>&nbsp;&nbsp;&nbsp;
<br />
<?php
$hp_max="10";


+ 3
- 3
play/index.php View File

@@ -263,9 +263,9 @@
</div>
<div class="panel-body">
<img class="img-responsive thumbnail" src="../img/light.jpg" alt="light" /><br />
<p class="p_light">Light Heal</p>
<p class="p_light">Light Shield</p>
<p class="p_light">Light Stop-Time</p>
<p class="p_light">Light Triumph</p>
<p class="p_light">Light Time</p>
</div>
</div>
</div>
@@ -277,8 +277,8 @@
<div class="panel-body">
<img class="img-responsive thumbnail" src="../img/dark.jpg" alt="light" /><br />
<p class="p_dark">Dark Punch</p>
<p class="p_dark">Dark Bomb</p>
<p class="p_dark">Dark Giant</p>
<p class="p_dark">Dark Domination</p>
</div>
</div>
</div>


Loading…
Cancel
Save