inventory css, wizard_start project %, updated system reference
This commit is contained in:
parent
0661330ce5
commit
01a6d514cc
@ -0,0 +1,40 @@
|
||||
.item{
|
||||
float: left;
|
||||
position: relative;
|
||||
width:48px;
|
||||
height:48px;
|
||||
top: 0px;
|
||||
opacity: 1;
|
||||
background-image:none;
|
||||
background-repeat:no-repeat;
|
||||
background-position:0px 0px;
|
||||
text-align:center;
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
.item_count{
|
||||
position: relative;
|
||||
float: right;
|
||||
font-size:10px;
|
||||
vertical-align:middle;
|
||||
text-align:center;
|
||||
color: white;
|
||||
font-family:Verdana, Helvetica, Arial, sans-serif;
|
||||
width:15px;
|
||||
height:8px;
|
||||
right:2px;
|
||||
bottom:15px;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.item_icon{
|
||||
background-repeat:no-repeat;
|
||||
width:48px;
|
||||
height:48px;
|
||||
}
|
||||
.item_arrow{
|
||||
background-image:url(http://www.mojotrollz.eu/web/mojotrollz/api.php?call=files&cat=skilltree&id=arrows.gif);
|
||||
background-repeat:no-repeat;
|
||||
width:48px;
|
||||
height:48px;
|
||||
}
|
||||
@ -6,7 +6,7 @@ class inventory {
|
||||
for($j = 1; $j <= $y; $j++){
|
||||
$vars['items'] .= '<div>';
|
||||
for($i = 1; $i <= $x; $i++){
|
||||
$vars['items'] .= \SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PAPI(),'char/tpl/inventory_item.tpl'), array());
|
||||
$vars['items'] .= \SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PAPI(),'char/tpl/inventory_item.tpl'), array('count' => 1));
|
||||
}
|
||||
$vars['items'] .= '</div>';
|
||||
}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<div class="item" id="${id}" style="float: left;">
|
||||
<img src="./api.php?call=files&cat=skilltree&id=spacer.gif" class="item_icon" alt="" id="${id}i">
|
||||
<img src="./api.php?call=files&cat=skilltree&id=spacer.gif" class="item_icon" alt="" id="${id}i" style="background-image:url(http://www.mojotrollz.eu/web/mojotrollz/api.php?call=files&cat=skilltree_skills_grey&id=spell_frost_windwalkon.png);">
|
||||
<div class="item_count" id="${id}c" count="${count}">${count}</div>
|
||||
</div>
|
||||
@ -4,8 +4,9 @@
|
||||
<br>
|
||||
Feel free to snoop around.
|
||||
</h4>
|
||||
<h5>Project Status: ${project_perc}%</h5>
|
||||
<div style="padding-top: 25px;"><img src="${PICPATH}help_gnome.png" width="200px;" /></div>
|
||||
<div id="start" style="float: left; padding-top: 55px;">
|
||||
<div id="start" style="float: left; padding-top: 55px; padding-bottom: 19px;">
|
||||
<a href="#wizard_details"><button class="btn btn_menu">Create Character</button></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -17,6 +17,7 @@ class wizard_start extends SYSTEM\PAGE\Page {
|
||||
$vars['realm_status'] = realm::status();
|
||||
$vars['world_status'] = world::status();
|
||||
$vars['player_online'] = database::player_online();
|
||||
$vars['project_perc'] = \SYSTEM\SAI\saimod_sys_todo::statistics()['project_perc'];
|
||||
|
||||
$vars = array_merge($vars, \SYSTEM\locale::getStrings(DBD\locale_string::VALUE_CATEGORY_MAINPAGE),
|
||||
\SYSTEM\locale::getStrings(DBD\locale_string::VALUE_CATEGORY_WOW_SERVERINFO),
|
||||
|
||||
@ -6,7 +6,8 @@ class wizard_visuals extends SYSTEM\PAGE\Page {
|
||||
return array( \SYSTEM\WEBPATH(new PPAGE(),'wizard_visuals/js/wizard_visuals.js'));}
|
||||
|
||||
public static function css (){
|
||||
return array( \SYSTEM\WEBPATH(new PAPI(),'char/css/equipment.css'));}
|
||||
return array( \SYSTEM\WEBPATH(new PAPI(),'char/css/equipment.css'),
|
||||
\SYSTEM\WEBPATH(new PAPI(),'char/css/inventory.css'));}
|
||||
|
||||
private static function select($race,$type,$value){
|
||||
$res = \DBD\RACE_VISUALS_BY_TYPE::QQ(array($race,$type));
|
||||
|
||||
2
system
2
system
@ -1 +1 @@
|
||||
Subproject commit 381f999f0ff9b84de4036a3d0c1da6ad24517b6f
|
||||
Subproject commit 835eb2a29a0a050811b273679de4d39fe0cb7410
|
||||
Loading…
x
Reference in New Issue
Block a user