Updated static asset references in head; made throbber reference a remote image.

This commit is contained in:
zeke
2011-08-09 09:54:54 -07:00
parent 82ff118ecc
commit df181d408d
3 changed files with 13 additions and 15 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

View File

@@ -4,13 +4,13 @@
<meta charset='utf-8' /> <meta charset='utf-8' />
<!-- Always force latest IE rendering engine (even in intranet) and Chrome Frame --> <!-- Always force latest IE rendering engine (even in intranet) and Chrome Frame -->
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible' /> <meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible' />
<link href='http://fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'>
<title>Swagger API Explorer</title> <title>Swagger API Explorer</title>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/themes/smoothness/jquery-ui.css" media="screen" rel="stylesheet" type="text/css" /> <link href='http://fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css' />
<link href="stylesheets/screen.css" media="screen" rel="stylesheet" type="text/css" /> <link href='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/themes/smoothness/jquery-ui.css' media='screen' rel='stylesheet' type='text/css' />
<script src="javascripts/app.js" type="text/javascript"></script> <link href='stylesheets/screen.css' media='screen' rel='stylesheet' type='text/css' />
<script src="javascripts/swagger-service.js" type="text/javascript"></script> <script src='javascripts/app.js' type='text/javascript'></script>
<script src="javascripts/swagger-ui.js" type="text/javascript"></script> <script src='javascripts/swagger-service.js' type='text/javascript'></script>
<script src='javascripts/swagger-ui.js' type='text/javascript'></script>
</head> </head>
<body> <body>
<form id='api_selector'> <form id='api_selector'>
@@ -90,7 +90,7 @@
<div class='sandbox_header' id='${apiName}_${nickname}_${httpMethod}_content_sandbox_response_header'> <div class='sandbox_header' id='${apiName}_${nickname}_${httpMethod}_content_sandbox_response_header'>
<input class='submit' id='${apiName}_${nickname}_${httpMethod}_content_sandbox_response_button' name='commit' type='button' value='Try it out!' /> <input class='submit' id='${apiName}_${nickname}_${httpMethod}_content_sandbox_response_button' name='commit' type='button' value='Try it out!' />
<a href='#' id='${apiName}_${nickname}_${httpMethod}_content_sandbox_response_hider' onclick="$('#${apiName}_${nickname}_${httpMethod}_content_sandbox_response').slideUp();$(this).fadeOut(); return false;" style='display:none'>Hide Response</a> <a href='#' id='${apiName}_${nickname}_${httpMethod}_content_sandbox_response_hider' onclick="$('#${apiName}_${nickname}_${httpMethod}_content_sandbox_response').slideUp();$(this).fadeOut(); return false;" style='display:none'>Hide Response</a>
<img alt='Throbber' id='${apiName}_${nickname}_${httpMethod}_content_sandbox_response_throbber' src='images/throbber.gif' style='display:none' /> <img alt='Throbber' id='${apiName}_${nickname}_${httpMethod}_content_sandbox_response_throbber' src='http://swagger.wordnik.com/images/throbber.gif' style='display:none' />
</div> </div>
</form> </form>
<div class='response' id='${apiName}_${nickname}_${httpMethod}_content_sandbox_response' style='display:none'> <div class='response' id='${apiName}_${nickname}_${httpMethod}_content_sandbox_response' style='display:none'>

View File

@@ -1,21 +1,19 @@
!!! !!!
%html %html
%head %head
%meta{:charset => "utf-8"} %meta{:charset => "utf-8"}
/ Always force latest IE rendering engine (even in intranet) and Chrome Frame / Always force latest IE rendering engine (even in intranet) and Chrome Frame
%meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"} %meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}
<link href='http://fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'>
%title Swagger API Explorer %title Swagger API Explorer
= stylesheet_link_tag 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/themes/smoothness/jquery-ui.css' %link{:href => "http://fonts.googleapis.com/css?family=Droid+Sans:400,700", :rel => "stylesheet", :type => "text/css"}
= stylesheet_link_tag "screen.css" %link{:href => "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/themes/smoothness/jquery-ui.css", :media => "screen", :rel => "stylesheet", :type => "text/css"}
%link{:href => "stylesheets/screen.css", :media => "screen", :rel => "stylesheet", :type => "text/css"}
= javascript_include_tag 'app' %script{:src => "javascripts/app.js", :type => "text/javascript"}
= javascript_include_tag 'swagger-service' %script{:src => "javascripts/swagger-service.js", :type => "text/javascript"}
= javascript_include_tag 'swagger-ui' %script{:src => "javascripts/swagger-ui.js", :type => "text/javascript"}
%body %body
= yield = yield