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>
|
<h3>
|
||||||
<%= attributes.name %>
|
<%= attributes.name %>
|
||||||
<span class="license"><%= attributes.license %></span>
|
<span class="license"><%= attributes.license %></span>
|
||||||
|
<% if (attributes.development) { %>
|
||||||
|
<span class="version">devel</span>
|
||||||
|
<% } else { %>
|
||||||
<span class="version"><%= attributes.app.split(':').pop() %></span>
|
<span class="version"><%= attributes.app.split(':').pop() %></span>
|
||||||
|
<% } %>
|
||||||
</h3>
|
</h3>
|
||||||
<p class="description"><%= attributes.description %></p>
|
<p class="description"><%= attributes.description %></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -87,7 +87,6 @@
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<button id="installGithub" class="button-success pull-right" style="margin-right:8px">Install</button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -104,7 +103,6 @@
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<button id="installZip" class="button-success pull-right" style="margin-right:8px">Install</button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*jshint browser: true */
|
/*jshint browser: true */
|
||||||
/*jshint strict: false, unused: false */
|
/*jshint strict: false, unused: false */
|
||||||
/*global Backbone, $, window, arangoHelper, templateEngine, Joi, _*/
|
/*global Backbone, $, window, arangoHelper, templateEngine, Joi, _, modalDialogHelper*/
|
||||||
|
|
||||||
window.ApplicationDetailView = Backbone.View.extend({
|
window.ApplicationDetailView = Backbone.View.extend({
|
||||||
el: '#content',
|
el: '#content',
|
||||||
|
|
|
@ -636,7 +636,7 @@
|
||||||
description: $("#new-app-description").val()
|
description: $("#new-app-description").val()
|
||||||
};
|
};
|
||||||
console.log(info);
|
console.log(info);
|
||||||
$.post("templates/generate", info, function(a) {
|
$.post("templates/generate", JSON.stringify(info), function(a) {
|
||||||
alert("GENERATOOOO!", a);
|
alert("GENERATOOOO!", a);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue