Modified: ofbiz/trunk/plugins/solr/webapp/solr/partials/schema.html
URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/solr/webapp/solr/partials/schema.html?rev=1781731&r1=1781730&r2=1781731&view=diff ============================================================================== --- ofbiz/trunk/plugins/solr/webapp/solr/partials/schema.html (original) +++ ofbiz/trunk/plugins/solr/webapp/solr/partials/schema.html Sun Feb 5 11:09:59 2017 @@ -1,448 +1,448 @@ -<!-- -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="schema" class="loaded"> - - <div class="clearfix"> - - <div id="frame"> - <div id="actions" class="actions clearfix" ng-show="isSchemaUpdatable"> - <button id="addField" class="action" ng-click="toggleAddField()"><span>Add Field</span></button> - <button id="addDynamicField" class="action" ng-click="toggleAddDynamicField()"><span>Add Dynamic Field</span></button> - <button id="addCopyField" class="action" ng-click="toggleAddCopyField()"><span>Add Copy Field</span></button> - - <div class="action add" data-rel="add" ng-show="showAddField" escape-pressed="hideAll()"> - - <p class="clearfix"><label for="add_name">name:</label> - <input type="text" id="add_name" ng-model="newField.name" focus-when="showAddField" placeholder="enter a field name"></p> - - <p class="clearfix"><label for="add_type">field type:</label> - <select chosen type="text" id="add_type" ng-model="newField.type" ng-options="type for type in types"></select> - </p> - - <p class="clearfix" ng-show="adding=='field'"><label for="add_default">default:</label> - <input type="text" id="add_default" ng-model="newField.default" placeholder="enter a default value if needed"></p> - - <p class="clearfix"> - <label class="checkbox" for="add_stored"> - <input type="checkbox" ng-model="newField.stored" id="add_stored" title="Full field should be stored in index." ng-true-value="'true'" ng-false-value="'false'"> - stored - </label> - </p> - - <p class="clearfix"> - <label class="checkbox" for="add_indexed"> - <input type="checkbox" ng-model="newField.indexed" id="add_indexed" title="Field should be indexed." ng-true-value="'true'" ng-false-value="'false'"> - indexed - </label> - </p> - - <p class="clearfix"> - <label class="checkbox" for="add_docValues"> - <input type="checkbox" ng-model="newField.docValues" id="add_docValues" title="DocValues should be stored for the field." ng-true-value="'true'" ng-false-value="'false'"> - docValues - </label> - </p> - - <p class="clearfix"> - <label class="checkbox" for="add_multiValued"> - <input type="checkbox" ng-model="newField.multiValued" id="add_multiValued" title="Multiple values are allowed for this field." ng-true-value="'true'" ng-false-value="'false'"> - multiValued - </label> - </p> - - <p class="clearfix" ng-show="adding=='field'"> - <label class="checkbox" for="add_required"> - <input type="checkbox" ng-model="newField.required" id="add_required" title="Field must be provided for all documents." ng-true-value="'true'" ng-false-value="'false'"> - required - </label> - </p> - - <p class="clearfix"> - <a ng-click="showOmit=!showOmit"> - <span class="add_showhide" ng-hide="showOmit">Show omit options</span> - <span class="add_showhide open" ng-show="showOmit">Hide omit options</span> - </a> - </p> - - <div ng-show="showOmit"> - - <p class="clearfix"> - <label class="checkbox" for="add_omitNorms"> - <input type="checkbox" ng-model="newField.omitNorms" id="add_omitNorms" title="Full field should be omitNorms in index." ng-true-value="'true'" ng-false-value="'false'"> - omitNorms - </label> - </p> - - <p class="clearfix"> - <label class="checkbox" for="add_omitTermFreqAndPositions"> - <input type="checkbox" ng-model="newField.omitTermFreqAndPositions" id="add_omitTermFreqAndPositions" title="Full field should be omitTermFreqAndPositions in index." ng-true-value="'true'" ng-false-value="'false'"> - omitTermFreqAndPositions - </label> - </p> - - <p class="clearfix"> - <label class="checkbox" for="add_omitPositions"> - <input type="checkbox" ng-model="newField.omitPositions" id="add_omitPositions" title="Full field should be omitPositions in index." ng-true-value="'true'" ng-false-value="'false'"> - omitPositions - </label> - </p> - </div> - - <p class="clearfix"> - <a ng-click="showTermVectors=!showTermVectors"> - <span class="add_showhide" ng-hide="showTermVectors">Show term vector options</span> - <span class="add_showhide open" ng-show="showTermVectors">Hide term vector options</span> - </a> - </p> - <div ng-show="showTermVectors"> - - <p class="clearfix"> - <label class="checkbox" for="add_termVectors"> - <input type="checkbox" ng-model="newField.termVectors" id="add_termVectors" title="Full field should be termVectors in index." ng-true-value="'true'" ng-false-value="'false'"> - termVectors - </label> - </p> - - <p class="clearfix"> - <label class="checkbox" for="add_termPositions"> - <input type="checkbox" ng-model="newField.termPositions" id="add_termPositions" title="Full field should be termPositions in index." ng-true-value="'true'" ng-false-value="'false'"> - termPositions - </label> - </p> - - <p class="clearfix"> - <label class="checkbox" for="add_termOffsets"> - <input type="checkbox" ng-model="newField.termOffsets" id="add_termOffsets" title="Full field should be termOffsets in index." ng-true-value="'true'" ng-false-value="'false'"> - termOffsets - </label> - </p> - - <p class="clearfix"> - <label class="checkbox" for="add_termPayloads"> - <input type="checkbox" ng-model="newField.termPayloads" id="add_termPayloads" title="Full field should be termPayloads in index." ng-true-value="'true'" ng-false-value="'false'"> - termPayloads - </label> - </p> - - </div> - - <p class="clearfix"> - <a ng-click="showSort=!showSort"> - <span class="add_showhide" ng-hide="showSort">Show sort options</span> - <span class="add_showhide open" ng-show="showSort">Show sort options</span> - </a> - </p> - <div ng-show="showSort"> - <p class="clearfix"> - <label class="checkbox" for="add_sortMissingFirst"> - <input type="checkbox" ng-model="newField.sortMissingFirst" id="add_sortMissingFirst" title="Full field should be sortMissingFirst in index." ng-true-value="'true'" ng-false-value="'false'"> - sortMissingFirst - </label> - </p> - - <p class="clearfix"> - <label class="checkbox" for="add_sortMissingLast"> - <input type="checkbox" ng-model="newField.sortMissingLast" id="add_sortMissingLast" title="Full field should be sortMissingLast in index." ng-true-value="'true'" ng-false-value="'false'"> - sortMissingLast - </label> - </p> - - </div> - - <div ng-repeat="error in addErrors" ng-show="addErrors" class="clearfix note error"> - <span>{{error}}</span></div> - - <p class="clearfix buttons"> - <button ng-show="adding=='field'" type="submit" class="submit" ng-class="{success: added}" ng-click="addField()"><span>Add Field</span></button> - <button ng-show="adding=='dynamicField'" type="submit" class="submit" ng-class="{success: added}" ng-click="addDynamicField()"><span>Add Dynamic Field</span></button> - <button type="reset" class="reset" ng-click="hideAll()"><span>Cancel</span></button> - </p> - - - - </div> - - <div class="action add" data-rel="add" ng-show="showAddCopyField" escape-pressed="hideAll()"> - - <form> - - <p class="clearfix"><label for="add_source">source:</label> - <input type="text" id="add_source" ng-model="copyField.source" focus-when="showAddCopyField" placeholder="specify your source field or pattern"></p> - - <p class="clearfix"><label for="add_dest">destination:</label> - <input type="text" id="add_dest" ng-model="copyField.dest" placeholder="specify your destination field or pattern"></p> - - <div ng-repeat="error in addCopyFieldErrors" ng-show="addCopyFieldErrors" class="clearfix note error"> - <span>{{error}}</span></div> - - <p class="clearfix buttons"> - <button type="submit" class="submit" ng-class="{success: added}" ng-click="addCopyField()"><span>Add CopyField</span></button> - <button type="reset" class="reset" ng-click="hideAll()"><span>Cancel</span></button> - </p> - - </form> - - </div> - </div> - - <div id="data"> - - <div id="field"> - - <div class="field-options" ng-show="showing"> - - <div class="block head"> - <h2> - <span class="type">{{selectedType}}</span>: - <span class="name">{{name}}</span> - </h2> - </div> - - <div class="partial" ng-show="partialState"> - - <p>Because your Index is empty, we do not have enough Information about this Field</p> - - </div> - - <dl class="options clearfix"> - - <dt class="field-type">Field-Type:</dt> - <dd class="field-type">{{analysis.data.className}}</dd> - - <dt class="similarity" ng-show="display.similarity">Similarity:</dt> - <dd class="similarity" ng-show="display.similarity">{{ display.similarity.details }} ({{ similarity.className }}) </dd> - - <dt class="position-increment-gap" ng-show="display.positionIncrementGap"><abbr title="Position Increment Gap">PI Gap</abbr>:</dt> - <dd class="position-increment-gap" ng-show="display.positionIncrementGap">{{ display.positionIncrementGap }}</dd> - - <dt class="docs" ng-show="display.docs">Docs:</dt> - <dd class="docs" ng-show="display.docs"><a href="{{display.docsUrl}}">{{display.docs | number}}</a></dd> - - <dt class="distinct" ng-show="display.distinct">Distinct:</dt> - <dd class="distinct" ng-show="display.distinct">{{display.distinct}}</dd> - - </dl> - - <table class="flags" cellspacing="0" cellpadding="0" border="0" ng-show="display.columns.length!=0"> - - <thead> - - <tr> - <td>Flags:</td> - <th ng-repeat="key in display.columns">{{key.name}}</th> - - </tr> - - </thead> - - <tbody> - <tr ng-repeat="row in display.rows track by row.name"> - <th>{{row.name}}</th> - <td colspan="2" class="text" ng-show="row.comment">{{row.comment}}</td> - <td ng-repeat="cell in row.cells" - ng-class="{'check':cell.value}"> - <span ng-show="cell.value">â?</span> - <span ng-show="!cell.value"> </span> - </td> - </tr> - </tbody> - - </table> - - <ul class="analyzer"> - <li class="clearfix {{analyzer.key}}" ng-class="{open: analyzer.show}" ng-repeat="analyzer in analysis.analyzers"> - - <p><a class="analysis" ng-href="#/{{core}}/analysis?{{analysis.query}}"><span>{{analyzer.name}} Analyzer:</span></a></p> - <dl> - <dt><a ng-click="toggleAnalyzer(analyzer)" class="toggle">{{analyzer.detail.className}}</a></dt> - </dl> - <ul ng-show="analyzer.show"> - <li class="clearfix {{componentType.key}} data" ng-repeat="componentType in analyzer.detail.componentTypes" ng-show="componentType.components"> - <p>{{componentType.label}}:</p> - <dl> - <dt ng-repeat-start="component in componentType.components">{{component.className}}</dt> - <dd ng-repeat-end ng-repeat="arg in component.args" - ng-class="{'ico-1': arg.booleanValue, 'ico-0': arg.booleanValue==false}"> - {{arg.name}}<span ng-show="arg.value">: {{arg.value}}</span> - </dd> - </dl> - </li> - </ul> - </li> - </ul> - - </div> - - <div class="terminfo-holder loaded clearfix" ng-class="{disabled: noTermData}" ng-show="is.field"> - - <div class="trigger"> - - <button class="submit" ng-click="toggleTerms()"><span ng-class="{loader:isLoadingTerms}">Load Term Info</span></button> - <br/> - <span ng-show="isCloudEnabled">N.B. Loaded from a single core - not from the whole collection.</span> - - <a ng-show="showTerms" ng-click="toggleAutoload()" ng-class="{on:isAutoload}" class="autoload" title="Automatically load Term Info?"><span>Autoload</span></a> - - </div> - - <p ng-show="showTerms && noTerms" class="status">Sorry, no Term Info available :(</p> - - <div ng-show="showTerms && termInfo.topTerms" class="topterms-holder"> - - <form> - <p class="head"> - <input type="text" ng-model="topTermsCount" ng-change="loadTermInfo()"> - <a class="max-holder" ng-click="loadAllTopTerms()" title="Load all Top-Terms">/<span class="max">{{termInfo.maxTerms | number}}</span></a> Top-Terms: - <a id="query_link" href="#/{{core}}/query?q={{name}}:[* TO *]"><span>Query</span> </a> - </p> - </form> - - <ul> - <li class="clearfix" ng-repeat="countGroup in termInfo.topTerms"> - <p><span>{{countGroup.count}}</span></p> - <ul> - <li ng-repeat="term in countGroup.terms" ng-class="{odd:$odd}"><a ng-href="#/{{core}}/query?q=%7B!term+f%3D{{name | uriencode}}%7D{{term | uriencode}}">{{term}}</a></li> - </ul> - </li> - - </ul> - - </div> - - <div ng-show="showTerms && termInfo.histogram" class="histogram-holder"> - - <p class="head">Histogram:</p> - <ul> - <li ng-repeat="row in termInfo.histogram" ng-class="{odd:$odd}"> - <dl class="clearfix" style="width: {{(( row.value / termInfo.histogramMax ) * 100 )}}%;"> - <dt><span>{{ row.key | number}}</span></dt> - <dd><span>{{ row.value | number }}</span></dd> - </dl> - </li> - - </ul> - - </div> - - </div> - - </div> - - </div> - - <div id="related"> - <select id="type_or_name" - ng-model="fieldOrType" - chosen - data-placeholder="Please select ..." - ng-change="selectFieldOrType()" - ng-options="f.value as f.label group by f.group for f in fieldsAndTypes"></select> - - <dl id="f-df-t"> - - <dt class="field" ng-class="{active: selectedType=='Field'}" ng-show="leftbar.fields">Field</dt> - <dd class="field" ng-class="{active: selectedType=='Field'}" ng-repeat="field in leftbar.fields"><a href="#/{{core}}/schema?field={{field}}">{{field}}</a></dd> - - <dt class="copyfield" ng-show="leftbar.copyFieldSources">Copied from</dt> - <dd class="copyfield" ng-repeat="field in leftbar.copyFieldSources"> - <div class="clearfix" ng-hide="isSchemaUpdatable"> - <a href="#/{{core}}/schema?field={{field.name}}">{{field.name}}</a> - </div> - <div class="clearfix updatable" ng-show="isSchemaUpdatable"> - <a style="float:left;width:80%" href="#/{{core}}/schema?field={{field.name}}">{{field.name}}</a> - <span ng-click="toggleDeleteCopyField(field)" class="rem"> </span> - </div> - <div class="action delete" ng-show="field.show"> - <form class="delete"> - - <p class="clearfix"><em>Are you sure you want to delete this CopyField?</em></p> - <div ng-repeat="error in field.errors" ng-show="field.errors" class="clearfix note error"> - <span>{{error}}</span></div> - - <p class="clearfix buttons"> - <button class="submit" ng-class="{success: field.deleted}" ng-click="deleteCopyField(field, field.name, name)"><span>Delete</span></button> - <button type="reset" class="reset" ng-click="toggleDeleteCopyField(field)"><span>Cancel</span></button> - </p> - </form> - </div> - </dd> - - <dt class="copyfield" ng-show="leftbar.copyFieldDests">Copied to</dt> - <dd class="copyfield" ng-repeat="field in leftbar.copyFieldDests"> - <div class="clearfix" ng-hide="isSchemaUpdatable"> - <a href="#/{{core}}/schema?field={{field.name}}">{{field.name}}</a> - </div> - <div class="clearfix updatable" ng-show="isSchemaUpdatable"> - <a href="#/{{core}}/schema?field={{field.name}}">{{field.name}}</a> - <span ng-click="toggleDeleteCopyField(field)" class="rem"> </span> - </div> - <div class="action delete" ng-show="field.show"> - <form class="delete"> - - <p class="clearfix"><em>Are you sure you want to delete this CopyField?</em></p> - <div ng-repeat="error in field.errors" ng-show="field.errors" class="clearfix note error"> - <span>{{error}}</span></div> - - <p class="clearfix buttons"> - <button class="submit" ng-class="{success: field.deleted}" ng-click="deleteCopyField(field, name, field.name)"><span>Delete</span></button> - <button type="reset" class="reset" ng-click="toggleDeleteCopyField(field)"><span>Cancel</span></button> - </p> - </form> - </div> - </dd> - <dt class="dynamic-field" ng-class="{active: selectedType=='Dynamic Field'}" ng-show="leftbar.dynamicFields">Dynamic Field {{dynamicFields}} / {{dynamicFields.length()}}</dt> - <dd class="dynamic-field" ng-class="{active: selectedType=='Dynamic Field'}" ng-repeat="field in leftbar.dynamicFields"><a href="#/{{core}}/schema?dynamic-field={{field}}">{{field}}</a></dd> - - <dt class="type" ng-class="{active: selectedType=='Type'}" ng-show="leftbar.types">Type</dt> - <dd class="type" ng-class="{active: selectedType=='Type'}" ng-repeat="type in leftbar.types"><a href="#/{{core}}/schema?type={{type}}">{{type}}</a></dd> - - <dt></dt> - <dd class="active delete-field" ng-show="isSchemaUpdatable && leftbar.fields &&!showDelete"><button ng-click="toggleDelete()"><span>delete field</span></button></dd> - <dd class="active delete-field" ng-show="isSchemaUpdatable && leftbar.dynamicFields &&!showDelete"><button ng-click="toggleDelete()"><span>delete dynamic field</span></button></dd> - - <div class="action delete" ng-show="showDelete"> - - <form class="delete"> - - <p class="clearfix"><em>Are you sure you want to delete this {{selectedType}}?</em></p> - <div ng-repeat="error in deleteErrors" ng-show="deleteErrors" class="clearfix note error"> - <span>{{error}}</span></div> - - <p class="clearfix buttons"> - <button class="submit" ng-class="{success: deleted}" ng-click="delete()"><span>Delete</span></button> - <button type="reset" class="reset" ng-click="toggleDelete()"><span>Cancel</span></button> - </p> - </form> - </div> - </dl> - - <dl class="ukf-dsf"> - - <dt class="unique-key-field" ng-class="{active: isUniqueKeyField}" ng-show="uniqueKeyField">Unique Key Field</dt> - <dd class="unique-key-field" ng-class="{active: isUniqueKeyField}"><a ng-href="#/{{core}}/schema?field={{uniqueKeyField}}">{{uniqueKeyField}}</a></dd> - - <dt class="default-search-field" ng-class="{active: isDefaultSearchField}" ng-show="defaultSearchField">Default Search Field</dt> - <dd class="default-search-field" ng-class="{active: isDefaultSearchField}"><a ng-href="#/{{core}}/schema?field={{defaultSearchField}}">{{defaultSearchField}}</a></dd> - - </dl> - - </div> - </div> - - </div> - -</div> +<!-- +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="schema" class="loaded"> + + <div class="clearfix"> + + <div id="frame"> + <div id="actions" class="actions clearfix" ng-show="isSchemaUpdatable"> + <button id="addField" class="action" ng-click="toggleAddField()"><span>Add Field</span></button> + <button id="addDynamicField" class="action" ng-click="toggleAddDynamicField()"><span>Add Dynamic Field</span></button> + <button id="addCopyField" class="action" ng-click="toggleAddCopyField()"><span>Add Copy Field</span></button> + + <div class="action add" data-rel="add" ng-show="showAddField" escape-pressed="hideAll()"> + + <p class="clearfix"><label for="add_name">name:</label> + <input type="text" id="add_name" ng-model="newField.name" focus-when="showAddField" placeholder="enter a field name"></p> + + <p class="clearfix"><label for="add_type">field type:</label> + <select chosen type="text" id="add_type" ng-model="newField.type" ng-options="type for type in types"></select> + </p> + + <p class="clearfix" ng-show="adding=='field'"><label for="add_default">default:</label> + <input type="text" id="add_default" ng-model="newField.default" placeholder="enter a default value if needed"></p> + + <p class="clearfix"> + <label class="checkbox" for="add_stored"> + <input type="checkbox" ng-model="newField.stored" id="add_stored" title="Full field should be stored in index." ng-true-value="'true'" ng-false-value="'false'"> + stored + </label> + </p> + + <p class="clearfix"> + <label class="checkbox" for="add_indexed"> + <input type="checkbox" ng-model="newField.indexed" id="add_indexed" title="Field should be indexed." ng-true-value="'true'" ng-false-value="'false'"> + indexed + </label> + </p> + + <p class="clearfix"> + <label class="checkbox" for="add_docValues"> + <input type="checkbox" ng-model="newField.docValues" id="add_docValues" title="DocValues should be stored for the field." ng-true-value="'true'" ng-false-value="'false'"> + docValues + </label> + </p> + + <p class="clearfix"> + <label class="checkbox" for="add_multiValued"> + <input type="checkbox" ng-model="newField.multiValued" id="add_multiValued" title="Multiple values are allowed for this field." ng-true-value="'true'" ng-false-value="'false'"> + multiValued + </label> + </p> + + <p class="clearfix" ng-show="adding=='field'"> + <label class="checkbox" for="add_required"> + <input type="checkbox" ng-model="newField.required" id="add_required" title="Field must be provided for all documents." ng-true-value="'true'" ng-false-value="'false'"> + required + </label> + </p> + + <p class="clearfix"> + <a ng-click="showOmit=!showOmit"> + <span class="add_showhide" ng-hide="showOmit">Show omit options</span> + <span class="add_showhide open" ng-show="showOmit">Hide omit options</span> + </a> + </p> + + <div ng-show="showOmit"> + + <p class="clearfix"> + <label class="checkbox" for="add_omitNorms"> + <input type="checkbox" ng-model="newField.omitNorms" id="add_omitNorms" title="Full field should be omitNorms in index." ng-true-value="'true'" ng-false-value="'false'"> + omitNorms + </label> + </p> + + <p class="clearfix"> + <label class="checkbox" for="add_omitTermFreqAndPositions"> + <input type="checkbox" ng-model="newField.omitTermFreqAndPositions" id="add_omitTermFreqAndPositions" title="Full field should be omitTermFreqAndPositions in index." ng-true-value="'true'" ng-false-value="'false'"> + omitTermFreqAndPositions + </label> + </p> + + <p class="clearfix"> + <label class="checkbox" for="add_omitPositions"> + <input type="checkbox" ng-model="newField.omitPositions" id="add_omitPositions" title="Full field should be omitPositions in index." ng-true-value="'true'" ng-false-value="'false'"> + omitPositions + </label> + </p> + </div> + + <p class="clearfix"> + <a ng-click="showTermVectors=!showTermVectors"> + <span class="add_showhide" ng-hide="showTermVectors">Show term vector options</span> + <span class="add_showhide open" ng-show="showTermVectors">Hide term vector options</span> + </a> + </p> + <div ng-show="showTermVectors"> + + <p class="clearfix"> + <label class="checkbox" for="add_termVectors"> + <input type="checkbox" ng-model="newField.termVectors" id="add_termVectors" title="Full field should be termVectors in index." ng-true-value="'true'" ng-false-value="'false'"> + termVectors + </label> + </p> + + <p class="clearfix"> + <label class="checkbox" for="add_termPositions"> + <input type="checkbox" ng-model="newField.termPositions" id="add_termPositions" title="Full field should be termPositions in index." ng-true-value="'true'" ng-false-value="'false'"> + termPositions + </label> + </p> + + <p class="clearfix"> + <label class="checkbox" for="add_termOffsets"> + <input type="checkbox" ng-model="newField.termOffsets" id="add_termOffsets" title="Full field should be termOffsets in index." ng-true-value="'true'" ng-false-value="'false'"> + termOffsets + </label> + </p> + + <p class="clearfix"> + <label class="checkbox" for="add_termPayloads"> + <input type="checkbox" ng-model="newField.termPayloads" id="add_termPayloads" title="Full field should be termPayloads in index." ng-true-value="'true'" ng-false-value="'false'"> + termPayloads + </label> + </p> + + </div> + + <p class="clearfix"> + <a ng-click="showSort=!showSort"> + <span class="add_showhide" ng-hide="showSort">Show sort options</span> + <span class="add_showhide open" ng-show="showSort">Show sort options</span> + </a> + </p> + <div ng-show="showSort"> + <p class="clearfix"> + <label class="checkbox" for="add_sortMissingFirst"> + <input type="checkbox" ng-model="newField.sortMissingFirst" id="add_sortMissingFirst" title="Full field should be sortMissingFirst in index." ng-true-value="'true'" ng-false-value="'false'"> + sortMissingFirst + </label> + </p> + + <p class="clearfix"> + <label class="checkbox" for="add_sortMissingLast"> + <input type="checkbox" ng-model="newField.sortMissingLast" id="add_sortMissingLast" title="Full field should be sortMissingLast in index." ng-true-value="'true'" ng-false-value="'false'"> + sortMissingLast + </label> + </p> + + </div> + + <div ng-repeat="error in addErrors" ng-show="addErrors" class="clearfix note error"> + <span>{{error}}</span></div> + + <p class="clearfix buttons"> + <button ng-show="adding=='field'" type="submit" class="submit" ng-class="{success: added}" ng-click="addField()"><span>Add Field</span></button> + <button ng-show="adding=='dynamicField'" type="submit" class="submit" ng-class="{success: added}" ng-click="addDynamicField()"><span>Add Dynamic Field</span></button> + <button type="reset" class="reset" ng-click="hideAll()"><span>Cancel</span></button> + </p> + + + + </div> + + <div class="action add" data-rel="add" ng-show="showAddCopyField" escape-pressed="hideAll()"> + + <form> + + <p class="clearfix"><label for="add_source">source:</label> + <input type="text" id="add_source" ng-model="copyField.source" focus-when="showAddCopyField" placeholder="specify your source field or pattern"></p> + + <p class="clearfix"><label for="add_dest">destination:</label> + <input type="text" id="add_dest" ng-model="copyField.dest" placeholder="specify your destination field or pattern"></p> + + <div ng-repeat="error in addCopyFieldErrors" ng-show="addCopyFieldErrors" class="clearfix note error"> + <span>{{error}}</span></div> + + <p class="clearfix buttons"> + <button type="submit" class="submit" ng-class="{success: added}" ng-click="addCopyField()"><span>Add CopyField</span></button> + <button type="reset" class="reset" ng-click="hideAll()"><span>Cancel</span></button> + </p> + + </form> + + </div> + </div> + + <div id="data"> + + <div id="field"> + + <div class="field-options" ng-show="showing"> + + <div class="block head"> + <h2> + <span class="type">{{selectedType}}</span>: + <span class="name">{{name}}</span> + </h2> + </div> + + <div class="partial" ng-show="partialState"> + + <p>Because your Index is empty, we do not have enough Information about this Field</p> + + </div> + + <dl class="options clearfix"> + + <dt class="field-type">Field-Type:</dt> + <dd class="field-type">{{analysis.data.className}}</dd> + + <dt class="similarity" ng-show="display.similarity">Similarity:</dt> + <dd class="similarity" ng-show="display.similarity">{{ display.similarity.details }} ({{ similarity.className }}) </dd> + + <dt class="position-increment-gap" ng-show="display.positionIncrementGap"><abbr title="Position Increment Gap">PI Gap</abbr>:</dt> + <dd class="position-increment-gap" ng-show="display.positionIncrementGap">{{ display.positionIncrementGap }}</dd> + + <dt class="docs" ng-show="display.docs">Docs:</dt> + <dd class="docs" ng-show="display.docs"><a href="{{display.docsUrl}}">{{display.docs | number}}</a></dd> + + <dt class="distinct" ng-show="display.distinct">Distinct:</dt> + <dd class="distinct" ng-show="display.distinct">{{display.distinct}}</dd> + + </dl> + + <table class="flags" cellspacing="0" cellpadding="0" border="0" ng-show="display.columns.length!=0"> + + <thead> + + <tr> + <td>Flags:</td> + <th ng-repeat="key in display.columns">{{key.name}}</th> + + </tr> + + </thead> + + <tbody> + <tr ng-repeat="row in display.rows track by row.name"> + <th>{{row.name}}</th> + <td colspan="2" class="text" ng-show="row.comment">{{row.comment}}</td> + <td ng-repeat="cell in row.cells" + ng-class="{'check':cell.value}"> + <span ng-show="cell.value">â?</span> + <span ng-show="!cell.value"> </span> + </td> + </tr> + </tbody> + + </table> + + <ul class="analyzer"> + <li class="clearfix {{analyzer.key}}" ng-class="{open: analyzer.show}" ng-repeat="analyzer in analysis.analyzers"> + + <p><a class="analysis" ng-href="#/{{core}}/analysis?{{analysis.query}}"><span>{{analyzer.name}} Analyzer:</span></a></p> + <dl> + <dt><a ng-click="toggleAnalyzer(analyzer)" class="toggle">{{analyzer.detail.className}}</a></dt> + </dl> + <ul ng-show="analyzer.show"> + <li class="clearfix {{componentType.key}} data" ng-repeat="componentType in analyzer.detail.componentTypes" ng-show="componentType.components"> + <p>{{componentType.label}}:</p> + <dl> + <dt ng-repeat-start="component in componentType.components">{{component.className}}</dt> + <dd ng-repeat-end ng-repeat="arg in component.args" + ng-class="{'ico-1': arg.booleanValue, 'ico-0': arg.booleanValue==false}"> + {{arg.name}}<span ng-show="arg.value">: {{arg.value}}</span> + </dd> + </dl> + </li> + </ul> + </li> + </ul> + + </div> + + <div class="terminfo-holder loaded clearfix" ng-class="{disabled: noTermData}" ng-show="is.field"> + + <div class="trigger"> + + <button class="submit" ng-click="toggleTerms()"><span ng-class="{loader:isLoadingTerms}">Load Term Info</span></button> + <br/> + <span ng-show="isCloudEnabled">N.B. Loaded from a single core - not from the whole collection.</span> + + <a ng-show="showTerms" ng-click="toggleAutoload()" ng-class="{on:isAutoload}" class="autoload" title="Automatically load Term Info?"><span>Autoload</span></a> + + </div> + + <p ng-show="showTerms && noTerms" class="status">Sorry, no Term Info available :(</p> + + <div ng-show="showTerms && termInfo.topTerms" class="topterms-holder"> + + <form> + <p class="head"> + <input type="text" ng-model="topTermsCount" ng-change="loadTermInfo()"> + <a class="max-holder" ng-click="loadAllTopTerms()" title="Load all Top-Terms">/<span class="max">{{termInfo.maxTerms | number}}</span></a> Top-Terms: + <a id="query_link" href="#/{{core}}/query?q={{name}}:[* TO *]"><span>Query</span> </a> + </p> + </form> + + <ul> + <li class="clearfix" ng-repeat="countGroup in termInfo.topTerms"> + <p><span>{{countGroup.count}}</span></p> + <ul> + <li ng-repeat="term in countGroup.terms" ng-class="{odd:$odd}"><a ng-href="#/{{core}}/query?q=%7B!term+f%3D{{name | uriencode}}%7D{{term | uriencode}}">{{term}}</a></li> + </ul> + </li> + + </ul> + + </div> + + <div ng-show="showTerms && termInfo.histogram" class="histogram-holder"> + + <p class="head">Histogram:</p> + <ul> + <li ng-repeat="row in termInfo.histogram" ng-class="{odd:$odd}"> + <dl class="clearfix" style="width: {{(( row.value / termInfo.histogramMax ) * 100 )}}%;"> + <dt><span>{{ row.key | number}}</span></dt> + <dd><span>{{ row.value | number }}</span></dd> + </dl> + </li> + + </ul> + + </div> + + </div> + + </div> + + </div> + + <div id="related"> + <select id="type_or_name" + ng-model="fieldOrType" + chosen + data-placeholder="Please select ..." + ng-change="selectFieldOrType()" + ng-options="f.value as f.label group by f.group for f in fieldsAndTypes"></select> + + <dl id="f-df-t"> + + <dt class="field" ng-class="{active: selectedType=='Field'}" ng-show="leftbar.fields">Field</dt> + <dd class="field" ng-class="{active: selectedType=='Field'}" ng-repeat="field in leftbar.fields"><a href="#/{{core}}/schema?field={{field}}">{{field}}</a></dd> + + <dt class="copyfield" ng-show="leftbar.copyFieldSources">Copied from</dt> + <dd class="copyfield" ng-repeat="field in leftbar.copyFieldSources"> + <div class="clearfix" ng-hide="isSchemaUpdatable"> + <a href="#/{{core}}/schema?field={{field.name}}">{{field.name}}</a> + </div> + <div class="clearfix updatable" ng-show="isSchemaUpdatable"> + <a style="float:left;width:80%" href="#/{{core}}/schema?field={{field.name}}">{{field.name}}</a> + <span ng-click="toggleDeleteCopyField(field)" class="rem"> </span> + </div> + <div class="action delete" ng-show="field.show"> + <form class="delete"> + + <p class="clearfix"><em>Are you sure you want to delete this CopyField?</em></p> + <div ng-repeat="error in field.errors" ng-show="field.errors" class="clearfix note error"> + <span>{{error}}</span></div> + + <p class="clearfix buttons"> + <button class="submit" ng-class="{success: field.deleted}" ng-click="deleteCopyField(field, field.name, name)"><span>Delete</span></button> + <button type="reset" class="reset" ng-click="toggleDeleteCopyField(field)"><span>Cancel</span></button> + </p> + </form> + </div> + </dd> + + <dt class="copyfield" ng-show="leftbar.copyFieldDests">Copied to</dt> + <dd class="copyfield" ng-repeat="field in leftbar.copyFieldDests"> + <div class="clearfix" ng-hide="isSchemaUpdatable"> + <a href="#/{{core}}/schema?field={{field.name}}">{{field.name}}</a> + </div> + <div class="clearfix updatable" ng-show="isSchemaUpdatable"> + <a href="#/{{core}}/schema?field={{field.name}}">{{field.name}}</a> + <span ng-click="toggleDeleteCopyField(field)" class="rem"> </span> + </div> + <div class="action delete" ng-show="field.show"> + <form class="delete"> + + <p class="clearfix"><em>Are you sure you want to delete this CopyField?</em></p> + <div ng-repeat="error in field.errors" ng-show="field.errors" class="clearfix note error"> + <span>{{error}}</span></div> + + <p class="clearfix buttons"> + <button class="submit" ng-class="{success: field.deleted}" ng-click="deleteCopyField(field, name, field.name)"><span>Delete</span></button> + <button type="reset" class="reset" ng-click="toggleDeleteCopyField(field)"><span>Cancel</span></button> + </p> + </form> + </div> + </dd> + <dt class="dynamic-field" ng-class="{active: selectedType=='Dynamic Field'}" ng-show="leftbar.dynamicFields">Dynamic Field {{dynamicFields}} / {{dynamicFields.length()}}</dt> + <dd class="dynamic-field" ng-class="{active: selectedType=='Dynamic Field'}" ng-repeat="field in leftbar.dynamicFields"><a href="#/{{core}}/schema?dynamic-field={{field}}">{{field}}</a></dd> + + <dt class="type" ng-class="{active: selectedType=='Type'}" ng-show="leftbar.types">Type</dt> + <dd class="type" ng-class="{active: selectedType=='Type'}" ng-repeat="type in leftbar.types"><a href="#/{{core}}/schema?type={{type}}">{{type}}</a></dd> + + <dt></dt> + <dd class="active delete-field" ng-show="isSchemaUpdatable && leftbar.fields &&!showDelete"><button ng-click="toggleDelete()"><span>delete field</span></button></dd> + <dd class="active delete-field" ng-show="isSchemaUpdatable && leftbar.dynamicFields &&!showDelete"><button ng-click="toggleDelete()"><span>delete dynamic field</span></button></dd> + + <div class="action delete" ng-show="showDelete"> + + <form class="delete"> + + <p class="clearfix"><em>Are you sure you want to delete this {{selectedType}}?</em></p> + <div ng-repeat="error in deleteErrors" ng-show="deleteErrors" class="clearfix note error"> + <span>{{error}}</span></div> + + <p class="clearfix buttons"> + <button class="submit" ng-class="{success: deleted}" ng-click="delete()"><span>Delete</span></button> + <button type="reset" class="reset" ng-click="toggleDelete()"><span>Cancel</span></button> + </p> + </form> + </div> + </dl> + + <dl class="ukf-dsf"> + + <dt class="unique-key-field" ng-class="{active: isUniqueKeyField}" ng-show="uniqueKeyField">Unique Key Field</dt> + <dd class="unique-key-field" ng-class="{active: isUniqueKeyField}"><a ng-href="#/{{core}}/schema?field={{uniqueKeyField}}">{{uniqueKeyField}}</a></dd> + + <dt class="default-search-field" ng-class="{active: isDefaultSearchField}" ng-show="defaultSearchField">Default Search Field</dt> + <dd class="default-search-field" ng-class="{active: isDefaultSearchField}"><a ng-href="#/{{core}}/schema?field={{defaultSearchField}}">{{defaultSearchField}}</a></dd> + + </dl> + + </div> + </div> + + </div> + +</div> Propchange: ofbiz/trunk/plugins/solr/webapp/solr/partials/schema.html ------------------------------------------------------------------------------ svn:eol-style = native Modified: ofbiz/trunk/plugins/solr/webapp/solr/partials/segments.html URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/solr/webapp/solr/partials/segments.html?rev=1781731&r1=1781730&r2=1781731&view=diff ============================================================================== --- ofbiz/trunk/plugins/solr/webapp/solr/partials/segments.html (original) +++ ofbiz/trunk/plugins/solr/webapp/solr/partials/segments.html Sun Feb 5 11:09:59 2017 @@ -1,99 +1,99 @@ -<!-- -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="segments"> - <div class="clearfix"> - - <div class="block fieldlist" id="statistics"> - - <h2><span>Segments</span></h2> - <p id="auto-refresh"><a ng-click="toggleAutoRefresh()" ng-class="{on:autorefresh}">Auto-Refresh</a></p> - <a class="reload" ng-click="refresh()"><span>reload</span></a> - - <div class="message-container"> - <div class="message"></div> - </div> - - <div class="content"> - - <div id="result"> - - <div id="response"> - - <div class="segments-holder"> - - <ul> - <li> - <dl class="clearfix" style="width:100%;"> - <dt> - <div>Size</div> - </dt> - <dd> - <div class="start">0</div> - <div class="w5" ng-repeat="x in xaxis"> - <span ng-show="x>0.001">{{x.value}}</span> - <span ng-hide="x>0.001"> </span> - </div> - <div class="end">{{segmentMB | number}} MB</div> - </dd> - </dl> - </li> - <li ng-repeat="segment in segments"> - <dl class="clearfix" ng-style="{width: segment.totalSize+'%'}"> - <dt> - <div>{{ segment.name }}</div> - </dt> - <dd> - <div class="live" ng-class="{'merge-candidate':segment.mergeCandidate}" - ng-style="{width: segment.aliveDocSize+'%'}"> </div> - <div class="tooltip"> - <div>Segment <b>{{segment.name}}</b>:</div> - <div class="label">#docs:</div> - <div>{{ segment.size | number }}</div> - <div class="label">#dels:</div> - <div>{{ segment.delCount | number }}</div> - <div class="label">size:</div> - <div>{{ segment.sizeInBytes | number }} bytes</div> - <div class="label">age:</div> - <div>{{ segment.age }}</div> - <div class="label">source:</div> - <div>{{ segment.source }}</div> - </div> - <div class="deleted" ng-show="segment.deletedDocSize" - style="width: {{ segment.deletedDocSize }}%; margin-left:{{ segment.aliveDocSize}}%;"> - </div> - </dd> - </dl> - </li> - <li> - <dl> - <dt></dt> - <dd>Deletions: {{ deletionsPercentage }}%</dd> - </dl> - </li> - </ul> - - </div> - - </div> - - </div> - </div> - </div> - - </div> - -</div> +<!-- +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="segments"> + <div class="clearfix"> + + <div class="block fieldlist" id="statistics"> + + <h2><span>Segments</span></h2> + <p id="auto-refresh"><a ng-click="toggleAutoRefresh()" ng-class="{on:autorefresh}">Auto-Refresh</a></p> + <a class="reload" ng-click="refresh()"><span>reload</span></a> + + <div class="message-container"> + <div class="message"></div> + </div> + + <div class="content"> + + <div id="result"> + + <div id="response"> + + <div class="segments-holder"> + + <ul> + <li> + <dl class="clearfix" style="width:100%;"> + <dt> + <div>Size</div> + </dt> + <dd> + <div class="start">0</div> + <div class="w5" ng-repeat="x in xaxis"> + <span ng-show="x>0.001">{{x.value}}</span> + <span ng-hide="x>0.001"> </span> + </div> + <div class="end">{{segmentMB | number}} MB</div> + </dd> + </dl> + </li> + <li ng-repeat="segment in segments"> + <dl class="clearfix" ng-style="{width: segment.totalSize+'%'}"> + <dt> + <div>{{ segment.name }}</div> + </dt> + <dd> + <div class="live" ng-class="{'merge-candidate':segment.mergeCandidate}" + ng-style="{width: segment.aliveDocSize+'%'}"> </div> + <div class="tooltip"> + <div>Segment <b>{{segment.name}}</b>:</div> + <div class="label">#docs:</div> + <div>{{ segment.size | number }}</div> + <div class="label">#dels:</div> + <div>{{ segment.delCount | number }}</div> + <div class="label">size:</div> + <div>{{ segment.sizeInBytes | number }} bytes</div> + <div class="label">age:</div> + <div>{{ segment.age }}</div> + <div class="label">source:</div> + <div>{{ segment.source }}</div> + </div> + <div class="deleted" ng-show="segment.deletedDocSize" + style="width: {{ segment.deletedDocSize }}%; margin-left:{{ segment.aliveDocSize}}%;"> + </div> + </dd> + </dl> + </li> + <li> + <dl> + <dt></dt> + <dd>Deletions: {{ deletionsPercentage }}%</dd> + </dl> + </li> + </ul> + + </div> + + </div> + + </div> + </div> + </div> + + </div> + +</div> Propchange: ofbiz/trunk/plugins/solr/webapp/solr/partials/segments.html ------------------------------------------------------------------------------ svn:eol-style = native Modified: ofbiz/trunk/plugins/solr/webapp/solr/partials/stream.html URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/solr/webapp/solr/partials/stream.html?rev=1781731&r1=1781730&r2=1781731&view=diff ============================================================================== --- ofbiz/trunk/plugins/solr/webapp/solr/partials/stream.html (original) +++ ofbiz/trunk/plugins/solr/webapp/solr/partials/stream.html Sun Feb 5 11:09:59 2017 @@ -1,64 +1,64 @@ -<!-- -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="stream" class="clearfix"> - - <div id="form"> - <form> - <label for="expr" title="The expression string"> - Streaming Expression (expr) - </label> - <textarea name="expr" ng-model="expr" id="expr" title="The expression string.">search(....)</textarea> - - <button type="submit" ng-click="doStream()">Execute</button> - <input type="checkbox" ng-model="doExplanation" name="doExplanation" id="doExplanation" value="true"> - <label for="explain" class="checkbox" title="Enable Explanation." ng-click="doExplanation = !doExplanation"> - with explanation - </label> - - </form> - </div> - - <div id="result"> - - <a ng-show="response.data" id="url" class="address-bar" ng-href="{{url}}">{{url}}</a> - - <div ng-show="showExplanation" id="explanation" class="clearfix"> - <div id="frame"> - <div explanation-graph id="explanation-content" data="explanationData" depth="depth" leaf-count="leafCount" class="content clearfix" ng-show="showGraph"> - <div id="legend"> - <svg width="100%" height="15"> - <g transform="translate(5,10)" class="stream-decorator"><circle r="4.5"></circle></g> - <g transform="translate(15,14)"><text>Stream Decorator</text></g> - <g transform="translate(140,10)" class="stream-source"><circle r="4.5"></circle></g> - <g transform="translate(150,14)"><text>Stream Source</text></g> - <g transform="translate(260,10)" class="graph-source"><circle r="4.5"></circle></g> - <g transform="translate(270,14)"><text>Graph Source</text></g> - <g transform="translate(375,10)" class="datastore"><circle r="4.5"></circle></g> - <g transform="translate(385,14)"><text>Datastore</text></g> - </svg> - </div> - <div id="canvas"></div> - </div> - </div> - </div> - - <div id="response"> - <pre class="syntax language-json"><code ng-bind-html="response.data | highlight:json | unsafe"></code></pre> - </div> - </div> - -</div> +<!-- +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="stream" class="clearfix"> + + <div id="form"> + <form> + <label for="expr" title="The expression string"> + Streaming Expression (expr) + </label> + <textarea name="expr" ng-model="expr" id="expr" title="The expression string.">search(....)</textarea> + + <button type="submit" ng-click="doStream()">Execute</button> + <input type="checkbox" ng-model="doExplanation" name="doExplanation" id="doExplanation" value="true"> + <label for="explain" class="checkbox" title="Enable Explanation." ng-click="doExplanation = !doExplanation"> + with explanation + </label> + + </form> + </div> + + <div id="result"> + + <a ng-show="response.data" id="url" class="address-bar" ng-href="{{url}}">{{url}}</a> + + <div ng-show="showExplanation" id="explanation" class="clearfix"> + <div id="frame"> + <div explanation-graph id="explanation-content" data="explanationData" depth="depth" leaf-count="leafCount" class="content clearfix" ng-show="showGraph"> + <div id="legend"> + <svg width="100%" height="15"> + <g transform="translate(5,10)" class="stream-decorator"><circle r="4.5"></circle></g> + <g transform="translate(15,14)"><text>Stream Decorator</text></g> + <g transform="translate(140,10)" class="stream-source"><circle r="4.5"></circle></g> + <g transform="translate(150,14)"><text>Stream Source</text></g> + <g transform="translate(260,10)" class="graph-source"><circle r="4.5"></circle></g> + <g transform="translate(270,14)"><text>Graph Source</text></g> + <g transform="translate(375,10)" class="datastore"><circle r="4.5"></circle></g> + <g transform="translate(385,14)"><text>Datastore</text></g> + </svg> + </div> + <div id="canvas"></div> + </div> + </div> + </div> + + <div id="response"> + <pre class="syntax language-json"><code ng-bind-html="response.data | highlight:json | unsafe"></code></pre> + </div> + </div> + +</div> Propchange: ofbiz/trunk/plugins/solr/webapp/solr/partials/stream.html ------------------------------------------------------------------------------ svn:eol-style = native Modified: ofbiz/trunk/plugins/solr/webapp/solr/partials/threads.html URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/solr/webapp/solr/partials/threads.html?rev=1781731&r1=1781730&r2=1781731&view=diff ============================================================================== --- ofbiz/trunk/plugins/solr/webapp/solr/partials/threads.html (original) +++ ofbiz/trunk/plugins/solr/webapp/solr/partials/threads.html Sun Feb 5 11:09:59 2017 @@ -1,65 +1,65 @@ -<!-- -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="threads" ng-class="showAllStacktraces ? 'expanded' : 'collapsed'"> - - <div class="controls"> - <a ng-click="toggleStacktraces()"> - <span>{{showAllStacktraces?"Hide":"Show"}} all Stacktraces</span> - </a> - </div> - - <div id="thread-dump"> - - <table border="0" cellpadding="0" cellspacing="0"> - - <thead> - - <tr> - - <th class="name">name</th> - <th class="time">cpuTime / userTime</th> - - </tr> - - </thead> - - <tbody> - <tr ng-repeat="thread in threads" class="{{$odd?'odd':''}} {{thread.lock?'lock':''}} {{thread.stackTrace?'stacktrace':''}} {{thread.state}}"> - <td class="name"> - <a title="{{thread.state}}" ng-click="toggleStacktrace(thread)"><span>{{thread.name}} ({{thread.id}})</span></a> - <p title="Waiting on" ng-show="thread.lock">{{thread.lock}}</p> - <div ng-show="thread.showStackTrace"> - <ul> - <li ng-repeat="trace in thread.stackTrace track by trace.id">{{trace.trace}}</li> - </ul> - </div> - </td> - <td class="time">{{thread.cpuTime}}<br>{{thread.userTime}}</td> - </tr> - </tbody> - - </table> - - </div> - - <div class="controls"> - <a ng-click="toggleStacktraces()"> - <span>{{showAllStacktraces?"Hide":"Show"}} all Stacktraces</span> - </a> - </div> - -</div> +<!-- +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="threads" ng-class="showAllStacktraces ? 'expanded' : 'collapsed'"> + + <div class="controls"> + <a ng-click="toggleStacktraces()"> + <span>{{showAllStacktraces?"Hide":"Show"}} all Stacktraces</span> + </a> + </div> + + <div id="thread-dump"> + + <table border="0" cellpadding="0" cellspacing="0"> + + <thead> + + <tr> + + <th class="name">name</th> + <th class="time">cpuTime / userTime</th> + + </tr> + + </thead> + + <tbody> + <tr ng-repeat="thread in threads" class="{{$odd?'odd':''}} {{thread.lock?'lock':''}} {{thread.stackTrace?'stacktrace':''}} {{thread.state}}"> + <td class="name"> + <a title="{{thread.state}}" ng-click="toggleStacktrace(thread)"><span>{{thread.name}} ({{thread.id}})</span></a> + <p title="Waiting on" ng-show="thread.lock">{{thread.lock}}</p> + <div ng-show="thread.showStackTrace"> + <ul> + <li ng-repeat="trace in thread.stackTrace track by trace.id">{{trace.trace}}</li> + </ul> + </div> + </td> + <td class="time">{{thread.cpuTime}}<br>{{thread.userTime}}</td> + </tr> + </tbody> + + </table> + + </div> + + <div class="controls"> + <a ng-click="toggleStacktraces()"> + <span>{{showAllStacktraces?"Hide":"Show"}} all Stacktraces</span> + </a> + </div> + +</div> Propchange: ofbiz/trunk/plugins/solr/webapp/solr/partials/threads.html ------------------------------------------------------------------------------ svn:eol-style = native Modified: ofbiz/trunk/plugins/solr/webapp/solr/tpl/segments.html URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/solr/webapp/solr/tpl/segments.html?rev=1781731&r1=1781730&r2=1781731&view=diff ============================================================================== --- ofbiz/trunk/plugins/solr/webapp/solr/tpl/segments.html (original) +++ ofbiz/trunk/plugins/solr/webapp/solr/tpl/segments.html Sun Feb 5 11:09:59 2017 @@ -1,49 +1,49 @@ -<!-- -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="segments"> - <div class="clearfix"> - - <div class="block fieldlist" id="statistics"> - - <h2><span>Segments</span></h2> - <a class="reload"><span>reload</span></a> - - <div class="message-container"> - <div class="message"></div> - </div> - - <div class="content"> - - <div id="result"> - - <div id="response"> - - <div class="segments-holder"> - - <ul></ul> - - </div> - - </div> - - </div> - </div> - </div> - - </div> - -</div> +<!-- +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="segments"> + <div class="clearfix"> + + <div class="block fieldlist" id="statistics"> + + <h2><span>Segments</span></h2> + <a class="reload"><span>reload</span></a> + + <div class="message-container"> + <div class="message"></div> + </div> + + <div class="content"> + + <div id="result"> + + <div id="response"> + + <div class="segments-holder"> + + <ul></ul> + + </div> + + </div> + + </div> + </div> + </div> + + </div> + +</div> Propchange: ofbiz/trunk/plugins/solr/webapp/solr/tpl/segments.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/plugins/webpos/template/ForgotPassword.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/plugins/webpos/template/GetSecurityQuestion.ftl ------------------------------------------------------------------------------ svn:eol-style = native Modified: ofbiz/trunk/themes/bluelight/webapp/bluelight/docbook.css URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/docbook.css?rev=1781731&r1=1781730&r2=1781731&view=diff ============================================================================== --- ofbiz/trunk/themes/bluelight/webapp/bluelight/docbook.css (original) +++ ofbiz/trunk/themes/bluelight/webapp/bluelight/docbook.css Sun Feb 5 11:09:59 2017 @@ -1,350 +1,350 @@ -/*********************************************** -APACHE OFBIZ -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. -***********************************************/ -body { - background: transparent url(/images/ofbiz_logo.gif) no-repeat scroll left top; - color: #000; - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: .75em; - line-height: 1.5em; - padding: 50px 0 0; - bgcolor: #ffffcc; -} - -a:hover { - color: #111111; - text-decoration: underline; -} - -a:visited { - color: #000; - text-decoration: underline; -} - -a { - color: #555; - text-decoration: underline; -} - -div.abstract { - border: solid 2px; - padding-left: 10pt; - padding-right: 10pt; - background-color: #ffffcc; -} - -pre.screen { - font-family: monospace; - white-space: pre; - width: 100%; - background-color: #ffffcc; - border: solid; - color: #000000; - border-color: #009999; - border-left: solid #009999 2px; - border-right: solid #009999 2px; - border-top: solid #009999 2px; - border-bottom: solid #009999 2px; - - padding-left: 15pt; -} - -pre.programlisting { - font-family: monospace; - white-space: pre; - width: 100%; - background-color: #ffffcc; - border: solid; - color: #000000; - border-color: #009999; - border-left: solid #009999 2px; - border-right: solid #009999 2px; - border-top: solid #009999 2px; - border-bottom: solid #009999 2px; - - padding-left: 15pt; -} - -h1 { - color: #ffffff; - border: solid 3px #a0a0d0; - background-color: #606090; - font-variant: small-caps; - width: 100%; -} - -h1.title { - color: #ffffff; - border: solid 3px #a0a0d0; - background-color: #606090; - font-variant: small-caps; - width: 100%; -} - -.title a { - color: #fffffc; - text-decoration: none; -} - -.title a:active { - color: #ffffff; - text-decoration: none; -} - -.title a:visited { - color: #ffffff; - text-decoration: none; -} - -h2 { - color: #ffffff; - font-style: italic; - background-color: #a0a0d0; - border: solid 3px #606090; - padding: 1px -} - -table.important { - font-style: italic; - border: solid 2px #ff0000; - width: 70%; - margin-left: 15%; -} - -table.caution { - font-style: italic; - border: ridge 2px #ffff00; - width: 70%; - margin-left: 15%; -} - -table.note { - font-style: italic; - border: solid 1px #000000; - width: 70%; - margin-left: 15%; -} - -table.tip { - font-style: italic; - border: solid 1px #000000; - width: 70%; - margin-left: 15%; -} - -table.warning { - font-style: italic; - font-weight: bold; - border: ridge 4px #ff0000; - - width: 70%; - margin-left: 15%; -} - -div.variablelist { - font-family: sans-serif; - font-style: normal; - font-weight: normal; - padding-left: 20px; -} - -.varlistentry { - font-weight: bold; - margin-top: 10px; - color: #ffffff; - background-color: #a0a0d0; - border: solid 1px #606090; - padding: 1px -} - -/* - * see http://diveintoaccessibility.org/day_26_using_relative_font_sizes.html - * for an explanation of the following few commands. - * they are really too complicated to explain here in all depth. ;-) - */ - -p { - font-size: 12px; -} - -/*a{} -body p { - font-size: x-small; - voice-family: "\"}\""; - voice-family: inherit; - font-size: small; -} - -html>body p { - font-size: small; -} -*/ - -/* add an external-link icon to absolute links */ -a[href^="http:"] { - background: url(images/remote.gif) right center no-repeat; - padding-right: 12px; -} - -a[href^="http:"]:hover { - background: url(images/remote_a.gif) right center no-repeat; -} - -/* add a note icon to footnote links */ -a[href^="#ftn"] { - background: url(images/qbullet-note.gif) right center no-repeat; - padding-right: 12px; -} - -a[href^="#ftn"]:hover { - background: url(images/qbullet-note_a.gif) right center no-repeat; -} - -/* ...and a back icon to the backlinks in the footnotes themselves */ -a[name^="ftn"] { - background: url(images/scrollup.gif) right center no-repeat; - padding-right: 12px; -} - -a[name^="ftn"]:hover { - background: url(images/scrollup_a.gif) right center no-repeat; -} - -/* add a download icon to .gz links */ -a[href$=".gz"], a[href$=".tar"], a[href$=".zip"] { - background: url(images/disk.gif) right center no-repeat; - padding-right: 12px; -} - -/* add an acrobat reader icon to pdf links */ -a[href$=".pdf"] { - background: url(images/acrobat.gif) right center no-repeat; - padding-right: 12px; -} - -a[href$=".pdf"]:hover { - background: url(images/acrobat_a.gif) right center no-repeat; -} - -/* add a word icon to rtf links */ -a[href$=".rtf"] { - background: url(images/word.gif) right center no-repeat; - padding-right: 12px; -} - -/* ...but not to absolute links in this domain... */ -a[href^="http://www.karakas-online.de"] { - background: transparent; - padding-right: 0px; -} - -a[href^="http://www.karakas-online.de"]:hover { - background: transparent; -} - -/* ...or to the translation links on each page */ -div.translatelink > a[href^="http:"] { - background: transparent; - padding-right: 0px; -} - -div.translatelink > a[href^="http:"]:hover { - background: transparent; -} - -/* ...or to any images */ -div.imagelink a[href^="http:"] { - background: transparent; - padding-right: 0px; -} - -div.imagelink a[href^="http:"]:hover { - background: transparent; -} - -p.c2 { - color: #ffffff; - background-color: #a0a0d0; - border: solid 1px #606090; - padding: 1px -} - -div.navfooter { - color: #000000; - background-color: #efeff8; - padding: 5px; - margin-top: 10px; - width: 100%; - border: thin solid #a0a0d0; -} - -div.nukefooter { - color: #000000; - background-color: #b0e0e6; - padding: 5px; - margin-top: 10px; - width: 100%; - border: thin solid #a0a0d0; -} - -div.navheader { - color: #000000; - background-color: #efeff8; - padding: 5px; - margin-bottom: 10px; - width: 100%; - border: thin solid #a0a0d0; -} - -div.sect1, div.sect2, div.sect3 { - margin-left: 20px; -} - -div.example, div.toc { - border: thin dotted #70aae5; - padding-left: 10px; - padding-right: 10px; - color: #000000; - background-color: #eff8f8; -} - -div.toc { - margin-left: 20px; - margin-right: 20px; - width: 95%; -} - -ul { - list-style: url("images/tux-bullet.png") disc; -} - -div.example, div.toc { - border: thin dotted #70aae5; - padding-left: 10px; - padding-right: 10px; - color: #000000; - background-color: #eff8f8; -} - -div.toc { - margin-left: 20px; - margin-right: 20px; - width: 95%; -} - +/*********************************************** +APACHE OFBIZ +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. +***********************************************/ +body { + background: transparent url(/images/ofbiz_logo.gif) no-repeat scroll left top; + color: #000; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: .75em; + line-height: 1.5em; + padding: 50px 0 0; + bgcolor: #ffffcc; +} + +a:hover { + color: #111111; + text-decoration: underline; +} + +a:visited { + color: #000; + text-decoration: underline; +} + +a { + color: #555; + text-decoration: underline; +} + +div.abstract { + border: solid 2px; + padding-left: 10pt; + padding-right: 10pt; + background-color: #ffffcc; +} + +pre.screen { + font-family: monospace; + white-space: pre; + width: 100%; + background-color: #ffffcc; + border: solid; + color: #000000; + border-color: #009999; + border-left: solid #009999 2px; + border-right: solid #009999 2px; + border-top: solid #009999 2px; + border-bottom: solid #009999 2px; + + padding-left: 15pt; +} + +pre.programlisting { + font-family: monospace; + white-space: pre; + width: 100%; + background-color: #ffffcc; + border: solid; + color: #000000; + border-color: #009999; + border-left: solid #009999 2px; + border-right: solid #009999 2px; + border-top: solid #009999 2px; + border-bottom: solid #009999 2px; + + padding-left: 15pt; +} + +h1 { + color: #ffffff; + border: solid 3px #a0a0d0; + background-color: #606090; + font-variant: small-caps; + width: 100%; +} + +h1.title { + color: #ffffff; + border: solid 3px #a0a0d0; + background-color: #606090; + font-variant: small-caps; + width: 100%; +} + +.title a { + color: #fffffc; + text-decoration: none; +} + +.title a:active { + color: #ffffff; + text-decoration: none; +} + +.title a:visited { + color: #ffffff; + text-decoration: none; +} + +h2 { + color: #ffffff; + font-style: italic; + background-color: #a0a0d0; + border: solid 3px #606090; + padding: 1px +} + +table.important { + font-style: italic; + border: solid 2px #ff0000; + width: 70%; + margin-left: 15%; +} + +table.caution { + font-style: italic; + border: ridge 2px #ffff00; + width: 70%; + margin-left: 15%; +} + +table.note { + font-style: italic; + border: solid 1px #000000; + width: 70%; + margin-left: 15%; +} + +table.tip { + font-style: italic; + border: solid 1px #000000; + width: 70%; + margin-left: 15%; +} + +table.warning { + font-style: italic; + font-weight: bold; + border: ridge 4px #ff0000; + + width: 70%; + margin-left: 15%; +} + +div.variablelist { + font-family: sans-serif; + font-style: normal; + font-weight: normal; + padding-left: 20px; +} + +.varlistentry { + font-weight: bold; + margin-top: 10px; + color: #ffffff; + background-color: #a0a0d0; + border: solid 1px #606090; + padding: 1px +} + +/* + * see http://diveintoaccessibility.org/day_26_using_relative_font_sizes.html + * for an explanation of the following few commands. + * they are really too complicated to explain here in all depth. ;-) + */ + +p { + font-size: 12px; +} + +/*a{} +body p { + font-size: x-small; + voice-family: "\"}\""; + voice-family: inherit; + font-size: small; +} + +html>body p { + font-size: small; +} +*/ + +/* add an external-link icon to absolute links */ +a[href^="http:"] { + background: url(images/remote.gif) right center no-repeat; + padding-right: 12px; +} + +a[href^="http:"]:hover { + background: url(images/remote_a.gif) right center no-repeat; +} + +/* add a note icon to footnote links */ +a[href^="#ftn"] { + background: url(images/qbullet-note.gif) right center no-repeat; + padding-right: 12px; +} + +a[href^="#ftn"]:hover { + background: url(images/qbullet-note_a.gif) right center no-repeat; +} + +/* ...and a back icon to the backlinks in the footnotes themselves */ +a[name^="ftn"] { + background: url(images/scrollup.gif) right center no-repeat; + padding-right: 12px; +} + +a[name^="ftn"]:hover { + background: url(images/scrollup_a.gif) right center no-repeat; +} + +/* add a download icon to .gz links */ +a[href$=".gz"], a[href$=".tar"], a[href$=".zip"] { + background: url(images/disk.gif) right center no-repeat; + padding-right: 12px; +} + +/* add an acrobat reader icon to pdf links */ +a[href$=".pdf"] { + background: url(images/acrobat.gif) right center no-repeat; + padding-right: 12px; +} + +a[href$=".pdf"]:hover { + background: url(images/acrobat_a.gif) right center no-repeat; +} + +/* add a word icon to rtf links */ +a[href$=".rtf"] { + background: url(images/word.gif) right center no-repeat; + padding-right: 12px; +} + +/* ...but not to absolute links in this domain... */ +a[href^="http://www.karakas-online.de"] { + background: transparent; + padding-right: 0px; +} + +a[href^="http://www.karakas-online.de"]:hover { + background: transparent; +} + +/* ...or to the translation links on each page */ +div.translatelink > a[href^="http:"] { + background: transparent; + padding-right: 0px; +} + +div.translatelink > a[href^="http:"]:hover { + background: transparent; +} + +/* ...or to any images */ +div.imagelink a[href^="http:"] { + background: transparent; + padding-right: 0px; +} + +div.imagelink a[href^="http:"]:hover { + background: transparent; +} + +p.c2 { + color: #ffffff; + background-color: #a0a0d0; + border: solid 1px #606090; + padding: 1px +} + +div.navfooter { + color: #000000; + background-color: #efeff8; + padding: 5px; + margin-top: 10px; + width: 100%; + border: thin solid #a0a0d0; +} + +div.nukefooter { + color: #000000; + background-color: #b0e0e6; + padding: 5px; + margin-top: 10px; + width: 100%; + border: thin solid #a0a0d0; +} + +div.navheader { + color: #000000; + background-color: #efeff8; + padding: 5px; + margin-bottom: 10px; + width: 100%; + border: thin solid #a0a0d0; +} + +div.sect1, div.sect2, div.sect3 { + margin-left: 20px; +} + +div.example, div.toc { + border: thin dotted #70aae5; + padding-left: 10px; + padding-right: 10px; + color: #000000; + background-color: #eff8f8; +} + +div.toc { + margin-left: 20px; + margin-right: 20px; + width: 95%; +} + +ul { + list-style: url("images/tux-bullet.png") disc; +} + +div.example, div.toc { + border: thin dotted #70aae5; + padding-left: 10px; + padding-right: 10px; + color: #000000; + background-color: #eff8f8; +} + +div.toc { + margin-left: 20px; + margin-right: 20px; + width: 95%; +} + Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/docbook.css ------------------------------------------------------------------------------ svn:eol-style = native |
Free forum by Nabble | Edit this page |