forked from Archives/Athou_commafeed
fix warnings
This commit is contained in:
@@ -25,7 +25,16 @@
|
||||
<wicket:child />
|
||||
<wicket:container wicket:id="footer-container" />
|
||||
<wicket:container wicket:id="uservoice">
|
||||
<script>(function(){var uv=document.createElement('script');uv.type='text/javascript';uv.async=true;uv.src='//widget.uservoice.com/XYpTZZteqS4lHvgrTXeA.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(uv,s)})()</script>
|
||||
<script>
|
||||
(function() {
|
||||
var uv = document.createElement('script');
|
||||
uv.type = 'text/javascript';
|
||||
uv.async = true;
|
||||
uv.src = '//widget.uservoice.com/XYpTZZteqS4lHvgrTXeA.js';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(uv, s);
|
||||
})();
|
||||
</script>
|
||||
<script>
|
||||
UserVoice = window.UserVoice || [];
|
||||
UserVoice.push(['showTab', 'classic_widget', {
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
}
|
||||
url = url.substring(0, url.length - 1);
|
||||
url = url.substring(0, url.lastIndexOf('/'));
|
||||
var link = $('#title-base-url-link')
|
||||
var link = $('#title-base-url-link');
|
||||
link.attr('href', url + '/rest');
|
||||
link.html(link.attr('href'));
|
||||
|
||||
@@ -38,11 +38,13 @@
|
||||
supportedSubmitMethods : ['get', 'post', 'put', 'delete'],
|
||||
onComplete : function(swaggerApi, swaggerUi) {
|
||||
if (console) {
|
||||
console.log("Loaded SwaggerUI")
|
||||
console.log("Loaded SwaggerUI");
|
||||
console.log(swaggerApi);
|
||||
console.log(swaggerUi);
|
||||
}
|
||||
$('pre code').each(function(i, e) {hljs.highlightBlock(e)});
|
||||
$('pre code').each(function(i, e) {
|
||||
hljs.highlightBlock(e);
|
||||
});
|
||||
},
|
||||
onFailure : function(data) {
|
||||
if (console) {
|
||||
@@ -55,7 +57,6 @@
|
||||
|
||||
window.swaggerUi.load();
|
||||
});
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
@@ -65,22 +66,26 @@
|
||||
<a id="logo" href="../" style="padding-left: 0px">CommaFeed API</a>
|
||||
|
||||
<form id='api_selector'>
|
||||
<div class='input'><input placeholder="http://example.com/api" id="input_baseUrl" name="baseUrl"
|
||||
type="text"/></div>
|
||||
<div class='input'><a id="explore" href="#">Explore</a></div>
|
||||
<div class='input'>
|
||||
<input placeholder="http://example.com/api" id="input_baseUrl" name="baseUrl" type="text" />
|
||||
</div>
|
||||
<div class='input'>
|
||||
<a id="explore" href="#">Explore</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="message-bar" class="swagger-ui-wrap">
|
||||
|
||||
</div>
|
||||
<div id="message-bar" class="swagger-ui-wrap"> </div>
|
||||
|
||||
<h3 style="text-align: center">Authentication is required to access the REST API. Use HTTP Basic Authentication to authenticate yourself.</h3>
|
||||
<h3 style="text-align: center">The base URL of the API is <a id="title-base-url-link"></a>.</h3>
|
||||
<div id="swagger-ui-container" class="swagger-ui-wrap">
|
||||
|
||||
</div>
|
||||
<h3 style="text-align: center">Authentication is required to access the REST API. Use HTTP Basic Authentication to authenticate
|
||||
yourself.</h3>
|
||||
<h3 style="text-align: center">
|
||||
The base URL of the API is
|
||||
<a id="title-base-url-link"></a>
|
||||
.
|
||||
</h3>
|
||||
<div id="swagger-ui-container" class="swagger-ui-wrap"></div>
|
||||
|
||||
</body>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user