Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

[Template] HTML/AJAX HTPC remote layouts for Webserver

If you have a question or need help, this is the place to be.
Post Reply
therealbiglou
Experienced User
Posts: 126
Joined: Sat May 19, 2012 4:33 am

[Template] HTML/AJAX HTPC remote layouts for Webserver

Post by therealbiglou »

I just wanted to share with you an HTML remote I built for controlling my HTPC and home audio. I've attached a zip that contains the necessary files. Simply unzip it to the directory of your choice and set the Webserver plugin to point to the root. Feel free to modify any and all of the files to your liking--I doubt anyone has my exact setup.

The html pages are built on the responsive Bootstrap framework. Because of this, the remotes will conform to your device's screen size. For instance, the "Living Room" remote layout will change from a horizontal layout (for desktops and laptops) to a vertical layout (for phones and tablets) based on the display's width. For example, here's what the two look like:

Image Image

The pages are also coded with AJAX so that the page is not refreshed after every button press. This is especially handy on mobile browsers which have terrible page load times. This makes jamming the volume buttons in rapid succession possible. For most of the buttons, I used an iconography font called Font-Awesome. All necessary files to make this work are included. A few of the buttons require .svg images which are also included.

I don't know if any of this will be of use to anyone, but I thought I might as well share what I've created. Enjoy! :D
Attachments
EventghostHTMLRemote.zip
(260.04 KiB) Downloaded 439 times
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: [Template] HTML/AJAX HTPC remote layouts for Webserver

Post by krambriw »

This is for sure a very nice contribution to the community, thank you!!

Best, Walter
Post Reply