feat(config): add aowow url to config file
This commit is contained in:
parent
73916950b7
commit
1a682409a8
7 changed files with 20 additions and 7 deletions
|
|
@ -1,7 +1,18 @@
|
|||
<link rel="stylesheet" href="/css/character.css">
|
||||
<style>
|
||||
.iconlarge .border {
|
||||
background-image: url("{{aowow}}/static/images/Icon/large/border/default.png");
|
||||
}
|
||||
|
||||
.iconlarge a {
|
||||
background: url("{{aowow}}/static/images/Icon/large/hilite/default.png") no-repeat 62px 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script type="application/javascript" src="/js/viewer.min.js"></script>
|
||||
<script type="application/javascript" src="https://wotlkdb.com/static/widgets/power.js"></script>
|
||||
<script type="application/javascript" src="{{aowow}}/static/widgets/power.js"></script>
|
||||
|
||||
<a href="/">Back to Armory</a><br><br>
|
||||
|
||||
<div style="display: flex; max-width: 580px; height: 580px;">
|
||||
<div id="equipment-col-left" style="flex: 12%;"></div>
|
||||
|
|
@ -128,8 +139,8 @@
|
|||
.addClass("iconlarge");
|
||||
$item.find(".inventory-slot").css("background-image", `url("/img/inventory-slot/${invSlot}.png")`);
|
||||
if (item !== undefined) {
|
||||
$item.find(".icon").css("background-image", `url("https://wotlkdb.com/static/images/wow/icons/large/${icon}.jpg")`);
|
||||
$item.find("a").attr("href", `https://wotlkdb.com/?item=${item}`);
|
||||
$item.find(".icon").css("background-image", `url("{{aowow}}/static/images/wow/icons/large/${icon}.jpg")`);
|
||||
$item.find("a").attr("href", `{{aowow}}/?item=${item}`);
|
||||
$item.find("a").attr("rel", rel);
|
||||
}
|
||||
$item.appendTo($(container));
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@
|
|||
.iconlarge .border {
|
||||
width: 68px;
|
||||
height: 68px;
|
||||
background-image: url("https://wotlkdb.com/static/images/Icon/large/border/default.png");
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
|
|
@ -40,7 +39,6 @@
|
|||
.iconlarge a {
|
||||
width: 62px;
|
||||
height: 62px;
|
||||
background: url("https://wotlkdb.com/static/images/Icon/large/hilite/default.png") no-repeat 62px 0;
|
||||
position: absolute;
|
||||
left: 3px;
|
||||
top: 3px;
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
Armory
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||
<script type="application/javascript" src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||
|
||||
{{{ body }}}
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue