mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
api page styling
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 770 B |
@@ -27,7 +27,7 @@
|
|||||||
url = url + '/rest/resources';
|
url = url + '/rest/resources';
|
||||||
window.swaggerUi = new SwaggerUi({
|
window.swaggerUi = new SwaggerUi({
|
||||||
discoveryUrl:url,
|
discoveryUrl:url,
|
||||||
apiKey:"special-key",
|
apiKey:"",
|
||||||
dom_id:"swagger-ui-container",
|
dom_id:"swagger-ui-container",
|
||||||
supportHeaderParams: false,
|
supportHeaderParams: false,
|
||||||
supportedSubmitMethods: ['get', 'post', 'put'],
|
supportedSubmitMethods: ['get', 'post', 'put'],
|
||||||
@@ -57,18 +57,11 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id='header'>
|
<div id='header'>
|
||||||
<div class="swagger-ui-wrap">
|
<div class="swagger-ui-wrap">
|
||||||
<a id="logo" href="http://swagger.wordnik.com">swagger</a>
|
<a id="logo" href="../" style="padding-left: 0px">CommaFeed API</a>
|
||||||
|
|
||||||
<form id='api_selector'>
|
<form id='api_selector'>
|
||||||
<div class='input icon-btn'>
|
|
||||||
<img id="show-pet-store-icon" src="images/pet_store_api.png" title="Show Swagger Petstore Example Apis">
|
|
||||||
</div>
|
|
||||||
<div class='input icon-btn'>
|
|
||||||
<img id="show-wordnik-dev-icon" src="images/wordnik_api.png" title="Show Wordnik Developer Apis">
|
|
||||||
</div>
|
|
||||||
<div class='input'><input placeholder="http://example.com/api" id="input_baseUrl" name="baseUrl"
|
<div class='input'><input placeholder="http://example.com/api" id="input_baseUrl" name="baseUrl"
|
||||||
type="text"/></div>
|
type="text"/></div>
|
||||||
<div class='input'><input placeholder="api_key" id="input_apiKey" name="apiKey" type="text"/></div>
|
|
||||||
<div class='input'><a id="explore" href="#">Explore</a></div>
|
<div class='input'><a id="explore" href="#">Explore</a></div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user