1
0
Fork 0

ui changes

This commit is contained in:
Heiko Kernbach 2012-06-15 11:09:09 +02:00
parent 59fee44010
commit 3d0dc82f9d
3 changed files with 8 additions and 7 deletions

View File

@ -353,6 +353,7 @@ form {
}
#formatshellJSONyesno {
font-weight:0.8em;
float:right;
padding-right:10px;
margin-top: -3px;

View File

@ -398,12 +398,12 @@
<input type="text" class="editBox" id="avocshContent"></input><button class="minimal" id="submitAvoc">Ok</button>
</form>
<button class="minimal" id="refreshShell">Refresh</button>
<form action="#" id="formatshellJSONyesno">
<form action="#" id="formatshellJSONyesno" style="font-size:0.8em;">
Format JSON?
<input type="radio" name="formatshellJSONyesno" value=true checked>yes</input>
<input type="radio" name="formatshellJSONyesno" value=false>no</input>
</form>
<a href="http://www.arangodb.org/manuals/UserManual.html" target="_blank">ArangoDB Shell - click for more information</a>
<a href="http://www.arangodb.org/manuals/UserManual.html" target="_blank" style="font-size:0.8em">ArangoDB Shell - click for more information</a>
</div>
<div id="queryView" style="display: none">
@ -413,10 +413,10 @@
<form id="queryForm" method="post" onsubmit="return false">
<textarea placeholder="Type in your query..." class="editBox" id="queryContent"></textarea><br>
<button class="minimal" id="submitQuery">Execute</button>
<a id="aqlinfo" href="http://www.arangodb.org/manuals/Aql.html" target="_blank">ArangoDB Query Language - click for more information</a>
<a style="font-size:0.8em;" id="aqlinfo" href="http://www.arangodb.org/manuals/Aql.html" target="_blank">ArangoDB Query Language - click for more information</a>
<br></br>
</form>
<form action="#" id="formatJSONyesno">
<form action="#" id="formatJSONyesno" style="font-size:0.8em;">
Format JSON?
<input type="radio" name="formatJSONyesno" value=true checked>yes</input>
<input type="radio" name="formatJSONyesno" value=false>no</input>

View File

@ -95,7 +95,7 @@ $("#documents_last").live('click', function () {
///////////////////////////////////////////////////////////////////////////////
/// html customizations
///////////////////////////////////////////////////////////////////////////////
$('#logView ul').append('<button class="enabled" id="refreshLogButton"><img src="/_admin/html/media/icons/refresh_icon16.png" width=16 height=16></button><div id=tab_right align=right><form><input type="text" id="logSearchField"></input><button id="submitLogSearch">Search</button></form></div>');
$('#logView ul').append('<button class="enabled" id="refreshLogButton"><img src="/_admin/html/media/icons/refresh_icon16.png" width=16 height=16></button><div id=tab_right align=right><form><input type="text" id="logSearchField" placeholder="Search..."></input><button id="submitLogSearch" style="visibility:hidden;"></button></form></div>');
///////////////////////////////////////////////////////////////////////////////
/// initialize jquery tabs
@ -2003,8 +2003,8 @@ function showCursor() {
}
function cutByResolution (string) {
if (string.length > 90) {
return escaped(string.substr(0, 90)) + '...';
if (string.length > 70) {
return escaped(string.substr(0, 70)) + '...';
}
return escaped(string);
}