mirror of https://gitee.com/bigwinds/arangodb
421 lines
16 KiB
HTML
421 lines
16 KiB
HTML
<html>
|
|
|
|
<head>
|
|
<title>WebAdmin</title>
|
|
<style type="text/css" title="screen">
|
|
@import "css/layout.css";
|
|
@import "css/jquery.snippet.css";
|
|
@import "css/jquery-ui-1.8.19.custom.css";
|
|
@import "css/jquery.dataTables_themeroller.css";
|
|
</style>
|
|
<script type="text/javascript" language="javascript" src="js/jquery-1.7.2.js"></script>
|
|
<script type="text/javascript" language="javascript" src="js/jquery.snippet.js"></script>
|
|
<script type="text/javascript" language="javascript" src="js/json2.js"></script>
|
|
<script type="text/javascript" language="javascript" src="js/jquery.sha256.js"></script>
|
|
<script type="text/javascript" language="javascript" src="js/jquery.layout-latest.js"></script>
|
|
<script type="text/javascript" language="javascript" src="js/jquery.address-1.4.js"></script>
|
|
<script type="text/javascript" language="javascript" src="js/jquery.dataTables.js"></script>
|
|
<script type="text/javascript" language="javascript" src="js/jquery-ui-1.8.18.custom.min.js"></script>
|
|
<script type="text/javascript" language="javascript" src="js/jquery.jeditable.js"></script>
|
|
<script type="text/javascript" language="javascript" src="js/master.js"></script>
|
|
<script type="text/javascript" language="javascript" src="js/avocsh1.js"></script>
|
|
<script type="text/javascript" language="javascript" src="js/client.js"></script>
|
|
<script type="text/javascript" language="javascript" src="js/jsunity.js"></script>
|
|
<script type="text/javascript" language="javascript" src="js/test.js"></script>
|
|
<style>
|
|
a:link {color: #9EAF5A; text-decoration: none;}
|
|
a:visited {color: #9EAF5A; text-decoration: none;}
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="header" class="ui-layout-north">
|
|
<div id="menue" class="ui-layout-north">
|
|
|
|
<div id="menue-left">
|
|
<a href="/_admin/html/index.html"><img src="../html/media/images/avocadodb_logo.png"></a>
|
|
</div>
|
|
|
|
<div id="menue-center">
|
|
</div>
|
|
|
|
<div id="menue-right">
|
|
<button class="minimal" id="Collections">Collections</button>
|
|
<button class="minimal" id="Status">Status</button>
|
|
<button class="minimal" id="Logs">Logs</button>
|
|
<button class="minimal" id="Configuration">Configuration</button>
|
|
<button class="minimal" id="Query">Query</button>
|
|
<button class="minimal" id="AvocSH">AvocSH</button>
|
|
</div>
|
|
|
|
</div>
|
|
<div id="brotkruemelnavi" class="ui-layout-south">
|
|
<a id="nav1"></a>
|
|
<a id="nav2"></a>
|
|
<a id="nav3"></a>
|
|
<a id="nav4"></a>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="centerView" class="ui-layout-center" class="ui-layout-content">
|
|
<div id="collectionsView">
|
|
<button class="toolbar" id="createCollection">
|
|
<img src="/_admin/html/media/icons/round_plus_icon16.png" width="16" height="16">
|
|
<a>New Collection</a>
|
|
</button>
|
|
<button class="toolbar" id="refreshCollections">
|
|
<img src="/_admin/html/media/icons/refresh_icon16.png" width="16" height="16">
|
|
<a>Refresh</a>
|
|
</button>
|
|
<table cellpadding="0" cellspacing="0" border="0" class="display" id="collectionsTableID" width="100%">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>ID</th>
|
|
<th>Name</th>
|
|
<th>Status</th>
|
|
<th>Size Documents</th>
|
|
<th>Alive</th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
|
|
<div id="subCenterView">
|
|
|
|
<div id="createCollectionView" style="display: none">
|
|
<button class="minimal" id="saveNewCollection">
|
|
<img src="/_admin/html/media/icons/save_icon16.png" width="16" height="16">
|
|
<a>Save Collection</a>
|
|
</button>
|
|
<button class="minimal" id="cancelNewCollection">
|
|
<img src="/_admin/html/media/icons/cancel_icon16.png" width="16" height="16">
|
|
<a>Cancel</a>
|
|
</button>
|
|
<br></br>
|
|
<div id="newCollection_left">
|
|
<a>Name:</a><br></br>
|
|
<a>waitForSync:</a>
|
|
</div>
|
|
<div id="newCollection_right">
|
|
<input type="text" class="smallInput" id="createCollName"></input>
|
|
<form action="#" id="waitForSyncForm">
|
|
<input type="radio" name="waitForSync" value=true checked>yes</input>
|
|
<input type="radio" name="waitForSync" value=false>no</input>
|
|
</form>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div id="editCollectionView" style="display: none">
|
|
<button class="minimal" id="saveEditedCollection">
|
|
<img src="/_admin/html/media/icons/doc_plus_icon16.png" width="16" height="16">
|
|
<a>Save Collection</a>
|
|
</button>
|
|
<br></br>
|
|
<table cellpadding="3" cellspacing="0" border="0" width="300px" id="editCollectionTable">
|
|
<tr>
|
|
<td align="left"><b>Name:</b></td>
|
|
<td><input id="editCollectionName" type="text" placeholder="unknown" name="username"></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="left"><b>ID:</b></td>
|
|
<td id="editCollectionID">unknown</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="left"><b>Status:</b></td>
|
|
<td id="editCollectionStatus">unknown</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<div id="documentsView" style="display: none">
|
|
<button class="minimal" id="addDocumentButton">
|
|
<img src="/_admin/html/media/icons/doc_plus_icon16.png" width="16" height="16">
|
|
<a>Add Document</a>
|
|
</button>
|
|
<table cellpadding="0" cellspacing="0" border="0" class="display" id="documentsTableID" width="100%">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>_id</th>
|
|
<th>_rev</th>
|
|
<th>Content</th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
|
|
<div id="documentsToolbar">
|
|
<button id="documents_last"><img src="/_admin/html/media/icons/rnd_br_first_icon16.png"></button>
|
|
<button id="documents_next"><img src="/_admin/html/media/icons/rnd_br_prev_icon16.png"></button>
|
|
<button id="documents_prev"><img src="/_admin/html/media/icons/rnd_br_next_icon16.png"></button>
|
|
<button id="documents_first"><img src="/_admin/html/media/icons/rnd_br_last_icon16.png"></button>
|
|
<a id="documents_status">Showing</a>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="documentEditView" style="display: none">
|
|
<button class="minimal" id="saveEditedDocButton">
|
|
<img src="/_admin/html/media/icons/save_icon16.png" width="16" height="16">
|
|
<a>Save Document</a>
|
|
</button>
|
|
<button class="minimal" id="addEditedDocRowButton">
|
|
<img src="/_admin/html/media/icons/round_plus_icon16.png" width="16" height="16">
|
|
<a>Add row</a>
|
|
</button>
|
|
<button class="minimal" id="toggleEditedDocButton">
|
|
<a>Source</a>
|
|
<img src="/_admin/html/media/icons/off_icon16.png" width="16" height="16">
|
|
</button>
|
|
<div id="documentEditTableView">
|
|
<table cellpadding="0" cellspacing="0" border="0" class="display" id="documentEditTableID" width="100%">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Key</th>
|
|
<th>Value</th>
|
|
<th>type</th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
|
|
<div id="documentEditSourceView" style="display: none">
|
|
<textarea id="documentEditSourceBox" class="editBox"></textarea>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="newDocumentView" style="display: none">
|
|
|
|
<div id="newDocumentTableView">
|
|
<button class="minimal" id="saveNewDocButton">
|
|
<img src="/_admin/html/media/icons/save_icon16.png" width="16" height="16">
|
|
<a>Save Document</a>
|
|
</button>
|
|
<button class="minimal" id="addNewDocButton">
|
|
<img src="/_admin/html/media/icons/round_plus_icon16.png" width="16" height="16">
|
|
<a>Add row</a>
|
|
</button>
|
|
<button class="minimal" id="toggleNewDocButton">
|
|
<a>Source</a>
|
|
<img src="/_admin/html/media/icons/off_icon16.png" width="16" height="16">
|
|
</button>
|
|
<div id="NewDocumentTableView">
|
|
<table cellpadding="0" cellspacing="0" border="0" class="display" id="NewDocumentTableID" width="100%">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Key</th>
|
|
<th>Value</th>
|
|
<th>type</th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="NewDocumentSourceView" style="display:none">
|
|
<textarea id="NewDocumentSourceBox" class="editBox"></textarea>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="logView" style="display: none">
|
|
|
|
<div id="tabs">
|
|
<ul>
|
|
<li><a href="#All">All</a><li>
|
|
<li><a id="logCritTab" href="#Critical">Critical</a><li>
|
|
<li><a id="logWarnTab" href=#Warning">Warning</a><li>
|
|
<li><a id="logInfoTab" href="#Info">Info</a><li>
|
|
<li><a id="logDebuTab" href="#Debug">Debug</a><li>
|
|
</ul>
|
|
|
|
<div id="All">
|
|
<table cellpadding="0" cellspacing="0" border="0" class="display" id="logTableID" width="100%">
|
|
<thead>
|
|
<tr>
|
|
<th>Loglevel</th>
|
|
<th>Info</th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
<div id="logToolbar">
|
|
<button id="logTableID_first"><img src="/_admin/html/media/icons/rnd_br_first_icon16.png"></button>
|
|
<button id="logTableID_prev"><img src="/_admin/html/media/icons/rnd_br_prev_icon16.png"></button>
|
|
<button id="logTableID_next"><img src="/_admin/html/media/icons/rnd_br_next_icon16.png"></button>
|
|
<button id="logTableID_last"><img src="/_admin/html/media/icons/rnd_br_last_icon16.png"></button>
|
|
<a id="logTableID_status">Showing</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="Critical">
|
|
<table cellpadding="0" cellspacing="0" border="0" class="display" id="critLogTableID" width="100%">
|
|
<thead>
|
|
<tr>
|
|
<th>Loglevel</th>
|
|
<th>Info</th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
<div id="logToolbar">
|
|
<button id="critLogTableID_first"><img src="/_admin/html/media/icons/rnd_br_first_icon16.png"></button>
|
|
<button id="critLogTableID_prev"><img src="/_admin/html/media/icons/rnd_br_prev_icon16.png"></button>
|
|
<button id="critLogTableID_next"><img src="/_admin/html/media/icons/rnd_br_next_icon16.png"></button>
|
|
<button id="critLogTableID_last"><img src="/_admin/html/media/icons/rnd_br_last_icon16.png"></button>
|
|
<a id="critLogTableID_status">Showing</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="Warning">
|
|
<table cellpadding="0" cellspacing="0" border="0" class="display" id="warnLogTableID" width="100%">
|
|
<thead>
|
|
<tr>
|
|
<th>Loglevel</th>
|
|
<th>Info</th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
<div id="logToolbar">
|
|
<button id="warnLogTableID_first"><img src="/_admin/html/media/icons/rnd_br_first_icon16.png"></button>
|
|
<button id="warnLogTableID_prev"><img src="/_admin/html/media/icons/rnd_br_prev_icon16.png"></button>
|
|
<button id="warnLogTableID_next"><img src="/_admin/html/media/icons/rnd_br_next_icon16.png"></button>
|
|
<button id="warnLogTableID_last"><img src="/_admin/html/media/icons/rnd_br_last_icon16.png"></button>
|
|
<a id="warnLogTableID_status">Showing</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="Info">
|
|
<table cellpadding="0" cellspacing="0" border="0" class="display" id="infoLogTableID" width="100%">
|
|
<thead>
|
|
<tr>
|
|
<th>Loglevel</th>
|
|
<th>Info</th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
<div id="logToolbar">
|
|
<button id="infoLogTableID_first"><img src="/_admin/html/media/icons/rnd_br_first_icon16.png"></button>
|
|
<button id="infoLogTableID_prev"><img src="/_admin/html/media/icons/rnd_br_prev_icon16.png"></button>
|
|
<button id="infoLogTableID_next"><img src="/_admin/html/media/icons/rnd_br_next_icon16.png"></button>
|
|
<button id="infoLogTableID_last"><img src="/_admin/html/media/icons/rnd_br_last_icon16.png"></button>
|
|
<a id="infoLogTableID_status">Showing</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="Debug">
|
|
<table cellpadding="0" cellspacing="0" border="0" class="display" id="debugLogTableID" width="100%">
|
|
<thead>
|
|
<tr>
|
|
<th>Loglevel</th>
|
|
<th>Info</th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
<div id="logToolbar">
|
|
<button id="debugLogTableID_first"><img src="/_admin/html/media/icons/rnd_br_first_icon16.png"></button>
|
|
<button id="debugLogTableID_prev"><img src="/_admin/html/media/icons/rnd_br_prev_icon16.png"></button>
|
|
<button id="debugLogTableID_next"><img src="/_admin/html/media/icons/rnd_br_next_icon16.png"></button>
|
|
<button id="debugLogTableID_last"><img src="/_admin/html/media/icons/rnd_br_last_icon16.png"></button>
|
|
<a id="debugLogTableID_status">Showing</a>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="statusView" style="display: none">
|
|
</div>
|
|
|
|
<div id="configView" style="display: none">
|
|
</div>
|
|
|
|
<div id="avocshView" style="display: none">
|
|
<div class="editBox" id="avocshWindow">
|
|
</div>
|
|
|
|
<form>
|
|
<input type="text" class="editBox" id="avocshContent"></input><button class="minimal" id="submitAvoc">Ok</button>
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div id="queryView" style="display: none">
|
|
<form id="queryForm" method="post" onsubmit="return false">
|
|
<textarea class="editBox" id="queryContent"></textarea><br><button class="minimal" id="submitQuery">Post</button>
|
|
</form>
|
|
|
|
<div id="queryOutput">
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="footerSlideContainer" class="ui-layout-south" class="footer-ui">
|
|
<div id="footerSlideButton"></div>
|
|
<div id="footerSlideContent">
|
|
<div id="footerSlideText">
|
|
|
|
<div id="footerLeft">
|
|
<a>Welcome </a><a id="activeUser" class="loggedout">Guest!</a>
|
|
<button class="minimal" id="movetologinButton">Login</button><button class="minimal" id="logoutButton">Logout</button>
|
|
<form class="login-form" id="loginWindow" action="#">
|
|
<input type="text" name="username" id="usernameField" placeholder="username">
|
|
<input type="password" name="password" id="passwordField" placeholder="password">
|
|
<button class="minimal" value="log in" id="loginButton">Login</button>
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div id="footerCenter">
|
|
AvocadoDB<br></br>
|
|
<div id="footerCenterContent">
|
|
<a> Stay in touch: </a>
|
|
<a href="http://twitter.com/avocadodb">
|
|
<img src="/_admin/html/media/icons/twitter.png" width="32" height="32">
|
|
Twitter
|
|
</a>
|
|
<a href="http://github.com/triAGENS/AvocadoDB">
|
|
<img src="/_admin/html/media/icons/git.png" width="32" height="32">
|
|
GitHub
|
|
</a>
|
|
<a href="http://avocadodb.org">
|
|
<img src="/_admin/html/media/icons/avocadodb32.png" width="32" height="32">
|
|
AvocadoDB.org
|
|
</a><br>
|
|
<a href="http://groups.google.com/group/avocadodb">
|
|
<img src="/_admin/html/media/icons/google.png" width="32" height="32">
|
|
GoogleGroup
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="footerRight">
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="dialog-deleteCollection" title="Really delete collection?">
|
|
<p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>
|
|
The collection will be permanently deleted and cannot be recovered.</p>
|
|
</div>
|
|
|
|
|
|
</body>
|
|
</html>
|