Skip to content

Commit

Permalink
Add "Pro" stub for Static IP feature (#1675)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeanwallace committed Nov 3, 2023
1 parent 26e1e1d commit d0e3b5b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/static/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,9 @@ menuBar.addEventListener("mass-storage-dialog-requested", () => {
menuBar.addEventListener("wake-on-lan-dialog-requested", () => {
document.getElementById("feature-pro-overlay").show();
});
menuBar.addEventListener("static-ip-dialog-requested", () => {
document.getElementById("feature-pro-overlay").show();
});
menuBar.addEventListener("video-settings-dialog-requested", () => {
document.getElementById("video-settings-dialog").initialize();
document.getElementById("video-settings-overlay").show();
Expand Down
5 changes: 5 additions & 0 deletions app/templates/custom-elements/menu-bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,11 @@
>Hostname</a
>
</li>
<li class="item pro-badge" role="presentation">
<a data-onclick-event="static-ip-dialog-requested" role="menuitem"
>Static IP</a
>
</li>
</ul>
</li>
<li class="item" role="presentation">
Expand Down

0 comments on commit d0e3b5b

Please sign in to comment.