mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
This commit is contained in:
commit
a2bf5a94b0
|
@ -10,6 +10,7 @@
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0px;
|
bottom: 0px;
|
||||||
|
z-index: 9999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footerExtra {
|
.footerExtra {
|
||||||
|
@ -75,3 +76,24 @@
|
||||||
background: none repeat scroll 0 0 #383434;
|
background: none repeat scroll 0 0 #383434;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.footer-left {
|
||||||
|
background: none repeat scroll 0 0 #383434;
|
||||||
|
color: #FFFFFF;
|
||||||
|
width: 33.3%;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-mid {
|
||||||
|
background: none repeat scroll 0 0 #383434;
|
||||||
|
color: #FFFFFF;
|
||||||
|
width: 33.3%;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-right {
|
||||||
|
background: none repeat scroll 0 0 #383434;
|
||||||
|
color: #383434;
|
||||||
|
width: 33.3%;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
|
@ -1,2 +1,10 @@
|
||||||
<div class="copy"><p>Copyright (c) triAGENS GmbH | <a href="#about">About</a></p></div>
|
|
||||||
|
|
||||||
|
<div class="footer-left">
|
||||||
|
<p>Welcome <a id="currentUser" style="color:#FFFFFF"> Guest </a><a id="loginLink"> Login</a></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="copy footer-mid">
|
||||||
|
<p>Copyright (c) triAGENS GmbH | <a href="#about">About</a></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="footer-right"><p>.</p></div>
|
||||||
|
|
|
@ -19,7 +19,7 @@ var queryView = Backbone.View.extend({
|
||||||
template: new EJS({url: 'js/templates/queryView.ejs'}),
|
template: new EJS({url: 'js/templates/queryView.ejs'}),
|
||||||
|
|
||||||
render: function() {
|
render: function() {
|
||||||
|
var self = this;
|
||||||
$(this.el).html(this.template.text);
|
$(this.el).html(this.template.text);
|
||||||
var editor = ace.edit("aqlEditor");
|
var editor = ace.edit("aqlEditor");
|
||||||
var editor2 = ace.edit("queryOutput");
|
var editor2 = ace.edit("queryOutput");
|
||||||
|
@ -36,8 +36,10 @@ var queryView = Backbone.View.extend({
|
||||||
handles: "s",
|
handles: "s",
|
||||||
ghost: true,
|
ghost: true,
|
||||||
stop: function () {
|
stop: function () {
|
||||||
var editor2 = ace.edit("queryOutput");
|
setTimeout(function (){
|
||||||
editor2.resize();
|
var editor2 = ace.edit("queryOutput");
|
||||||
|
editor2.resize();
|
||||||
|
},200);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$('#aqlEditor').resizable({
|
$('#aqlEditor').resizable({
|
||||||
|
@ -45,8 +47,10 @@ var queryView = Backbone.View.extend({
|
||||||
ghost: true,
|
ghost: true,
|
||||||
//helper: "resizable-helper",
|
//helper: "resizable-helper",
|
||||||
stop: function () {
|
stop: function () {
|
||||||
var editor = ace.edit("aqlEditor");
|
setTimeout(function (){
|
||||||
editor.resize();
|
var editor = ace.edit("aqlEditor");
|
||||||
|
editor.resize();
|
||||||
|
},200);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue