influxdb/shared/admin/index.html

1 line
13 KiB
HTML
Raw Normal View History

<!DOCTYPE html><html><head><link href="/images/favicon.ico" rel="icon" type="image/png" /><meta charset="utf-8" /><meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" /><title>InfluxDB Administration</title><link href="stylesheets/all.css" media="screen" rel="stylesheet" type="text/css" /><script src="javascripts/all.js" type="text/javascript"></script><script src="javascripts/vendor/influxdb-0.1.6.js" type="text/javascript"></script></head><body class="index" ng-app="adminApp" ng-controller="AdminIndexCtrl"><section class="nav"><div class="row"><nav class="top-bar" data-topbar=""><ul class="title-area"><li class="name"><img src="/images/influxdb-light-24px.png" /></li></ul><section class="top-bar-section"><ul class="left" ng-show="authenticated"><li ng-class="" ng-show="!isClusterAdmin"><a ng-click="showSelectedDatabase()">{{selectedDatabase}} </a></li><li ng-class="" ng-show="isClusterAdmin"><a ng-click="showDatabases()">Databases</a></li><li ng-class="" ng-show="isClusterAdmin"><a ng-click="showClusterAdmins()">Cluster Admins</a></li><li ng-class="" ng-show="isClusterAdmin"><a ng-click="showClusterConfiguration()">Cluster</a></li><li ng-class="{active: selectedPane == 'data'}" ng-hide="isClusterAdmin"><a ng-click="showDefaultInterface(selectedDatabase)">Explore Data</a></li></ul><ul class="right" ng-show="authenticated"><li class="has-form"><a class="button" ng-click="authenticated=false">Disconnect</a></li></ul><ul class="right status" ng-show="authenticated"><li><i class="fa fa-user"></i>{{username}} </li><li><i class="icon-database-alt2"></i>{{host}}:{{port}} </li></ul></section></nav></div></section><section class="main"><div class="row" id="alert-success" style="margin-top: 10px; display: none;"><div class="large-12 columns"><div class="alert-box success" data-alert="">{{successMessage}} </div></div></div><div class="row" id="alert-failure" style="margin-top: 10px; display: none;"><div class="large-12 columns"><div class="alert-box alert" data-alert="">{{failureMessage}} </div></div></div><div class="row"><div class="twelve columns"><section ng-hide="authenticated"><span class="label alert" id="authFailure" style="display:none;">{{authMessage}}</span><form><fieldset><legend>Connect</legend><div class="row"><div class="large-3 columns"><input ng-model="username" placeholder="username" type="text" /></div><div class="large-3 columns"><input ng-model="password" placeholder="password" type="password" /></div><div class="large-3 columns"><input ng-model="database" placeholder="database (optional)" type="text" /></div><div class="large-3 columns"><button class="tiny button" ng-click="authenticateUser()">Connect</button></div></div></fieldset><fieldset><legend>Hostname and Port Settings</legend><div class="row"><div class="large-3 columns"><input ng-model="host" placeholder="hostname" type="text" /></div><div class="large-1 columns"><input ng-model="port" placeholder="port" type="text" /></div><div class="large-2 columns" style="padding-top: 10px;"><input ng-model="ssl" type="checkbox" /><label>SSL</label></div><div class="large-6 columns"></div></div></fieldset></form></section><div ng-show="authenticated"><div ng-show="selectedPane == 'cluster'"><div class="row"><div class="large-12 columns"><h2>Servers</h2><table class="twelve columns"><thead><tr><td>Id</td><td>Connection String</td></tr></thead><tr ng-repeat="clusterServer in clusterServers"><td>{{clusterServer.id}} </td><td>{{clusterServer.protobufConnectString}} </td></tr></table></div></div><hr /><div class="row"><div class="large-12 columns"><h2>Shards</h2><table class="twelve columns" ng-show="clusterShards"><thead><tr><td>Id</td><td>Database</td><td>Space</td><td>Start Time</td><td>End Time</td><td>Servers</td><td></td></tr></thead><tr ng-repeat="clusterShard in clusterShards"><td>{{clusterShard.id}} </td><td>{{clusterShard.database}} </td><td>{{clusterShard.spaceName}} </td><td>{{clusterShard.startTime*1000 | date:'yyyy-MM-dd HH:mm:ss'}} </td><td>{{clusterShard.endTime*1000 | date:'yyyy-MM-dd HH:mm:ss'}} </td><td>{{clusterShard.serverIds}} </td><td