Commit Graph

14 Commits

Author SHA1 Message Date
Miroslav Bajtoš 6028f70fda Remove unused external font "Droid Sans".
We are shipping a custom style that uses "Ubuntu" instead of "Droid
Sans", thus there is no need to download the "Droid Sans" font
from Google's CDN.

This change should improve explorer's loading time in the situations
where the external URL takes too long to load or cannot be loaded at
all, for example when running behind a restricting proxy.
2015-02-18 15:14:41 +01:00
Raymond Feng 9a9b7899a0 Merge pull request #72 from STRML/lsToken
Save accessToken in localStorage. Fixes #47
2015-01-06 09:41:46 -08:00
Nick Van Dyck 4aa5fd372f Add X-UA-Compatible tag
Allows people to open the explorer in IE without constantly changing the document mode.
2014-12-26 20:56:15 +01:00
Samuel Reed ce76f17ee1 Save accessToken in localStorage. Fixes #47 2014-11-10 10:11:25 +00:00
Miroslav Bajtoš d212741638 loopbackStyles: improve spacing in small window
Improve spacing of page elements when the browser window is small.
2014-10-16 10:34:41 +02:00
Samuel Reed 0a35cdb4af Sort endpoints by letter.
Merged from swagger-ui's index.html.

Previously, endpoints were sorted in the order they were defined.
2014-10-07 13:56:30 +02:00
Samuel Reed ad68695009 Add syntax highlighting styles & highlight threshold.
Previously, highlighting classes were being added to the DOM but had no CSS
so the user just saw black - a lot of CPU usage for nothing.

These styles now attractively and minimally style resposes so long as
they are below a certain threshold, as well as model schemas.

The highlightSizeThreshold fixes the long hang users would
see when large responses were returned.
2014-10-07 11:07:41 +02:00
Samuel Reed fcd1926758 s/accessToken/access_token in authorization key name 2014-07-14 15:40:05 -05:00
Samuel Reed a6afe13b08 Restore existing styles.
TODO extract overrides instead of replacing styles wholesale.
2014-07-09 12:03:34 -05:00
Samuel Reed 5f22982200 Allow easy setting of accessToken in explorer UI. 2014-07-09 11:45:44 -05:00
Samuel Reed 56003f0178 Load swagger ui from `swagger-ui` package instead.
Added option `swaggerDistRoot` for specific file overrides.
2014-07-04 14:28:47 -05:00
Miroslav Bajtos a33c067ffa Support custom basePath
Recognize the `basePath` passed to swagger extension and use it in
the webpage to construct the correct `discoveryUrl`.
2013-11-29 16:26:16 +01:00
Miroslav Bajtos 3ebbcedcd9 Convert public/index.html from CRLF to LF.
No code changes.
2013-11-29 16:21:42 +01:00
Ritchie Martori f3d6cb9b54 Initial explorer 2013-11-05 11:16:59 -08:00