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) {
|
appDocumentation: function (key) {
|
||||||
var docuView = new window.AppDocumentationView({key: key});
|
var docuView = new window.AppDocumentationView({key: key});
|
||||||
docuView.render();
|
docuView.render();
|
||||||
this.naviView.selectMenuItem('applications-menu');
|
|
||||||
},
|
},
|
||||||
|
|
||||||
handleSelectDatabase: function () {
|
handleSelectDatabase: function () {
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
<p class="description"><%= attributes.description %></p>
|
<p class="description"><%= attributes.description %></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="swagger">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
window.AppDocumentationView = Backbone.View.extend({
|
window.AppDocumentationView = Backbone.View.extend({
|
||||||
|
|
||||||
el: '#content',
|
el: 'body',
|
||||||
template: templateEngine.createTemplate("appDocumentationView.ejs"),
|
template: templateEngine.createTemplate("appDocumentationView.ejs"),
|
||||||
|
|
||||||
initialize: function() {
|
initialize: function() {
|
||||||
|
|
Loading…
Reference in New Issue