Skip to content

Commit

Permalink
βš™ Add version on index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
mirusu400 committed Sep 21, 2022
1 parent fd2d231 commit 5c87675
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
18 changes: 5 additions & 13 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ <h1>🎠 κ΄‘μš΄λŒ€ν•™κ΅ KLAS Helper ν™•μž₯ ν”„λ‘œκ·Έλž¨ </h1>
</a>
</div>
<div style="display:flex; flex-direction:column; width: 120px;">

<div style="float: right; padding: 3px; justify-content:space-between; display:flex; align-items:center; flex-direction: row-reverse;">
<span style="font-size: 12px;">ν˜„μž¬ 버전 : <a style="font-size: 12px;" class="version"></a></span>
</div>
<div style="float: right; padding: 3px; justify-content:space-between; display:flex; align-items:center">
<label class="switch-small">
<input class="toggle-btn-dark" type="checkbox">
Expand All @@ -36,19 +38,9 @@ <h1>🎠 κ΄‘μš΄λŒ€ν•™κ΅ KLAS Helper ν™•μž₯ ν”„λ‘œκ·Έλž¨ </h1>
<span style="font-size: 12px;">닀크 ν…Œλ§ˆ 적용</span>
</div>

<!--<div style="float: right; padding: 3px; justify-content:space-between; display:flex; align-items:center">
<label class="switch-small">
<input class="toggle-btn-beta" type="checkbox">
<span class="slider-small round"></span>
</label>
<div class="tooltip">
<img class="tooltip-oval" src="./assets/help-circle.png" style="width:15px; height:15px;" />
<span class="tooltiptext tooltip-right">ν˜„μž¬ κ°œλ°œμ€‘μ΄κ±°λ‚˜ μ‹€ν—˜μ μΈ κΈ°λŠ₯을 μ μš©ν•©λ‹ˆλ‹€.</span>
</div>
<span style="font-size: 12px;">베타 λͺ¨λ“œ</span>
</div>

<div style="float: right; padding: 3px; justify-content:space-between; display:flex; align-items:center">

<!--<div style="float: right; padding: 3px; justify-content:space-between; display:flex; align-items:center">
<label class="switch-small">
<input class="toggle-btn-debug" type="checkbox">
<span class="slider-small round"></span>
Expand Down
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,6 @@ darkBtn.onclick = function() {
}
}

const manifestData = browser.runtime.getManifest();
const versionElement = document.querySelector(".version");
versionElement.innerText = `v${manifestData.version}`;

0 comments on commit 5c87675

Please sign in to comment.