Ok the dash frame integration is pretty much complete. I just have to figure out how to compile [gargoyle_header_footer.c] with:
Code: Select all
printf("\t\t\t<div id=\"garg_dash\">\n");
printf("\t\t\t\t<dl>\n");
printf("\t\t\t\t\t<dt>Dash:</dt>\n");
printf("\t\t\t\t\t<dd>- <a onclick=\"window.open('/dash.sh?l='+escape(location.pathname), '_top');\" href=\"#\">Show</a></dd>\n");
printf("\t\t\t\t\t<dd>- <a onclick=\"window.open(location.pathname, '_top');\" href=\"#\">Hide</a></dd>\n");
printf("\t\t\t\t</dl>\n");
printf("\t\t\t</div>\n");
Also, to save space I changed this line:
Code: Select all
printf("\t\t\t<div id=\"garg_host\">Device Name: %s</div>\n", hostname);
To:
Code: Select all
printf("\t\t\t<div id=\"garg_host\">%s</div>\n", hostname);
I tried to make this integration as seamless as possible.
Even in the event that you get logged out the frame automatically is removed and you are directed to the login page. (Thanks to JavaScript).
Frame is totally optional.
Recommended resolution with the frame is anything above:
1140 pixels wide
640 pixels high
For the almost complete version see:
