Browse Source

refonte interface

master
heuzef 10 years ago
parent
commit
c7d1b70cf0
4 changed files with 16 additions and 21 deletions
  1. +10
    -15
      css/ecomonde.css
  2. +2
    -2
      medias/c0f08ae603e364cb554fe71c9fc94ffd/Derpy.xml
  3. +1
    -1
      play/action.php
  4. +3
    -3
      play/gamers.php

+ 10
- 15
css/ecomonde.css View File

@@ -221,21 +221,6 @@
border-bottom-color: #8128B5;
}

#dice {
float: left;
width: 24px;
height: 24px;
font-weight: bold;
font-size: 18px;
text-align:center;
background: #FFFFFF;
border-top: solid grey 2px;
border-bottom: solid black 1px;
border-left: solid black 1px;
border-right: solid grey 2px;
color: black;
}

.level {
float: left;
width: 26px;
@@ -247,6 +232,16 @@
color: white;
}

.player_name {
font-weight: bold;
font-size: 26px;
color: black;
margin-top: -8px;
margin-bottom: -20px;
margin-left: -20px;
text-transform: uppercase;
}

.p_light {
text-align: center;
padding: 5px;


+ 2
- 2
medias/c0f08ae603e364cb554fe71c9fc94ffd/Derpy.xml View File

@@ -2,10 +2,10 @@
<response>
<entry>
<nom>Derpy</nom>
<level>3</level>
<level>0</level>
<hp>10</hp>
<xp>0</xp>
<money>2</money>
<money>0</money>
<ecos>
<verte>0</verte>
<bleue>0</bleue>


+ 1
- 1
play/action.php View File

@@ -43,7 +43,7 @@ if (isset($_GET['money_moins']) && $xml->entry->money>0) {
$xml->entry->money--;
}
if (isset($_GET['money_plus']) && $xml->entry->money<99989) {
if (isset($_GET['money_plus']) && $xml->entry->money<99999) {
$xml->entry->money+=1;
}


+ 3
- 3
play/gamers.php View File

@@ -19,10 +19,10 @@ foreach($xml->entry as $entry) {
<span class="level"><?php echo $entry->level; ?></span>
<?php button_modif_level("level_up", $entry->nom, "<i class='ionicons ion-arrow-graph-up-right'></i>"); ?>
</div>
<div class="col-lg-7">
<h2><strong><?php echo $entry->nom; ?></strong></h2>
<div class="col-lg-5 player_name">
<?php echo $entry->nom; ?>
</div>
<div class="col-lg-1">
<div class="col-lg-4">
<?php trans("trans_dark", $entry->nom, "#8128B5"); ?><?php trans("trans_light", $entry->nom, "#ADDFFF"); ?><?php trans("trans_default", $entry->nom, "#AAA"); ?>
</div>
</div>


Loading…
Cancel
Save