Refactored Item display. Todo: auto doc gen debug loop

This commit is contained in:
color.diff=auto
2021-05-06 02:36:04 -06:00
parent f71ab1fc24
commit 5c6a657820
2066 changed files with 338969 additions and 204 deletions

30
res/app.js Normal file → Executable file
View 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
View File

0
res/bootstrap-grid.css.map Normal file → Executable file
View File

0
res/bootstrap-grid.min.css vendored Normal file → Executable file
View File

0
res/bootstrap-grid.min.css.map Normal file → Executable file
View File

0
res/bootstrap-reboot.css vendored Normal file → Executable file
View File

0
res/bootstrap-reboot.css.map Normal file → Executable file
View File

0
res/bootstrap-reboot.min.css vendored Normal file → Executable file
View File

0
res/bootstrap-reboot.min.css.map Normal file → Executable file
View File

0
res/bootstrap.bundle.js vendored Normal file → Executable file
View File

0
res/bootstrap.bundle.js.map Normal file → Executable file
View File

0
res/bootstrap.bundle.min.js vendored Normal file → Executable file
View File

0
res/bootstrap.bundle.min.js.map Normal file → Executable file
View File

0
res/bootstrap.css vendored Normal file → Executable file
View File

0
res/bootstrap.css.map Normal file → Executable file
View File

0
res/bootstrap.js vendored Normal file → Executable file
View File

0
res/bootstrap.js.map Normal file → Executable file
View File

0
res/bootstrap.min.css vendored Normal file → Executable file
View File

0
res/bootstrap.min.css.map Normal file → Executable file
View File

0
res/bootstrap.min.js vendored Normal file → Executable file
View File

0
res/bootstrap.min.js.map Normal file → Executable file
View File

0
res/css.php Normal file → Executable file
View File

0
res/dark.css Normal file → Executable file
View File

0
res/font-awesome.min.css vendored Normal file → Executable file
View File

0
res/jquery-3.6.0.min.js vendored Normal file → Executable file
View File

10
res/style.css Normal file → Executable file
View 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;