aboutsummaryrefslogtreecommitdiff
path: root/solr-8.1.1/server/solr-webapp/webapp/partials/core_overview.html
diff options
context:
space:
mode:
authorab <abdullah_ahmed@brown.edu>2019-07-01 15:40:55 -0400
committerab <abdullah_ahmed@brown.edu>2019-07-01 15:40:55 -0400
commit0fc7edd5f9bd1234f8de6e5b1c7b8f23668d784c (patch)
tree2ddff97c032657fb86de37c3be2cf2d201980088 /solr-8.1.1/server/solr-webapp/webapp/partials/core_overview.html
parent4f8b7cecea3ceed6861c38bde9ce03c9c46e2d09 (diff)
parent6bd79baf2d9301304194d87667bb5c66c17e5298 (diff)
Merge branch 'monikasearch2' of https://github.com/browngraphicslab/Dash-Web into text_box_ab
Diffstat (limited to 'solr-8.1.1/server/solr-webapp/webapp/partials/core_overview.html')
-rw-r--r--solr-8.1.1/server/solr-webapp/webapp/partials/core_overview.html206
1 files changed, 206 insertions, 0 deletions
diff --git a/solr-8.1.1/server/solr-webapp/webapp/partials/core_overview.html b/solr-8.1.1/server/solr-webapp/webapp/partials/core_overview.html
new file mode 100644
index 000000000..f1826f65c
--- /dev/null
+++ b/solr-8.1.1/server/solr-webapp/webapp/partials/core_overview.html
@@ -0,0 +1,206 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<div id="dashboard">
+
+ <div class="clearfix">
+
+ <div class="block fieldlist" id="statistics" ng-class="{disabled: statisticsDisabled}">
+
+ <h2><span>Statistics</span></h2>
+
+ <div class="message-container" ng-show="statsMessage">
+ <div class="message">{{statsMessage}}</div>
+ </div>
+
+ <div class="content">
+
+ <dl>
+
+ <dt>Last Modified:</dt>
+ <dd class="value">{{index.lastModified | timeago}}</dd>
+
+ <dt class="index_num-docs">Num Docs:</dt>
+ <dd class="value">{{index.numDocs}}</dd>
+
+ <dt class="index_max-doc">Max Doc:</dt>
+ <dd class="index_max-doc value">{{index.maxDoc}}</dd>
+
+ <dt class="index_heap-usage-bytes">Heap Memory Usage:</dt>
+ <dd class="index_heap-usage-bytes value">{{index.indexHeapUsageBytes}}</dd>
+
+ <dt class="index_deleted-docs">Deleted Docs:</dt>
+ <dd class="index_deleted-docs value">{{index.deletedDocs}}</dd>
+
+ <dt class="index_version">Version:</dt>
+ <dd class="index_version value">{{index.version}}</dd>
+
+ <dt class="index_segmentCount">Segment Count:</dt>
+ <dd class="index_segmentCount value">{{index.segmentCount}}</dd>
+
+ <dt class="index_current">Current:</dt>
+ <dd class="ico" ng-class="index.current ?'ico-1' : 'ico-0'"><span></span></dd>
+
+ </dl>
+
+ </div>
+ </div>
+
+ <div class="block fieldlist" id="instance">
+
+ <h2><span>Instance</span></h2>
+
+ <div class="message-container" ng-show="indexMessage">
+ <div class="message">{{indexMessage}}</div>
+ </div>
+
+ <div class="content">
+
+ <dl>
+
+ <dt><abbr title="Current Working Directory">CWD</abbr>:</dt>
+ <dd class="value">{{ core.directory.cwd }}</dd>
+
+ <dt>Instance:</dt>
+ <dd class="value">{{ core.directory.instance }}</dd>
+
+ <dt>Data:</dt>
+ <dd class="value">{{ core.directory.data }}</dd>
+
+ <dt>Index:</dt>
+ <dd class="value">{{ core.directory.index }}</dd>
+
+ <dt>Impl:</dt>
+ <dd class="value">{{ core.directory.dirimpl }}</dd>
+
+ </dl>
+
+ </div>
+ </div>
+
+ </div>
+ <div class="clearfix">
+
+ <div class="block" id="replication">
+
+ <h2>
+ <span class="is-replicating">
+ Replication
+ <span ng-show="isSlave"> (Slave)</span>
+ <span ng-show="isMaster"> (Master)</span>
+ </span>
+ </h2>
+
+ <div class="message-container" ng-show="replicationMessage">
+ <div class="message">{{replicationMessage}}</div>
+ </div>
+
+ <div class="content clearfix" id="details">
+
+ <table border="0" cellspacing="0" cellpadding="0">
+
+ <thead>
+
+ <tr>
+
+ <td><span>Index</span></td>
+ <th>Version</th>
+ <th><abbr title="Generation">Gen</abbr></th>
+ <th>Size</th>
+
+ </tr>
+
+ </thead>
+ <tbody>
+
+ <tr class="masterSearch" ng-show="isMaster">
+
+ <th>Master (Searching)</th>
+ <td class="version"><div>{{replication.indexVersion}}</div></td>
+ <td class="generation"><div>{{replication.generation}}</div></td>
+ <td class="size"><div>{{replication.indexSize || '-'}}</div></td>
+
+ </tr>
+
+ <tr class="master" ng-show="isMaster">
+
+ <th>Master (Replicable)</th>
+ <td class="version"><div>{{replication.master.replicableVersion || '-'}}</div></td>
+ <td class="generation"><div>{{replication.master.replicableGeneration || '-'}}</div></td>
+ <td class="size"><div>-</div></td>
+
+ </tr>
+
+ <tr class="master" ng-show="isSlave">
+
+ <th>Master (Replicable)</th>
+ <td class="version"><div>{{replication.master.replicableVersion || '-'}}</div></td>
+ <td class="generation"><div>{{replication.master.replicableGeneration || '-'}}</div></td>
+ <td class="size"><div>-</div></td>
+
+ </tr>
+
+ <tr class="masterSearch" ng-show="isSlave">
+
+ <th>Master (Searching)</th>
+ <td class="version"><div>{{replication.slave.masterDetails.indexVersion}}</div></td>
+ <td class="generation"><div>{{replication.slave.masterDetails.generation}}</div></td>
+ <td class="size"><div>{{replication.slave.masterDetails.indexSize || '-'}}</div></td>
+
+ </tr>
+
+ <tr class="slave slaveOnly" ng-show="isSlave">
+
+ <th>Slave (Searching)</th>
+ <td class="version"><div>{{replication.indexVersion}}</div></td>
+ <td class="generation"><div>{{replication.generation}}</div></td>
+ <td class="size"><div>{{replication.indexSize || '-'}}</div></td>
+
+ </tr>
+ </tbody>
+
+ </table>
+
+ </div>
+ </div>
+
+ <div class="block fieldlist" id="healthcheck" ng-class="{disabled: healthcheckMessage}">
+
+ <h2><span>Healthcheck</span></h2>
+
+ <div class="message-container" ng-show="healthcheckMessage">
+ <div class="message">{{healthcheckMessage}}</div>
+ </div>
+
+ <div class="content" ng-show="!healthcheckMessage">
+ <dl>
+
+ <dt class="status">Status:</dt>
+ <dd class="status value ico ico-1" ng-show="healthcheckStatus">
+ <button class="healthcheck-status enabled">Healthcheck Status</button>
+ </dd>
+ <dd class="status value ico ico-0" ng-show="!healthcheckStatus">
+ <button class="healthcheck-status">enable ping</button>
+ </dd>
+ </dl>
+ </div>
+
+ </div>
+
+ </div>
+
+
+</div>