1
0
Fork 0

avocsh welcomemsg

This commit is contained in:
Heiko Kernbach 2012-05-23 13:25:02 +02:00
parent 3d16ccda68
commit c1b120b8dc
2 changed files with 20 additions and 2 deletions

View File

@ -387,7 +387,25 @@
<div id="avocshView" style="display: none">
<div id="avocshWindow">
<a id="welcomemsg">Welcome! ArangoDB Shell - visit www.arangodb.org fore more information<a><br><br>
<pre id="welcomemsg" style="font-family: 'courier';">
_
__ _ _ __ __ _ _ __ __ _ ___ ___| |__
/ _` | '__/ _` | '_ \ / _` |/ _ \/ __| '_ \
| (_| | | | (_| | | | | (_| | (_) \__ \ | | |
\__,_|_| \__,_|_| |_|\__, |\___/|___/_| |_|
|___/
Welcome to arangosh 0.5.1. Copyright (c) 2012 triAGENS GmbH.
------------------------------------- Help -------------------------------------
Example:
> db._collections(); list all collections
> db.<coll_name>.all(); list all documents
> id = db.<coll_name>.save({ ... }); save a document
> db.<coll_name>.remove(<_id>); delete a document
> db.<coll_name>.document(<_id>); get a document
> help show help pages
</pre><br><br>
</div>
<form>
<input type="text" class="editBox" id="avocshContent"></input><button class="minimal" id="submitAvoc">Ok</button>

View File

@ -198,7 +198,7 @@ var msg;
contentType: "application/json",
processData: false,
success: function(data) {
return data;
return data;
msg = JSON.stringify(data);
},
error: function(data) {