mirror of https://gitee.com/bigwinds/arangodb
Improved the optics of the Apllication install View. Also now shows Devel as version number for dev apps.
This commit is contained in:
parent
d3987063a5
commit
dc15329e64
|
@ -20,7 +20,11 @@
|
|||
<h3>
|
||||
<%= attributes.name %>
|
||||
<span class="license"><%= attributes.license %></span>
|
||||
<span class="version"><%= attributes.app.split(':').pop() %></span>
|
||||
<% if (attributes.development) { %>
|
||||
<span class="version">devel</span>
|
||||
<% } else { %>
|
||||
<span class="version"><%= attributes.app.split(':').pop() %></span>
|
||||
<% } %>
|
||||
</h3>
|
||||
<p class="description"><%= attributes.description %></p>
|
||||
</div>
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
</th>
|
||||
</tr>
|
||||
</table>
|
||||
<button id="installGithub" class="button-success pull-right" style="margin-right:8px">Install</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -104,7 +103,6 @@
|
|||
</th>
|
||||
</tr>
|
||||
</table>
|
||||
<button id="installZip" class="button-success pull-right" style="margin-right:8px">Install</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*jshint browser: true */
|
||||
/*jshint strict: false, unused: false */
|
||||
/*global Backbone, $, window, arangoHelper, templateEngine, Joi, _*/
|
||||
/*global Backbone, $, window, arangoHelper, templateEngine, Joi, _, modalDialogHelper*/
|
||||
|
||||
window.ApplicationDetailView = Backbone.View.extend({
|
||||
el: '#content',
|
||||
|
|
|
@ -636,7 +636,7 @@
|
|||
description: $("#new-app-description").val()
|
||||
};
|
||||
console.log(info);
|
||||
$.post("templates/generate", info, function(a) {
|
||||
$.post("templates/generate", JSON.stringify(info), function(a) {
|
||||
alert("GENERATOOOO!", a);
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue