mirror of https://gitee.com/bigwinds/arangodb
Add Documentation to the Foxx Detail View
This commit is contained in:
parent
392b6a6b1e
commit
d0000ec0cb
|
@ -256,7 +256,6 @@
|
|||
appDocumentation: function (key) {
|
||||
var docuView = new window.AppDocumentationView({key: key});
|
||||
docuView.render();
|
||||
this.naviView.selectMenuItem('applications-menu');
|
||||
},
|
||||
|
||||
handleSelectDatabase: function () {
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
<p class="description"><%= attributes.description %></p>
|
||||
</div>
|
||||
<div class="swagger">
|
||||
<iframe src="http://localhost:8529/_db/_system/_admin/aardvark/standalone.html#application/documentation/<%= attributes._key %>" width="800" height="600" name="Documentation"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
window.AppDocumentationView = Backbone.View.extend({
|
||||
|
||||
el: '#content',
|
||||
el: 'body',
|
||||
template: templateEngine.createTemplate("appDocumentationView.ejs"),
|
||||
|
||||
initialize: function() {
|
||||
|
|
Loading…
Reference in New Issue