mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-11-29 05:01:36 -06:00
Refactored Item display. Todo: auto doc gen debug loop
This commit is contained in:
30
res/app.js
Normal file → Executable file
30
res/app.js
Normal file → Executable file
@@ -217,10 +217,16 @@ $(document).ready(function () {
|
||||
|
||||
$('.item_stats p').append(`<li class="code" style="color:grey;">Item Code: ${base.code}</li>`);
|
||||
|
||||
if(base.durability){
|
||||
$('.item_stats p').append(`<li class="statlvlreq">Durability: ${base.durability}</li>`);
|
||||
}
|
||||
|
||||
if(base.reqstr){
|
||||
$('.item_stats p').append(`<li class="statlvlreq">Requires Strength: ${base.reqstr}</li>`);
|
||||
}
|
||||
if(base.reqdex){
|
||||
$('.item_stats p').append(`<li class="statlvlreq">Required Dexterity: ${base.reqdex}</li>`);
|
||||
}
|
||||
if(base['gemsockets'] && base['gemsockets'] > 6){
|
||||
base['gemsockets'] = 6;
|
||||
$('.item_stats p').append(`<li class="statlvlreq">Maximum Sockets: <span color="#aaa">(${base.gemsockets})</span></li>`);
|
||||
}
|
||||
$.each(props, function (i, v) {
|
||||
|
||||
if(v.string){
|
||||
@@ -281,4 +287,20 @@ $(document).ready(function () {
|
||||
});
|
||||
|
||||
|
||||
|
||||
//genDocUniqueItems
|
||||
$("#Unique .btnDocs").click(function (){
|
||||
window.open('/genDocs.php?cmd=genDocUniqueItems', '_blank');
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
});
|
||||
0
res/bootstrap-grid.css
vendored
Normal file → Executable file
0
res/bootstrap-grid.css
vendored
Normal file → Executable file
0
res/bootstrap-grid.css.map
Normal file → Executable file
0
res/bootstrap-grid.css.map
Normal file → Executable file
0
res/bootstrap-grid.min.css
vendored
Normal file → Executable file
0
res/bootstrap-grid.min.css
vendored
Normal file → Executable file
0
res/bootstrap-grid.min.css.map
Normal file → Executable file
0
res/bootstrap-grid.min.css.map
Normal file → Executable file
0
res/bootstrap-reboot.css
vendored
Normal file → Executable file
0
res/bootstrap-reboot.css
vendored
Normal file → Executable file
0
res/bootstrap-reboot.css.map
Normal file → Executable file
0
res/bootstrap-reboot.css.map
Normal file → Executable file
0
res/bootstrap-reboot.min.css
vendored
Normal file → Executable file
0
res/bootstrap-reboot.min.css
vendored
Normal file → Executable file
0
res/bootstrap-reboot.min.css.map
Normal file → Executable file
0
res/bootstrap-reboot.min.css.map
Normal file → Executable file
0
res/bootstrap.bundle.js
vendored
Normal file → Executable file
0
res/bootstrap.bundle.js
vendored
Normal file → Executable file
0
res/bootstrap.bundle.js.map
Normal file → Executable file
0
res/bootstrap.bundle.js.map
Normal file → Executable file
0
res/bootstrap.bundle.min.js
vendored
Normal file → Executable file
0
res/bootstrap.bundle.min.js
vendored
Normal file → Executable file
0
res/bootstrap.bundle.min.js.map
Normal file → Executable file
0
res/bootstrap.bundle.min.js.map
Normal file → Executable file
0
res/bootstrap.css
vendored
Normal file → Executable file
0
res/bootstrap.css
vendored
Normal file → Executable file
0
res/bootstrap.css.map
Normal file → Executable file
0
res/bootstrap.css.map
Normal file → Executable file
0
res/bootstrap.js
vendored
Normal file → Executable file
0
res/bootstrap.js
vendored
Normal file → Executable file
0
res/bootstrap.js.map
Normal file → Executable file
0
res/bootstrap.js.map
Normal file → Executable file
0
res/bootstrap.min.css
vendored
Normal file → Executable file
0
res/bootstrap.min.css
vendored
Normal file → Executable file
0
res/bootstrap.min.css.map
Normal file → Executable file
0
res/bootstrap.min.css.map
Normal file → Executable file
0
res/bootstrap.min.js
vendored
Normal file → Executable file
0
res/bootstrap.min.js
vendored
Normal file → Executable file
0
res/bootstrap.min.js.map
Normal file → Executable file
0
res/bootstrap.min.js.map
Normal file → Executable file
0
res/css.php
Normal file → Executable file
0
res/css.php
Normal file → Executable file
0
res/dark.css
Normal file → Executable file
0
res/dark.css
Normal file → Executable file
0
res/font-awesome.min.css
vendored
Normal file → Executable file
0
res/font-awesome.min.css
vendored
Normal file → Executable file
0
res/jquery-3.6.0.min.js
vendored
Normal file → Executable file
0
res/jquery-3.6.0.min.js
vendored
Normal file → Executable file
10
res/style.css
Normal file → Executable file
10
res/style.css
Normal file → Executable file
@@ -182,16 +182,14 @@ option {
|
||||
}
|
||||
|
||||
.item_desc {
|
||||
height: 560px;
|
||||
height: 600px;
|
||||
width: 620px;
|
||||
position: absolute;
|
||||
left: -80px;
|
||||
top: 0px;
|
||||
top: -126px;
|
||||
|
||||
/* background: black url(/img/items/bg.png) center top no-repeat;*/
|
||||
|
||||
background: #333;
|
||||
|
||||
text-align: center;
|
||||
padding: 10px;
|
||||
text-transform: uppercase;
|
||||
@@ -207,8 +205,8 @@ option {
|
||||
}
|
||||
|
||||
.item_stats {
|
||||
background: #222;
|
||||
height: 382px;
|
||||
background: #111;
|
||||
height: 420px;
|
||||
max-width: 520px;
|
||||
margin: 0 auto;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user