diff --git a/README b/README
index e0490f5..7c7e5d4 100644
--- a/README
+++ b/README
@@ -9,6 +9,5 @@ go get -u github.com/gin-gonic/gin
TODO
More rigourous item description generation
- Wealth improvements
Shop id for the link after shop generation
Don't hardcode account passwords!
diff --git a/data/template/parts/helpers.js.tmpl b/data/template/parts/helpers.js.tmpl
index 43a361a..ac59dbd 100644
--- a/data/template/parts/helpers.js.tmpl
+++ b/data/template/parts/helpers.js.tmpl
@@ -122,7 +122,7 @@
imgThumbnail.src = 'https://web.poecdn.com/image/Art/2DItems/Currency/CurrencyAddModToRare.png?scale=1&w=1&h=1&v=1745ebafbd533b6f91bccf588ab5efc5'
break;
}
- txtThumbnail.innerHTML = 'x' + words[1];
+ txtThumbnail.innerHTML = 'x' + words[1];
}
}
diff --git a/data/template/parts/item.tmpl b/data/template/parts/item.tmpl
index 413b427..1b8628c 100644
--- a/data/template/parts/item.tmpl
+++ b/data/template/parts/item.tmpl
@@ -30,7 +30,7 @@
data-desc="{{ template "itemtext" $item }}"
onclick="openModal('item-{{ .Id }}', '{{ .Name }}', '{{ .Type }}')">
-
+
xx
diff --git a/data/template/parts/style.css.tmpl b/data/template/parts/style.css.tmpl
index 63c8611..e990f65 100644
--- a/data/template/parts/style.css.tmpl
+++ b/data/template/parts/style.css.tmpl
@@ -357,8 +357,10 @@
position: absolute;
bottom: 0px;
left: 0px;
- size: 5px;
display: inline-block;
+ }
+ .thumbnail {
+ size: 5px;
width: 20px;
height: 20px;
}
@@ -368,5 +370,27 @@
.sockets {
z-index: 3;
}
+ #wealth {
+ font-family: "FontinSmallCaps",Verdana,Arial,Helvetica,sans-serif;
+ background-color: black;
+ border: 1px solid #3a2317;
+ padding: 10px;
+ max-width: 600px;
+ white-space: nowrap;
+ margin: 0;
+ }
+ .thumbnail:before,
+ .thumbnail_before {
+ content: "";
+ display: inline-block;
+ height: 100%;
+ vertical-align: middle;
+ }
+ #wealth .thumbnail {
+ top: 1px;
+ }
+ img {
+ vertical-align: middle;
+ }
{{ end }}
diff --git a/data/template/profile.tmpl b/data/template/profile.tmpl
index 8bfc7d3..79b901d 100644
--- a/data/template/profile.tmpl
+++ b/data/template/profile.tmpl
@@ -1,7 +1,13 @@
{{ define "profile" }}
{{ template "header" }}
- Wealth: {{ .Wealth }}
+
+
Estimated wealth:x{{ .Wealth.EstimatedChaos }} (with
+
x{{ .Wealth.NbExa }}
+
x{{ .Wealth.NbChaos }}
+
x{{ .Wealth.NbAlch }}
+ )
+
@@ -12,7 +18,7 @@
-
+