implement jqueryui dialog replacements.

For now only alert windows are converted automatically. You can alert custom
HTML code like so: alert('<strong>herp a derp</strong>', true);

Main can use this feature immediately, all plugins that are advertized to be
stable may only use this once 0.7 is released.
This commit is contained in:
Stefan Breunig
2013-02-22 11:23:44 +01:00
parent 3377c81728
commit d644ef64bd
4 changed files with 100 additions and 34 deletions

View File

@ -106,7 +106,8 @@ document.getElementsByTagName('body')[0].innerHTML = ''
+ ' <a href="https://github.com/breunigs/ingress-intel-total-conversion#readme" title="IITC = Ingress Intel Total Conversion.\n\nOn the scripts homepage you can:\n find updates\n get plugins\n report bugs\n and contribute." style="cursor: help">IITCs page</a></div>'
+ ' </div>'
+ '</div>'
+ '<div id="updatestatus"></div>';
+ '<div id="updatestatus"></div>'
+ '<div id="dialog"></div>';
// putting everything in a wrapper function that in turn is placed in a
// script tag on the website allows us to execute in the sites context