Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launcher widget - dev version with explanation what needs to be done #49

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!-- Navigation buttons -->
<!-- the syntax below is obvious, but ideally, this plugin needs:
- a model to define structure of launching data in conf/config.xml (name, full URL, perhaps a link to an icon?)
- a view to a form where user can add/remove new launching items and store the structure in conf.xml
- the code below needs to be refactored to:
- use php to read all launching items from config.xml
- use an empty <div> statement as a default
- loop through all items captured from config.xml
- use jquery .append to add the line to the <div>
-->
<input class="btn btn-default" type="button" value="Unifi" onclick="window.open('https\:\/\/192.168.1.1:8443')"/>
<input class="btn btn-default" type="button" value="ntopng" onclick="window.open('https\:\/\/192.168.1.1:3443')"/>
<input class="btn btn-default" type="button" value="Nextdns" onclick="window.open('https\:\/\/my.nextdns.com')"/>
<input class="btn btn-default" type="button" value="Dev OPNsense" onclick="window.open('https\:\/\/10.0.0.1')"/>