mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-09-18 17:42:09 +00:00
testing changes
This commit is contained in:
42
genDocs.php
42
genDocs.php
@@ -91,19 +91,22 @@ if ($cmd == "genDocUniqueItems") {
|
||||
<link rel="stylesheet" href="res/style.css">
|
||||
<style>
|
||||
|
||||
body{
|
||||
background: black;
|
||||
text-align: center;
|
||||
font-family: ExocetLight;
|
||||
}
|
||||
|
||||
|
||||
.item_stats{
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
.item_desc {
|
||||
height: 600px;
|
||||
width: 620px;
|
||||
position: relative;
|
||||
left: 0;
|
||||
top: 0;
|
||||
|
||||
/* background: black url(/img/items/bg.png) center top no-repeat;*/
|
||||
|
||||
text-align: center;
|
||||
padding: 10px;
|
||||
height: auto;
|
||||
text-align: center;
|
||||
padding: 10px;
|
||||
text-transform: uppercase;
|
||||
|
||||
}
|
||||
.green {
|
||||
color: #00FF00; /*Set items*/
|
||||
@@ -117,7 +120,7 @@ if ($cmd == "genDocUniqueItems") {
|
||||
.yellow {
|
||||
color: #FFFF00; /*Set items*/
|
||||
}
|
||||
|
||||
|
||||
.blue {
|
||||
color: #4169E1;
|
||||
}
|
||||
@@ -170,13 +173,10 @@ EOT;
|
||||
<div class="center item_desc" style="">
|
||||
|
||||
<div style="height: 116px;background: url(img/items/bg.png) center top no-repeat;">
|
||||
<a href="" target="_blank" class="item_debug_link">
|
||||
<img style="" class="item img-fluid" src="img/items/{$item["invfile"]}.png">
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<div class="item_stats" style="">
|
||||
<div class="">
|
||||
<div style="width:auto; margin: 0 auto; background:#111; display:inline-block;">
|
||||
<p>
|
||||
EOT;
|
||||
$itemBoxBottom = <<<EOT
|
||||
@@ -193,10 +193,10 @@ EOT;
|
||||
$htmlFinal .= $itemBoxTop;
|
||||
|
||||
//index
|
||||
$props = "<ul><li class='gold'>{$item['index']}</li>";
|
||||
$props = "<ul><li class='statindex gold'>{$item['index']}</li>";
|
||||
|
||||
//type
|
||||
$props .= "<li class='gold'>{$item["*type"]}</li>";
|
||||
$props .= "<li class='stattype gold'>({$item["*type"]})</li>";
|
||||
|
||||
//level
|
||||
$props .= "<li style='color: white;' class=''>Level: {$item["lvl"]}</li>";
|
||||
@@ -216,10 +216,8 @@ EOT;
|
||||
$props .= "<li style='color: white;' class=''>{$item["reqdex"]}</li>";
|
||||
}
|
||||
//sock
|
||||
if ($item["gemsockets"] > 6) {
|
||||
$item["gemsockets"] = 6;
|
||||
$props .= "<li style='color: white;' class=''>{$item["gemsockets"]}</li>";
|
||||
}
|
||||
$props .= "<li style='color: white;' class=''>{$item["gemsockets"]}</li>";
|
||||
|
||||
|
||||
|
||||
foreach ($item['props'] as $prop) {
|
||||
|
Reference in New Issue
Block a user