Skip to content

Commit

Permalink
Add veiled items in demo and format json demo files
Browse files Browse the repository at this point in the history
  • Loading branch information
axelberardino committed Aug 21, 2019
1 parent a424187 commit 660018a
Show file tree
Hide file tree
Showing 21 changed files with 61,862 additions and 231 deletions.
2 changes: 1 addition & 1 deletion data/template/parts/footer.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{{ template "popper.js" }}
{{ template "tippy.js" }}
{{ template "helpers.js" }}
{{ template "helpers.js" dict "Demo" .Demo }}
{{ template "tooltips" . }}

<script type="text/javascript">
Expand Down
6 changes: 5 additions & 1 deletion data/template/parts/helpers.js.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{{ define "helpers.js" }}
{{ $demo := .Demo }}

<script type="text/javascript">
function swapWeapon(id, action) {
var panel = document.getElementById(id);
Expand Down Expand Up @@ -642,6 +644,8 @@

initImport();
initModal();
showDownloadShareButton();
{{ if not .Demo }}
showDownloadShareButton();
{{ end }}
</script>
{{ end }}
7 changes: 7 additions & 0 deletions data/template/parts/item.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@
{{ $layout = .MapLayout }}
{{ $layoutType = "map" }}
<div class="stashTabContents poeScroll mapStash" style="border-color: rgb(124, 84, 54);">
<p style="width: 75%; margin: 0; position: absolute; top: 50%; left: 50%; -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%);">
There is currently a bug on GGG side which prevents anyone to get maps from their API.
They acknowledged the issue, and they are working on it. See:<br />
<a style="text-decoration: underline;" href="https://www.pathofexile.com/forum/view-thread/1733474#p13674912">
https://www.pathofexile.com/forum/view-thread/1733474#p13674912
</a>
</p>
{{ else if .QuadLayout }}
{{ $layoutType = "quad" }}
<div class="stashTabContents poeScroll quadStash" style="border-color: rgb(124, 84, 54);">
Expand Down
518 changes: 306 additions & 212 deletions demo/all_stash_types/stash_0.json

Large diffs are not rendered by default.

2,116 changes: 2,115 additions & 1 deletion demo/all_stash_types/stash_1.json

Large diffs are not rendered by default.

1,554 changes: 1,553 additions & 1 deletion demo/all_stash_types/stash_10.json

Large diffs are not rendered by default.

12,140 changes: 12,139 additions & 1 deletion demo/all_stash_types/stash_11.json

Large diffs are not rendered by default.

5,380 changes: 5,379 additions & 1 deletion demo/all_stash_types/stash_12.json

Large diffs are not rendered by default.

3,981 changes: 3,980 additions & 1 deletion demo/all_stash_types/stash_13.json

Large diffs are not rendered by default.

3,231 changes: 3,230 additions & 1 deletion demo/all_stash_types/stash_14.json

Large diffs are not rendered by default.

3,300 changes: 3,299 additions & 1 deletion demo/all_stash_types/stash_15.json

Large diffs are not rendered by default.

2,917 changes: 2,916 additions & 1 deletion demo/all_stash_types/stash_16.json

Large diffs are not rendered by default.

3,837 changes: 3,836 additions & 1 deletion demo/all_stash_types/stash_17.json

Large diffs are not rendered by default.

1,533 changes: 1,532 additions & 1 deletion demo/all_stash_types/stash_18.json

Large diffs are not rendered by default.

1,037 changes: 1,036 additions & 1 deletion demo/all_stash_types/stash_2.json

Large diffs are not rendered by default.

3,959 changes: 3,958 additions & 1 deletion demo/all_stash_types/stash_3.json

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion demo/all_stash_types/stash_4.json
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
{"numTabs":14,"mapLayout":{},"items":[]}
{
"numTabs": 14,
"mapLayout": {},
"items": []
}
6,160 changes: 6,159 additions & 1 deletion demo/all_stash_types/stash_5.json

Large diffs are not rendered by default.

4,181 changes: 4,180 additions & 1 deletion demo/all_stash_types/stash_6.json

Large diffs are not rendered by default.

3,119 changes: 3,118 additions & 1 deletion demo/all_stash_types/stash_8.json

Large diffs are not rendered by default.

3,109 changes: 3,108 additions & 1 deletion demo/all_stash_types/stash_9.json

Large diffs are not rendered by default.

0 comments on commit 660018a

Please sign in to comment.