Skip to content

Commit

Permalink
code>modify.refactor: rename UI data filename and add link to it on UI
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnfan committed Aug 2, 2023
1 parent 85bd8cc commit ae53e6b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
File renamed without changes.
13 changes: 10 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,21 @@ <h2>All Tags</h2>
</span>
</fieldset>
</div>
<span
class="github-link"
onclick="window.open('data/tagmarks.jsonl')"
title="TagMark UI Data"
>
<i class="fa-solid fa-link fa-beat-fade"></i>
<span class="github-link-text">tagmarks.jsonl</span>
</span>
<span
class="github-link"
onclick="window.open('data/tags.json')"
title="Tags Information"
>
<i class="fa-solid fa-link fa-beat-fade"></i>
<span class="github-link-text"
>tags.json</span
>
<span class="github-link-text">tags.json</span>
</span>
</div>
<div class="modal-body">
Expand Down
2 changes: 1 addition & 1 deletion js/tagmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const DATA_OPTIONS = {
second: "2-digit",
};

const uiDataUrl = "data/tagmark_ui_data.jsonl";
const uiDataUrl = "data/tagmarks.jsonl";
const tagsUrl = "data/tags.json";
const fitlerDocUrlTempl = "doc/filter.{language}.md";

Expand Down

0 comments on commit ae53e6b

Please sign in to comment.