Commit Graph

9 Commits

Author SHA1 Message Date
Tobias Lidskog d621049827 Plugin tab polish (#1794)
* Avoid crash for plugin has nothing to render.

Plugins that register a pug file, but has nothing to render (e.g. when WPT timed out for all urls), would still have their pugs rendered. This would break the assumption there was data to render, leading to a crash.

Unhandled rejection TypeError: Cannot read property 'run' of undefined on line 13

Filtering out the plugin pugs where there’s data from messages fixes this crash.

* Allow eslinting on js-files in html templates.

* Simplify css/js/pug for tab rendering.

* Split inline js into separate .js file (to allow linting and syntax highlighting in editor).
* Update js/css to show all tabs by default, and then hide them on page load via javascript. That way all content is visible if js fails to load, instead of all content being hidden.

* Don’t scroll page when switching result tab.

* Rename pagexray image for consistency.

* More granular checks for missing plugin data.

* Reflect tab switches in url fragment.
2017-11-15 20:03:00 +01:00
soulgalore e154acf6d9 better compression 2017-10-27 22:39:56 +02:00
soulgalore 4258805c42 compare logo 2017-10-16 21:14:34 +02:00
Peter Hedenskog 1e744a5b76 Add video support (#1355) 2016-11-30 22:59:45 +01:00
soulgalore ab04fac822 compress the images 2016-07-27 21:54:28 +02:00
soulgalore 2292b3927b fine tuning the images 2016-07-27 21:54:08 +02:00
Peter Hedenskog d14bc0e368 Move content into tabs (#1086)
Lets move content into tabs.  Right now it's CSS only but maybe we change that in the future. #872
2016-07-27 10:33:23 +02:00
Peter Hedenskog bc257d99db Title & description & icons (#1044)
* page titles and descriptions
* favicons and no index for robots
2016-07-07 22:50:40 +02:00
soulgalore 40e0e768cf Simple CSS/HTML to get it all going. This is only the beginning. 2016-04-14 00:19:49 +02:00