UNPKG

happner

Version:

distributed application engine with evented storage and mesh services

99 lines (91 loc) 5.06 kB
<!--TEST STATIC PAGE--> <html> <head> <link rel="stylesheet" href="/resources/bower/bootstrap/dist/css/bootstrap.min.css"> <link rel="stylesheet" href="/resources/bower/bootstrap/dist/css/bootstrap-theme.min.css"> <link rel="stylesheet" href="/resources/bower/json-edit/css/styles.css"> <link rel="stylesheet" href="css/mesh-api-describe.css"> <script src="/resources/bower/jquery/dist/jquery.min.js"></script> <script src="/resources/bower/jquery-ui/jquery-ui.min.js"></script> <script src="/resources/bower/bootstrap/dist/js/bootstrap.min.js"></script> <script src="/resources/bower/angular/angular.min.js"></script> <script src="/resources/bower/angular-ui/build/angular-ui.min.js"></script> <script src="/resources/bower/angular-bootstrap/ui-bootstrap-tpls.min.js"></script> <script src="/resources/bower/angular-animate/angular-animate.min.js"></script> <script src="/resources/bower/angular-ui-sortable/sortable.min.js"></script> <script src="/resources/bower/json-edit/js/directives.js"></script> <script src="/browser_client"></script> <script src="/resources/lib/happn-angular.js"></script> <script src="js/explore-app.js"></script> <script src="js/controllers/object_explore.js"></script> <script src="../client"></script> </head> <body ng-app="mesh_api_explore"> <div ng-controller="meshAPIDescribeController" class="row"> <div class="col-md-3 sidebar" style="padding-right:0px"> <div class="header-div"><span class="header">Mesh description</span> <span ng-show="authenticated" class="dropdown actions-span"> <i href="#" class="dropdown-toggle" data-toggle="dropdown"><img src="img/icon-burger.png" style="width:18px;height:18px"></img></i> <ul class="dropdown-menu"> <li><a style="cursor:pointer" ng-click="openNewModal('Array', 'new_object')"><i class="glyphicon glyphicon-plus-sign"></i>&nbsp;&nbsp;New Record</a></li> <li><a style="cursor:pointer" ng-click="bulkRemoveCurrent()"><i class="glyphicon glyphicon-minus-sign"></i>&nbsp;&nbsp;Bulk remove</a></li> </ul> </span> </div> <span ng-show="authenticated"><input style="margin:5px;width:90%;border-radius:4px;border: 1px solid #cccccc;" ng-model="pathFilter" type="text"><i ng-click="refreshPaths()" style="position:relative;left:-25px;cursor:pointer" class="glyphicon glyphicon-search" value=""></i></span> <ul class="path-list"> <li ng-repeat="path in rootPaths" ng-click="pathSelected(path)">{{path.path}}</li> </ul> </div> <div class="col-md-9 content"> <span ng-show="authenticated" class="content-actions" style="display:{{actions_display}};position:absolute;z-index:9999999999;top:0px;right:0px" id="span_content_actions"> <i ng-repeat="action in actions" ng-click="actionSelected(action)" class="content-action {{action.cssClass}}"></i> </span> <div ng-show="authenticated" style="margin:5px;overflow:auto;height:80%"> <div class="jsonView" defocus> <json child="selectedData" type="object" defaultCollapsed=true></json> </div> </div> <div ng-hide="authenticated" style="margin:5px;width:100%;height:100%"> <form class="form-signin" role="form"> <h2 class="form-signin-heading">Please sign in</h2> <input ng-model="dburl" type="text" class="form-control" placeholder="URL" required/> <input ng-model="dbport" type="text" class="form-control" placeholder="Port" required/> <span><input ng-model="dbsecret" type="password" class="form-control" placeholder="Secret" required/><i style="cursor:pointer" class="glyphicon glyphicon-ok" ng-click="authenticate()"></i></span> </form> </div> <textarea ng-show="authenticated" style="position:absolute;height:20%;width:100%;bottom:0px;border-left:none;border-right:none;border-bottom:none;overflow:auto" ng-model="selectedJSON"> </textarea> </div> </div> <div id="modalContent" class="modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header" style="height:60px"> <span class="modal-title label-dark" id="modalContentHeader" style="font-size:16px"></span> <button type="button" class="btn btn-default" onclick='cancelModalContent()' style="float:right;margin-left:5px;">Cancel </button> <button id="btnSave" type="button" class="btn btn-success" onclick='saveModalContent()' style="float:right;"> Save </button> <br> </div> <div class="modal-body"> </div> </div><!-- /.modal-content --> </div><!-- /.modal-dialog --> </div><!-- /.modal --> </body> </html>