You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2017/02/05 11:10:01 UTC
svn commit: r1781731 [36/45] - in /ofbiz/trunk:
applications/accounting/src/main/java/org/apache/ofbiz/accounting/thirdparty/ideal/
applications/accounting/webapp/ap/error/
applications/accounting/webapp/ar/error/
applications/commonext/webapp/ofbizset...
Modified: ofbiz/trunk/plugins/solr/webapp/solr/partials/cores.html
URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/solr/webapp/solr/partials/cores.html?rev=1781731&r1=1781730&r2=1781731&view=diff
==============================================================================
--- ofbiz/trunk/plugins/solr/webapp/solr/partials/cores.html (original)
+++ ofbiz/trunk/plugins/solr/webapp/solr/partials/cores.html Sun Feb 5 11:09:59 2017
@@ -1,231 +1,231 @@
-<!--
-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="cores" class="clearfix empty">
-
- <div id="ui-block" style="display:none"> </div><!-- @todo what is this for? -->
-
- <div id="frame">
-
- <div id="actions" class="actions clearfix">
-
- <button id="add" class="action" ng-click="showAddCore()"><span>Add Core</span></button>
- <span ng-show="hasCores">
- <button id="unload" class="warn requires-core" ng-click="unloadCore()"><span>Unload</span></button>
- <button id="rename" class="action requires-core" ng-click="showRenameCore()"><span>Rename</span></button>
- <button id="swap" class="action requires-core" ng-click="showSwapCores()"><span>Swap</span></button>
- <button id="reload" class="requires-core" ng-click="reloadCore()"
- ng-class="{success: reloadSuccess, warn: reloadFailure}"><span>Reload</span></button>
- <button id="optimize" class="requires-core" ng-click="optimizeCore()" ng-show="core.index.hasDeletions || optimizeSuccess"
- ng-class="{success: optimizeSuccess, warn: optimizeFailure}"><span>Optimize</span></button>
- </span>
- <div class="action add" data-rel="add" ng-show="showAdd" style="display:block;left:0px;">
-
- <form>
-
- <p class="clearfix"><label for="add_name">name:</label>
- <input type="text" name="name" id="add_name" ng-model="newCore.name"></p>
-
- <p class="clearfix"><label for="add_instanceDir">instanceDir:</label>
- <input type="text" name="instanceDir" id="add_instanceDir" ng-model="newCore.instanceDir"></p>
-
- <p class="clearfix"><label for="add_dataDir">dataDir:</label>
- <input type="text" name="dataDir" id="add_dataDir" ng-model="newCore.dataDir"></p>
-
- <p class="clearfix"><label for="add_config">config:</label>
- <input type="text" name="config" id="add_config" ng-model="newCore.config"></p>
-
- <p class="clearfix"><label for="add_schema">schema:</label>
- <input type="text" name="schema" id="add_schema" ng-model="newCore.schema"></p>
-
- <div class="cloud" ng-show="isCloud">
-
- <p class="clearfix"><label for="add_collection">collection:</label>
- <input type="text" name="collection" id="add_collection" ng-model="newCore.collection"></p>
-
- <p class="clearfix"><label for="add_shard">shard:</label>
- <input type="text" name="add_shard" id="add_shard" ng-model="newCore.shard"></p>
-
- </div>
-
- <p class="clearfix note directory-note">
-
- <span><code>instanceDir</code> and <code>dataDir</code> need to exist before you can create the core</span>
-
- </p>
-
- <p class="clearfix note error" ng-show="addMessage">
- <span>{{addMessage}}</span>
- </p>
-
- <p class="clearfix buttons">
- <button type="submit" class="submit" ng-click="addCore()"><span>Add Core</span></button>
- <button type="reset" class="reset" ng-click="cancelAddCore()"><span>Cancel</span></button>
- </p>
-
- </form>
-
- </div>
-
- <div class="action rename" ng-show="showRename">
-
- <form>
-
- <input type="hidden" name="core" data-core="current">
-
- <p class="clearfix"><label for="rename_other">New Name:</label>
- <input type="text" name="other" ng-model="other" id="rename_other"></p>
-
- <p class="clearfix note error" ng-show="renameMessage">
- <span>{{renameMessage}}</span>
- </p>
-
- <p class="clearfix buttons">
- <button class="submit" ng-click="renameCore()"><span>Rename Core</span></button>
- <button type="reset" class="reset" ng-click="cancelRenameCore()"><span>Cancel</span></button>
- </p>
- </form>
-
- </div>
-
- <div class="action swap" ng-show="showSwap">
-
- <form>
-
- <p class="clearfix"><label for="swap_core">this:</label>
- <input type="text" id="swap_core" name="core" ng-model="selectedCore" readonly="readonly"></p>
-
- <p class="clearfix"><label for="swap_other">and:</label>
- <select id="swap_other" ng-model="swapOther" ng-options="core.name as core.name for core in swapCorelist" class="other">
- </select></p>
-
- <p class="clearfix note error" ng-show="swapMessage">
- <span>{{swapMessage}}</span>
- </p>
-
- <p class="clearfix buttons">
- <button type="submit" class="submit" ng-click="swapCores()"><span>Swap Cores</span></button>
- <button type="reset" class="reset" ng-click="cancelSwapCores()"><span>Cancel</span></button>
- </p>
-
- </form>
-
- </div>
-
- </div>
-
- <div id="data" class="requires-core" ng-show="hasCores">
-
- <div class="block" id="core-data">
-
- <h2><span>Core</span></h2>
-
- <div class="message-container">
- <div class="message"></div>
- </div>
-
- <div class="content">
-
- <ul>
-
- <li class="startTime"><dl class="clearfix">
- <dt><span>startTime:</span></dt>
- <dd class="timeago">{{core.startTime | timeago}}</dd>
- </dl></li>
-
- <li class="instanceDir"><dl class="clearfix">
- <dt><span>instanceDir:</span></dt>
- <dd>{{core.instanceDir}}</dd>
- </dl></li>
-
- <li class="dataDir"><dl class="clearfix">
- <dt><span>dataDir:</span></dt>
- <dd>{{core.dataDir}}</dd>
- </dl></li>
-
- </ul>
-
- </div>
- </div>
-
- <div class="block" id="index-data" ng-show="hasCores">
-
- <h2><span>Index</span></h2>
-
- <div class="message-container">
- <div class="message">{{core.message}}</div>
- </div>
-
- <div class="content">
-
- <ul>
-
- <li class="lastModified"><dl class="clearfix">
- <dt><span>lastModified:</span></dt>
- <dd class="timeago">{{core.index.lastModified | timeago}}</dd>
- </dl></li>
-
- <li class="version"><dl class="clearfix">
- <dt><span>version:</span></dt>
- <dd>{{core.index.version}}</dd>
- </dl></li>
-
- <li class="numDocs"><dl class="clearfix">
- <dt><span>numDocs:</span></dt>
- <dd>{{core.index.numDocs}}</dd>
- </dl></li>
-
- <li class="maxDoc"><dl class="clearfix">
- <dt><span>maxDoc:</span></dt>
- <dd>{{core.index.maxDoc}}</dd>
- </dl></li>
-
- <li class="deletedDocs"><dl class="clearfix">
- <dt><span>deletedDocs:</span></dt>
- <dd>{{core.index.deletedDocs}}</dd>
- </dl></li>
-
- <li class="optimized"><dl class="clearfix">
- <dt><span>optimized:</span></dt>
- <dd class="ico" ng-class="core.index.hasDeletions ? 'ico-0' : 'ico-1'"><span></span></dd>
- </dl></li>
-
- <li class="current"><dl class="clearfix">
- <dt><span>current:</span></dt>
- <dd class="ico" ng-class="core.index.current ?'ico-1' : 'ico-0'"><span></span></dd>
- </dl></li>
-
- <li class="directory"><dl class="clearfix">
- <dt><span>directory:</span></dt>
- <dd>{{core.index.directory}}</dd>
- </dl></li>
-
- </ul>
-
- </div>
- </div>
-
- </div>
-
- </div>
-
- <div id="navigation" class="requires-core clearfix" ng-show="hasCores">
- <ul>
- <li ng-repeat="c in cores" ng-class="{current: core.name == c.name}"><a href="#~cores/{{c.name}}">{{c.name}}</a></li>
- </ul>
- </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="cores" class="clearfix empty">
+
+ <div id="ui-block" style="display:none"> </div><!-- @todo what is this for? -->
+
+ <div id="frame">
+
+ <div id="actions" class="actions clearfix">
+
+ <button id="add" class="action" ng-click="showAddCore()"><span>Add Core</span></button>
+ <span ng-show="hasCores">
+ <button id="unload" class="warn requires-core" ng-click="unloadCore()"><span>Unload</span></button>
+ <button id="rename" class="action requires-core" ng-click="showRenameCore()"><span>Rename</span></button>
+ <button id="swap" class="action requires-core" ng-click="showSwapCores()"><span>Swap</span></button>
+ <button id="reload" class="requires-core" ng-click="reloadCore()"
+ ng-class="{success: reloadSuccess, warn: reloadFailure}"><span>Reload</span></button>
+ <button id="optimize" class="requires-core" ng-click="optimizeCore()" ng-show="core.index.hasDeletions || optimizeSuccess"
+ ng-class="{success: optimizeSuccess, warn: optimizeFailure}"><span>Optimize</span></button>
+ </span>
+ <div class="action add" data-rel="add" ng-show="showAdd" style="display:block;left:0px;">
+
+ <form>
+
+ <p class="clearfix"><label for="add_name">name:</label>
+ <input type="text" name="name" id="add_name" ng-model="newCore.name"></p>
+
+ <p class="clearfix"><label for="add_instanceDir">instanceDir:</label>
+ <input type="text" name="instanceDir" id="add_instanceDir" ng-model="newCore.instanceDir"></p>
+
+ <p class="clearfix"><label for="add_dataDir">dataDir:</label>
+ <input type="text" name="dataDir" id="add_dataDir" ng-model="newCore.dataDir"></p>
+
+ <p class="clearfix"><label for="add_config">config:</label>
+ <input type="text" name="config" id="add_config" ng-model="newCore.config"></p>
+
+ <p class="clearfix"><label for="add_schema">schema:</label>
+ <input type="text" name="schema" id="add_schema" ng-model="newCore.schema"></p>
+
+ <div class="cloud" ng-show="isCloud">
+
+ <p class="clearfix"><label for="add_collection">collection:</label>
+ <input type="text" name="collection" id="add_collection" ng-model="newCore.collection"></p>
+
+ <p class="clearfix"><label for="add_shard">shard:</label>
+ <input type="text" name="add_shard" id="add_shard" ng-model="newCore.shard"></p>
+
+ </div>
+
+ <p class="clearfix note directory-note">
+
+ <span><code>instanceDir</code> and <code>dataDir</code> need to exist before you can create the core</span>
+
+ </p>
+
+ <p class="clearfix note error" ng-show="addMessage">
+ <span>{{addMessage}}</span>
+ </p>
+
+ <p class="clearfix buttons">
+ <button type="submit" class="submit" ng-click="addCore()"><span>Add Core</span></button>
+ <button type="reset" class="reset" ng-click="cancelAddCore()"><span>Cancel</span></button>
+ </p>
+
+ </form>
+
+ </div>
+
+ <div class="action rename" ng-show="showRename">
+
+ <form>
+
+ <input type="hidden" name="core" data-core="current">
+
+ <p class="clearfix"><label for="rename_other">New Name:</label>
+ <input type="text" name="other" ng-model="other" id="rename_other"></p>
+
+ <p class="clearfix note error" ng-show="renameMessage">
+ <span>{{renameMessage}}</span>
+ </p>
+
+ <p class="clearfix buttons">
+ <button class="submit" ng-click="renameCore()"><span>Rename Core</span></button>
+ <button type="reset" class="reset" ng-click="cancelRenameCore()"><span>Cancel</span></button>
+ </p>
+ </form>
+
+ </div>
+
+ <div class="action swap" ng-show="showSwap">
+
+ <form>
+
+ <p class="clearfix"><label for="swap_core">this:</label>
+ <input type="text" id="swap_core" name="core" ng-model="selectedCore" readonly="readonly"></p>
+
+ <p class="clearfix"><label for="swap_other">and:</label>
+ <select id="swap_other" ng-model="swapOther" ng-options="core.name as core.name for core in swapCorelist" class="other">
+ </select></p>
+
+ <p class="clearfix note error" ng-show="swapMessage">
+ <span>{{swapMessage}}</span>
+ </p>
+
+ <p class="clearfix buttons">
+ <button type="submit" class="submit" ng-click="swapCores()"><span>Swap Cores</span></button>
+ <button type="reset" class="reset" ng-click="cancelSwapCores()"><span>Cancel</span></button>
+ </p>
+
+ </form>
+
+ </div>
+
+ </div>
+
+ <div id="data" class="requires-core" ng-show="hasCores">
+
+ <div class="block" id="core-data">
+
+ <h2><span>Core</span></h2>
+
+ <div class="message-container">
+ <div class="message"></div>
+ </div>
+
+ <div class="content">
+
+ <ul>
+
+ <li class="startTime"><dl class="clearfix">
+ <dt><span>startTime:</span></dt>
+ <dd class="timeago">{{core.startTime | timeago}}</dd>
+ </dl></li>
+
+ <li class="instanceDir"><dl class="clearfix">
+ <dt><span>instanceDir:</span></dt>
+ <dd>{{core.instanceDir}}</dd>
+ </dl></li>
+
+ <li class="dataDir"><dl class="clearfix">
+ <dt><span>dataDir:</span></dt>
+ <dd>{{core.dataDir}}</dd>
+ </dl></li>
+
+ </ul>
+
+ </div>
+ </div>
+
+ <div class="block" id="index-data" ng-show="hasCores">
+
+ <h2><span>Index</span></h2>
+
+ <div class="message-container">
+ <div class="message">{{core.message}}</div>
+ </div>
+
+ <div class="content">
+
+ <ul>
+
+ <li class="lastModified"><dl class="clearfix">
+ <dt><span>lastModified:</span></dt>
+ <dd class="timeago">{{core.index.lastModified | timeago}}</dd>
+ </dl></li>
+
+ <li class="version"><dl class="clearfix">
+ <dt><span>version:</span></dt>
+ <dd>{{core.index.version}}</dd>
+ </dl></li>
+
+ <li class="numDocs"><dl class="clearfix">
+ <dt><span>numDocs:</span></dt>
+ <dd>{{core.index.numDocs}}</dd>
+ </dl></li>
+
+ <li class="maxDoc"><dl class="clearfix">
+ <dt><span>maxDoc:</span></dt>
+ <dd>{{core.index.maxDoc}}</dd>
+ </dl></li>
+
+ <li class="deletedDocs"><dl class="clearfix">
+ <dt><span>deletedDocs:</span></dt>
+ <dd>{{core.index.deletedDocs}}</dd>
+ </dl></li>
+
+ <li class="optimized"><dl class="clearfix">
+ <dt><span>optimized:</span></dt>
+ <dd class="ico" ng-class="core.index.hasDeletions ? 'ico-0' : 'ico-1'"><span></span></dd>
+ </dl></li>
+
+ <li class="current"><dl class="clearfix">
+ <dt><span>current:</span></dt>
+ <dd class="ico" ng-class="core.index.current ?'ico-1' : 'ico-0'"><span></span></dd>
+ </dl></li>
+
+ <li class="directory"><dl class="clearfix">
+ <dt><span>directory:</span></dt>
+ <dd>{{core.index.directory}}</dd>
+ </dl></li>
+
+ </ul>
+
+ </div>
+ </div>
+
+ </div>
+
+ </div>
+
+ <div id="navigation" class="requires-core clearfix" ng-show="hasCores">
+ <ul>
+ <li ng-repeat="c in cores" ng-class="{current: core.name == c.name}"><a href="#~cores/{{c.name}}">{{c.name}}</a></li>
+ </ul>
+ </div>
+
+</div>
Propchange: ofbiz/trunk/plugins/solr/webapp/solr/partials/cores.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: ofbiz/trunk/plugins/solr/webapp/solr/partials/dataimport.html
URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/solr/webapp/solr/partials/dataimport.html?rev=1781731&r1=1781730&r2=1781731&view=diff
==============================================================================
--- ofbiz/trunk/plugins/solr/webapp/solr/partials/dataimport.html (original)
+++ ofbiz/trunk/plugins/solr/webapp/solr/partials/dataimport.html Sun Feb 5 11:09:59 2017
@@ -1,209 +1,209 @@
-<!--
-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="dataimport" class="clearfix">
-
- <div ng-show="!hasHandlers">Sorry, no dataimport-handler defined!</div>
- <div id="frame" ng-show="hasHandlers">
-
- <div id="error" ng-show="error"></div>
-
- <div id="current_state" class="{{status}}">
-
- <p class="last_update">Last Update: <abbr title="{{lastUpdateUTC}}">{{lastUpdate}}</abbr></p>
- <div class="info">
-
- <strong>{{info.text}}<span ng-show="info.timeTaken"> (Duration: {{info.timeTaken | readableSeconds }})</span>
- </strong>
- <div class="details" ng-show="info.showDetails">
- <div class="docs">
- <span ng-repeat="doc in info.docs">
- <abbr style="display:inline" title="{{ doc.desc }}">{{ doc.name }}</abbr>: {{doc.value | number}}<!-- remove whitespace!
- --> <span style="display:inline" ng-show="doc.speed">{{ doc.speed | number}}/s</span><!-- remove whitespace!
- --><span style="display:inline" ng-show="!$last">, </span>
- </span>
- </div>
- <div class="dates">
- <span ng-repeat="date in info.dates">
- <abbr title="{{ date.desc }}">{{ date.name }}</abbr>:
- <abbr class="time">{{ date.value | timeago }}</abbr>
- </span>
- </div>
- </div>
-
- <button class="abort-import" ng-class="{warn:!isAborting, success: isAborting}" ng-click="abort()" ng-show="isRunning">
- <span ng-show="isAborting">Aborting Import</span>
- <span ng-show="!isAborting">Abort Import</span>
- </button>
-
- </div>
-
- </div>
-
- <div class="block" id="raw_output" >
-
- <h2>
- <a class="toggle" ng-click="toggleRawStatus()"><span>Raw Status-Output</span></a>
- </h2>
-
- <div class="message-container" ng-show="showRawStatus">
- <div class="message"></div>
- </div>
-
- <div class="content" ng-show="showRawStatus">
-
- <div id="raw_output_container"><pre class="syntax language-json"><code ng-bind-html="rawStatus | highlight:'json' | unsafe"></code></pre></div>
-
- </div>
-
- </div>
-
- <div class="block" id="config" ng-class="{debug_mode:isDebugMode}">
-
- <h2 class="clearfix">
- <a class="toggle" ng-click="toggleConfiguration()"><span>Configuration</span></a>
- <a class="r reload_config" ng-class="{success:reloaded}" ng-click="reload()" title="Reload Configuration">Reload</a>
- <a class="r debug_mode" ng-click="toggleDebug()">Debug-Mode</a>
- </h2>
-
- <div class="message-container" ng-show="showConfiguration">
- <div class="message"></div>
- </div>
-
- <div class="content" ng-show="showConfiguration">
- <div id="dataimport_config">
-
- <div class="formatted" ng-show="!isDebugMode">
-
- <pre class="syntax language-xml"><code ng-bind-html="config | highlight:'xml'| unsafe"></code></pre>
-
- </div>
-
- <div class="editable" ng-show="isDebugMode">
-
- <textarea ng-model="config"></textarea>
-
- </div>
-
- </div>
-
- </div>
-
- </div>
-
- <div class="block" id="debug_response" ng-show="form.showDebug">
-
- <h2>
- <a class="toggle" ng-click="toggleRawDebug()"><span>Raw Debug-Response</span></a>
- </h2>
-
- <div class="message-container" ng-show="showRawDebug">
- <div class="message"></div>
- </div>
-
- <div class="content" ng-show="showRawDebug">
- <span ng-hide="rawResponse">
- <em>No Request executed</em>
- </span>
- <span ng-show="rawResponse">
- <pre class="syntax language-json"><code ng-bind-html="rawResponse | highlight:'json' | unsafe"></code></pre>
- </span>
- </div>
-
- </div>
-
- </div>
-
- <div id="form" ng-show="hasHandlers">
-
- <div id="navigation">
-
- <ul>
- <li ng-class="{current: currentHandler == handler}" ng-repeat="handler in handlers">
- <a href="#/{{form.core}}/dataimport/{{handler}}">{{handler}}</a>
- </li>
- </ul>
-
- </div>
-
- <form action="#" method="get">
-
- <label for="command">
- <a rel="help">Command</a>
- </label>
- <select name="command" id="command" ng-model="form.command">
- <option>full-import</option>
- <option>delta-import</option>
- </select>
-
- <label for="verbose" class="checkbox">
- <input type="checkbox" name="verbose" id="verbose" ng-model="form.verbose">
- Verbose
- </label>
-
- <label for="clean" class="checkbox">
- <input type="checkbox" name="clean" id="clean" ng-model="form.clean">
- Clean
- </label>
-
- <label for="commit" class="checkbox">
- <input type="checkbox" name="commit" id="commit" ng-model="form.commit">
- Commit
- </label>
-
- <label for="optimize" class="checkbox">
- <input type="checkbox" name="optimize" id="optimize" ng-model="form.optimize">
- Optimize
- </label>
-
- <label for="debug" class="checkbox">
- <input type="checkbox" name="debug" id="debug" ng-model="form.showDebug">
- Debug
- </label>
-
- <label for="entity">
- <a rel="help">Entity</a>
- </label>
- <select ng-model="form.entity" id="entity">
- <option value=""></option>
- <option ng-repeat="entity in entities">{{entity}}</option>
- </select>
-
- <label for="start">
- <a rel="help">Start</a>,
- <a rel="help">Rows</a>
- </label>
- <div class="clearfix">
- <input type="text" id="start" placeholder="0" ng-model="form.start">
- <input type="text" id="rows" placeholder="10" ng-model="form.rows">
- </div>
-
- <label for="custom_parameters">
- <a rel="help">Custom Parameters</a>
- </label>
- <input type="text" id="custom_parameters" ng-model="form.custom" placeholder="key1=val1&key2=val2">
- </form>
- <button class="execute" type="submit" ng-click="submit()">
- <span ng-show="isDebugMode">Execute with this Configuration �?</span>
- <span ng-show="!isDebugMode">Execute</span>
- </button>
- <button class="refresh-status" ng-click="refreshStatus()" ng-class="{loader: isStatusLoading, success: statusUpdated}"><span>Refresh Status</span></button>
-
- <p id="auto-refresh-status"><a ng-click="updateAutoRefresh()" ng-class="{on:autorefresh}">Auto-Refresh Status</a></p>
-
- </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="dataimport" class="clearfix">
+
+ <div ng-show="!hasHandlers">Sorry, no dataimport-handler defined!</div>
+ <div id="frame" ng-show="hasHandlers">
+
+ <div id="error" ng-show="error"></div>
+
+ <div id="current_state" class="{{status}}">
+
+ <p class="last_update">Last Update: <abbr title="{{lastUpdateUTC}}">{{lastUpdate}}</abbr></p>
+ <div class="info">
+
+ <strong>{{info.text}}<span ng-show="info.timeTaken"> (Duration: {{info.timeTaken | readableSeconds }})</span>
+ </strong>
+ <div class="details" ng-show="info.showDetails">
+ <div class="docs">
+ <span ng-repeat="doc in info.docs">
+ <abbr style="display:inline" title="{{ doc.desc }}">{{ doc.name }}</abbr>: {{doc.value | number}}<!-- remove whitespace!
+ --> <span style="display:inline" ng-show="doc.speed">{{ doc.speed | number}}/s</span><!-- remove whitespace!
+ --><span style="display:inline" ng-show="!$last">, </span>
+ </span>
+ </div>
+ <div class="dates">
+ <span ng-repeat="date in info.dates">
+ <abbr title="{{ date.desc }}">{{ date.name }}</abbr>:
+ <abbr class="time">{{ date.value | timeago }}</abbr>
+ </span>
+ </div>
+ </div>
+
+ <button class="abort-import" ng-class="{warn:!isAborting, success: isAborting}" ng-click="abort()" ng-show="isRunning">
+ <span ng-show="isAborting">Aborting Import</span>
+ <span ng-show="!isAborting">Abort Import</span>
+ </button>
+
+ </div>
+
+ </div>
+
+ <div class="block" id="raw_output" >
+
+ <h2>
+ <a class="toggle" ng-click="toggleRawStatus()"><span>Raw Status-Output</span></a>
+ </h2>
+
+ <div class="message-container" ng-show="showRawStatus">
+ <div class="message"></div>
+ </div>
+
+ <div class="content" ng-show="showRawStatus">
+
+ <div id="raw_output_container"><pre class="syntax language-json"><code ng-bind-html="rawStatus | highlight:'json' | unsafe"></code></pre></div>
+
+ </div>
+
+ </div>
+
+ <div class="block" id="config" ng-class="{debug_mode:isDebugMode}">
+
+ <h2 class="clearfix">
+ <a class="toggle" ng-click="toggleConfiguration()"><span>Configuration</span></a>
+ <a class="r reload_config" ng-class="{success:reloaded}" ng-click="reload()" title="Reload Configuration">Reload</a>
+ <a class="r debug_mode" ng-click="toggleDebug()">Debug-Mode</a>
+ </h2>
+
+ <div class="message-container" ng-show="showConfiguration">
+ <div class="message"></div>
+ </div>
+
+ <div class="content" ng-show="showConfiguration">
+ <div id="dataimport_config">
+
+ <div class="formatted" ng-show="!isDebugMode">
+
+ <pre class="syntax language-xml"><code ng-bind-html="config | highlight:'xml'| unsafe"></code></pre>
+
+ </div>
+
+ <div class="editable" ng-show="isDebugMode">
+
+ <textarea ng-model="config"></textarea>
+
+ </div>
+
+ </div>
+
+ </div>
+
+ </div>
+
+ <div class="block" id="debug_response" ng-show="form.showDebug">
+
+ <h2>
+ <a class="toggle" ng-click="toggleRawDebug()"><span>Raw Debug-Response</span></a>
+ </h2>
+
+ <div class="message-container" ng-show="showRawDebug">
+ <div class="message"></div>
+ </div>
+
+ <div class="content" ng-show="showRawDebug">
+ <span ng-hide="rawResponse">
+ <em>No Request executed</em>
+ </span>
+ <span ng-show="rawResponse">
+ <pre class="syntax language-json"><code ng-bind-html="rawResponse | highlight:'json' | unsafe"></code></pre>
+ </span>
+ </div>
+
+ </div>
+
+ </div>
+
+ <div id="form" ng-show="hasHandlers">
+
+ <div id="navigation">
+
+ <ul>
+ <li ng-class="{current: currentHandler == handler}" ng-repeat="handler in handlers">
+ <a href="#/{{form.core}}/dataimport/{{handler}}">{{handler}}</a>
+ </li>
+ </ul>
+
+ </div>
+
+ <form action="#" method="get">
+
+ <label for="command">
+ <a rel="help">Command</a>
+ </label>
+ <select name="command" id="command" ng-model="form.command">
+ <option>full-import</option>
+ <option>delta-import</option>
+ </select>
+
+ <label for="verbose" class="checkbox">
+ <input type="checkbox" name="verbose" id="verbose" ng-model="form.verbose">
+ Verbose
+ </label>
+
+ <label for="clean" class="checkbox">
+ <input type="checkbox" name="clean" id="clean" ng-model="form.clean">
+ Clean
+ </label>
+
+ <label for="commit" class="checkbox">
+ <input type="checkbox" name="commit" id="commit" ng-model="form.commit">
+ Commit
+ </label>
+
+ <label for="optimize" class="checkbox">
+ <input type="checkbox" name="optimize" id="optimize" ng-model="form.optimize">
+ Optimize
+ </label>
+
+ <label for="debug" class="checkbox">
+ <input type="checkbox" name="debug" id="debug" ng-model="form.showDebug">
+ Debug
+ </label>
+
+ <label for="entity">
+ <a rel="help">Entity</a>
+ </label>
+ <select ng-model="form.entity" id="entity">
+ <option value=""></option>
+ <option ng-repeat="entity in entities">{{entity}}</option>
+ </select>
+
+ <label for="start">
+ <a rel="help">Start</a>,
+ <a rel="help">Rows</a>
+ </label>
+ <div class="clearfix">
+ <input type="text" id="start" placeholder="0" ng-model="form.start">
+ <input type="text" id="rows" placeholder="10" ng-model="form.rows">
+ </div>
+
+ <label for="custom_parameters">
+ <a rel="help">Custom Parameters</a>
+ </label>
+ <input type="text" id="custom_parameters" ng-model="form.custom" placeholder="key1=val1&key2=val2">
+ </form>
+ <button class="execute" type="submit" ng-click="submit()">
+ <span ng-show="isDebugMode">Execute with this Configuration �?</span>
+ <span ng-show="!isDebugMode">Execute</span>
+ </button>
+ <button class="refresh-status" ng-click="refreshStatus()" ng-class="{loader: isStatusLoading, success: statusUpdated}"><span>Refresh Status</span></button>
+
+ <p id="auto-refresh-status"><a ng-click="updateAutoRefresh()" ng-class="{on:autorefresh}">Auto-Refresh Status</a></p>
+
+ </div>
+
+</div>
Propchange: ofbiz/trunk/plugins/solr/webapp/solr/partials/dataimport.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: ofbiz/trunk/plugins/solr/webapp/solr/partials/documents.html
URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/solr/webapp/solr/partials/documents.html?rev=1781731&r1=1781730&r2=1781731&view=diff
==============================================================================
--- ofbiz/trunk/plugins/solr/webapp/solr/partials/documents.html (original)
+++ ofbiz/trunk/plugins/solr/webapp/solr/partials/documents.html Sun Feb 5 11:09:59 2017
@@ -1,118 +1,118 @@
-<!--
-/*
-* 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="documents" class="clearfix">
- <div id="form">
- <form>
- <label for="qt">
- <a rel="help">Request-Handler (qt)</a>
- </label>
- <input ng-model="handler" type="text" id="qt" value="/update" title="Request handler in solrconfig.xml.">
- <label for="document-type">
- <a rel="help">Document Type</a>
- </label>
-
- <div><select ng-model="type" id="document-type" ng-change="changeDocumentType()" placeholder="The type of the document field">
- <!-- TODO: support the Builder -->
- <option value="csv">CSV</option>
- <option value="wizard">Document Builder</option>
- <option value="upload">File Upload</option>
- <option value="json">JSON</option>
- <option value="solr">Solr Command (raw XML or JSON)</option>
- <option value="xml">XML</option>
- </select>
- </div>
- <div id="document-container">
- <div id="wizard" ng-show="type=='wizard'">
- <div id="wizard-fields">
- <div><span class="description">Field</span>: <select ng-model="fieldName" id="wiz-field-select" name="wiz-field-select"
- ng-options="field for field in fields"></select>
- </div>
- <div><span id="wiz-field-data"><span class="description">Field Data</span>:</span>
- <textarea ng-model="fieldData"
- id="wizard-doc"
- name="wizard-doc"
- rows="10"
- cols="40"
- placeholder="Enter your field text here and then click 'Add Field' to add the field to the document.">
- </textarea>
- </div>
- </div>
- <div id="wizard-add"><a ng-click="addWizardField()" id="add-field-href"><img border="0" src="./img/ico/plus-button.png"/>Add
- Field</a></div>
- </div>
- <label for="document">
- <a rel="help">Document(s)</a>
- </label>
- <textarea ng-show="type!='upload'" ng-model="document" name="document" id="document" title="The Document" rows="10"
- cols="70" placeholder="{{placeholder}}"></textarea>
-
- <div id="file-upload" ng-show="type=='upload'">
- <input type="file" id="the-file" name="the-file" file-model="fileUpload"/>
- </div>
- </div>
-
- <div id="advanced">
- <!-- TODO: only show for JSON/XML-->
- <div id="attribs">
- <div id="upload-only" ng-show="type=='upload'">
- <label for="erh-params"><!-- TODO: cleaner way to do this? -->
- <a rel="help">Extracting Req. Handler Params</a>
- </label>
- <input ng-model="literalParams" type="text" id="erh-params" value="&literal.id=change.me"
- title="Extracting Request Handler Parameters" size="50">
- </div>
- <div id="general-attribs">
- <label for="commitWithin">
- <a rel="help">Commit Within</a>
- </label>
- <input type="text" ng-model="commitWithin" id="commitWithin" value="1000" title="Commit Within (ms)">
- <label for="overwrite">
- <a rel="help">Overwrite</a>
- </label>
- <input ng-model="overwrite" type="text" id="overwrite" value="true" title="Overwrite">
- </div>
- <!-- Boost is json only, since the XML has it embedded -->
- <div id="json-only" ng-show="type=='json'">
- <label for="boost">
- <a rel="help">Boost</a>
- </label>
- <input ng-model="boost" type="text" id="boost" value="1.0" title="Document Boost">
- </div>
- </div>
- </div>
-
- <button type="submit" ng-click="submit()" id="submit">Submit Document</button>
- </form>
- </div>
- <div id="result">
- <div id="response" ng-show="response">
- <div>
- <span class="description">Status: </span>{{ responseStatus }}
- </div>
- <div>
- <span class="description">Response:</span>
- <pre class="syntax language-json"><code ng-bind-html="response | highlight:'json' | unsafe"></code></pre>
- </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="documents" class="clearfix">
+ <div id="form">
+ <form>
+ <label for="qt">
+ <a rel="help">Request-Handler (qt)</a>
+ </label>
+ <input ng-model="handler" type="text" id="qt" value="/update" title="Request handler in solrconfig.xml.">
+ <label for="document-type">
+ <a rel="help">Document Type</a>
+ </label>
+
+ <div><select ng-model="type" id="document-type" ng-change="changeDocumentType()" placeholder="The type of the document field">
+ <!-- TODO: support the Builder -->
+ <option value="csv">CSV</option>
+ <option value="wizard">Document Builder</option>
+ <option value="upload">File Upload</option>
+ <option value="json">JSON</option>
+ <option value="solr">Solr Command (raw XML or JSON)</option>
+ <option value="xml">XML</option>
+ </select>
+ </div>
+ <div id="document-container">
+ <div id="wizard" ng-show="type=='wizard'">
+ <div id="wizard-fields">
+ <div><span class="description">Field</span>: <select ng-model="fieldName" id="wiz-field-select" name="wiz-field-select"
+ ng-options="field for field in fields"></select>
+ </div>
+ <div><span id="wiz-field-data"><span class="description">Field Data</span>:</span>
+ <textarea ng-model="fieldData"
+ id="wizard-doc"
+ name="wizard-doc"
+ rows="10"
+ cols="40"
+ placeholder="Enter your field text here and then click 'Add Field' to add the field to the document.">
+ </textarea>
+ </div>
+ </div>
+ <div id="wizard-add"><a ng-click="addWizardField()" id="add-field-href"><img border="0" src="./img/ico/plus-button.png"/>Add
+ Field</a></div>
+ </div>
+ <label for="document">
+ <a rel="help">Document(s)</a>
+ </label>
+ <textarea ng-show="type!='upload'" ng-model="document" name="document" id="document" title="The Document" rows="10"
+ cols="70" placeholder="{{placeholder}}"></textarea>
+
+ <div id="file-upload" ng-show="type=='upload'">
+ <input type="file" id="the-file" name="the-file" file-model="fileUpload"/>
+ </div>
+ </div>
+
+ <div id="advanced">
+ <!-- TODO: only show for JSON/XML-->
+ <div id="attribs">
+ <div id="upload-only" ng-show="type=='upload'">
+ <label for="erh-params"><!-- TODO: cleaner way to do this? -->
+ <a rel="help">Extracting Req. Handler Params</a>
+ </label>
+ <input ng-model="literalParams" type="text" id="erh-params" value="&literal.id=change.me"
+ title="Extracting Request Handler Parameters" size="50">
+ </div>
+ <div id="general-attribs">
+ <label for="commitWithin">
+ <a rel="help">Commit Within</a>
+ </label>
+ <input type="text" ng-model="commitWithin" id="commitWithin" value="1000" title="Commit Within (ms)">
+ <label for="overwrite">
+ <a rel="help">Overwrite</a>
+ </label>
+ <input ng-model="overwrite" type="text" id="overwrite" value="true" title="Overwrite">
+ </div>
+ <!-- Boost is json only, since the XML has it embedded -->
+ <div id="json-only" ng-show="type=='json'">
+ <label for="boost">
+ <a rel="help">Boost</a>
+ </label>
+ <input ng-model="boost" type="text" id="boost" value="1.0" title="Document Boost">
+ </div>
+ </div>
+ </div>
+
+ <button type="submit" ng-click="submit()" id="submit">Submit Document</button>
+ </form>
+ </div>
+ <div id="result">
+ <div id="response" ng-show="response">
+ <div>
+ <span class="description">Status: </span>{{ responseStatus }}
+ </div>
+ <div>
+ <span class="description">Response:</span>
+ <pre class="syntax language-json"><code ng-bind-html="response | highlight:'json' | unsafe"></code></pre>
+ </div>
+ </div>
+
+ </div>
+</div>
+
+
Propchange: ofbiz/trunk/plugins/solr/webapp/solr/partials/documents.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: ofbiz/trunk/plugins/solr/webapp/solr/partials/files.html
URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/solr/webapp/solr/partials/files.html?rev=1781731&r1=1781730&r2=1781731&view=diff
==============================================================================
--- ofbiz/trunk/plugins/solr/webapp/solr/partials/files.html (original)
+++ ofbiz/trunk/plugins/solr/webapp/solr/partials/files.html Sun Feb 5 11:09:59 2017
@@ -1,47 +1,47 @@
-<!--
-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="files" class="clearfix">
-
- <div id="frame">
-
- <div id="tree-holder">
-
- <jstree class="tree" on-select="showTreeLink(data)" data="tree" id="tree"></jstree>
-
- </div>
- <div id="file-content" class="clearfix">
-
- <div class="top clearfix">
-
- <a id="url" class="address-bar" href="{{url}}" ng-show="url">{{url}}</a>
-
- </div>
-
- <div class="view-file">
-
- <div class="response" ng-show="content">
- <pre class="syntax language-{{lang}}"><code ng-bind-html="content | highlight:lang | unsafe"></code></pre>
- </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="files" class="clearfix">
+
+ <div id="frame">
+
+ <div id="tree-holder">
+
+ <jstree class="tree" on-select="showTreeLink(data)" data="tree" id="tree"></jstree>
+
+ </div>
+ <div id="file-content" class="clearfix">
+
+ <div class="top clearfix">
+
+ <a id="url" class="address-bar" href="{{url}}" ng-show="url">{{url}}</a>
+
+ </div>
+
+ <div class="view-file">
+
+ <div class="response" ng-show="content">
+ <pre class="syntax language-{{lang}}"><code ng-bind-html="content | highlight:lang | unsafe"></code></pre>
+ </div>
+
+
+ </div>
+
+ </div>
+
+ </div>
+
+</div>
Propchange: ofbiz/trunk/plugins/solr/webapp/solr/partials/files.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: ofbiz/trunk/plugins/solr/webapp/solr/partials/index.html
URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/solr/webapp/solr/partials/index.html?rev=1781731&r1=1781730&r2=1781731&view=diff
==============================================================================
--- ofbiz/trunk/plugins/solr/webapp/solr/partials/index.html (original)
+++ ofbiz/trunk/plugins/solr/webapp/solr/partials/index.html Sun Feb 5 11:09:59 2017
@@ -1,261 +1,261 @@
-<!--
-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="index" class="clearfix">
-
- <div class="clearfix">
-
- <div class="index-left">
-
- <div class="block" id="instance">
-
- <h2><span>Instance</span></h2>
-
- <div class="content">
-
- <ul class="data" ngShow="system">
-
- <li class="start_time"><dl class="clearfix">
- <dt><span>Start</span></dt>
- <dd class="timeago">{{system.jvm.jmx.startTime | timeago}}</dd>
- </dl></li>
-
-<!--
- <li class="host"><dl class="clearfix">
- <dt><span>Host</span></dt>
- <dd></dd>
- </dl></li>
-
- <li class="dir dir_cwd"><dl class="clearfix">
- <dt><span>CWD</span></dt>
- <dd></dd>
- </dl></li>
-
- <li class="dir dir_instance"><dl class="clearfix">
- <dt><span>Instance</span></dt>
- <dd></dd>
- </dl></li>
-
- <li class="dir dir_data"><dl class="clearfix">
- <dt><span>Data</span></dt>
- <dd></dd>
- </dl></li>
-
- <li class="dir dir_index"><dl class="clearfix">
- <dt><span>Index</span></dt>
- <dd></dd>
- </dl></li>
--->
- </ul>
-
- </div>
-
- </div>
-
- <div class="block" id="versions">
-
- <h2><span>Versions</span></h2>
-
- <div class="content">
-
- <ul class="data">
-
- <li class="solr solr_spec_version"><dl class="clearfix">
- <dt><span>solr-spec</span></dt>
- <dd>{{system.lucene["solr-spec-version"]}}</dd>
- </dl></li>
-
- <li class="solr_impl_version"><dl class="clearfix">
- <dt class=""><span>solr-impl</span></dt>
- <dd>{{system.lucene["solr-impl-version"]}}</dd>
- </dl></li>
-
- <li class="lucene lucene_spec_version"><dl class="clearfix">
- <dt><span>lucene-spec</span></dt>
- <dd>{{system.lucene["lucene-spec-version"]}}</dd>
- </dl></li>
-
- <li class="lucene_impl_version"><dl class="clearfix">
- <dt><span>lucene-impl</span></dt>
- <dd>{{system.lucene["lucene-impl-version"]}}</dd>
- </dl></li>
-
- </ul>
-
- </div>
-
- </div>
-
- </div>
-
- <div class="index-right">
-
- <div class="block" id="system">
-
- <h2><span>System</span>
- <small class="bar-desc">{{load_average[0]}} {{load_average[1]}} {{load_average[2]}}</small>
- </h2>
- <a class="reload" ng-click="reload()"><span>reload</span></a>
-
- <div class="content">
-
- <div id="physical-memory-bar" ng-show="system.system.totalPhysicalMemorySize && system.system.freePhysicalMemorySize">
-
- <p data-desc="physical-memory-bar">Physical Memory
- <small class="bar-desc">{{memoryPercentage}}</small>
- </p>
- <div class="bar-holder bar-lvl-2">
-
- <div class="bar-max bar">
- <span class="bar-max val">{{memoryMax}}</span>
-
- <div class="bar-total bar" ng-style="{width:memoryPercentage}">
- <span class="bar-total val" title="raw: {{memoryTotal}}B">{{memoryTotalDisplay}}</span>
-
- </div>
-
- </div>
-
- </div>
-
- </div>
-
- <div id="swap-space-bar" ng-show="system.system.totalSwapSpaceSize && system.system.freeSwapSpaceSize">
-
- <p data-desc="swap-space-bar">Swap Space
- <small class="bar-desc">{{swapPercentage}}</small>
- </p>
- <div class="bar-holder bar-lvl-2">
-
- <div class="bar-max bar">
- <span class="bar-max val">{{swapMax}}</span>
-
- <div class="bar-total bar" ng-style="{width:swapPercentage}">
- <span class="bar-total val" title="raw:{{swapTotal}}B">{{swapTotalDisplay}}</span>
-
- </div>
-
- </div>
-
- </div>
-
- </div>
-
- <div id="file-descriptor-bar" ng-show="system.system.maxFileDescriptorCount && system.system.openFileDescriptorCount">
-
- <p data-desc="file-descriptor-bar">File Descriptor Count
- <small class="bar-desc">{{fileDescriptorPercentage}}</small>
- </p>
- <div class="bar-holder bar-lvl-2">
-
- <div class="bar-max bar">
- <span class="bar-max val">{{system.system.maxFileDescriptorCount}}</span>
-
- <div class="bar-total bar" ng-style="{width:fileDescriptorPercentage}">
- <span class="bar-total val">{{system.system.openFileDescriptorCount}}</span>
-
- </div>
-
- </div>
-
- </div>
-
- </div>
-
- <p class="no-info" ng-show="noInfo">Sorry, no information available</p>
-
- </div>
-
- </div>
-
- </div>
-
- </div>
-
- <div class="clearfix">
-
- <div class="index-left">
-
- <div class="block" id="jvm">
-
- <h2><span>JVM</span></h2>
-
- <div class="content clearfix">
-
- <ul class="data">
-
- <li class="jvm_version"><dl class="clearfix">
- <dt><span>Runtime</span></dt>
- <dd>{{system.jvm.name}} {{system.jvm.version}}</dd>
- </dl></li>
-
- <li class="processors"><dl class="clearfix">
- <dt><span>Processors</span></dt>
- <dd>{{system.jvm.processors}}</dd>
- </dl></li>
-
- <li class="command_line_args"><dl class="clearfix">
- <dt><span>Args</span></dt>
- <dd ng-repeat="arg in commandLineArgs" ng-class="{'odd':$odd}">{{arg}}</dd>
- </dl></li>
-
- </ul>
-
- </div>
-
- </div>
-
- </div>
- <div class="index-right">
-
- <div class="block" id="jvm-memory">
-
- <h2><span data-desc="jvm-memory-bar">JVM-Memory
- <small class="bar-desc">{{javaMemoryPercentage}}</small>
- </span></h2>
-
- <div class="content">
-
- <div id="jvm-memory-bar">
- <div class="bar-holder bar-lvl-3">
-
- <div class="bar-max bar">
- <span class="bar-max val" title="raw: {{javaMemoryMax}}">{{javaMemoryMax}}</span>
-
- <div class="bar-total bar" ng-style="{width: javaMemoryTotalPercentage}">
- <span class="bar-total val" title="raw: {{javaMemoryTotal}}B">{{javaMemoryTotalDisplay}}</span>
-
- <div class="bar-used bar" ng-style="{width: javaMemoryUsedPercentage}">
- <span class="bar-used val" title="raw: {{javaMemoryUsed}}B">{{javaMemoryUsedDisplay}}</span>
-
- </div>
-
- </div>
-
- </div>
-
- </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="index" class="clearfix">
+
+ <div class="clearfix">
+
+ <div class="index-left">
+
+ <div class="block" id="instance">
+
+ <h2><span>Instance</span></h2>
+
+ <div class="content">
+
+ <ul class="data" ngShow="system">
+
+ <li class="start_time"><dl class="clearfix">
+ <dt><span>Start</span></dt>
+ <dd class="timeago">{{system.jvm.jmx.startTime | timeago}}</dd>
+ </dl></li>
+
+<!--
+ <li class="host"><dl class="clearfix">
+ <dt><span>Host</span></dt>
+ <dd></dd>
+ </dl></li>
+
+ <li class="dir dir_cwd"><dl class="clearfix">
+ <dt><span>CWD</span></dt>
+ <dd></dd>
+ </dl></li>
+
+ <li class="dir dir_instance"><dl class="clearfix">
+ <dt><span>Instance</span></dt>
+ <dd></dd>
+ </dl></li>
+
+ <li class="dir dir_data"><dl class="clearfix">
+ <dt><span>Data</span></dt>
+ <dd></dd>
+ </dl></li>
+
+ <li class="dir dir_index"><dl class="clearfix">
+ <dt><span>Index</span></dt>
+ <dd></dd>
+ </dl></li>
+-->
+ </ul>
+
+ </div>
+
+ </div>
+
+ <div class="block" id="versions">
+
+ <h2><span>Versions</span></h2>
+
+ <div class="content">
+
+ <ul class="data">
+
+ <li class="solr solr_spec_version"><dl class="clearfix">
+ <dt><span>solr-spec</span></dt>
+ <dd>{{system.lucene["solr-spec-version"]}}</dd>
+ </dl></li>
+
+ <li class="solr_impl_version"><dl class="clearfix">
+ <dt class=""><span>solr-impl</span></dt>
+ <dd>{{system.lucene["solr-impl-version"]}}</dd>
+ </dl></li>
+
+ <li class="lucene lucene_spec_version"><dl class="clearfix">
+ <dt><span>lucene-spec</span></dt>
+ <dd>{{system.lucene["lucene-spec-version"]}}</dd>
+ </dl></li>
+
+ <li class="lucene_impl_version"><dl class="clearfix">
+ <dt><span>lucene-impl</span></dt>
+ <dd>{{system.lucene["lucene-impl-version"]}}</dd>
+ </dl></li>
+
+ </ul>
+
+ </div>
+
+ </div>
+
+ </div>
+
+ <div class="index-right">
+
+ <div class="block" id="system">
+
+ <h2><span>System</span>
+ <small class="bar-desc">{{load_average[0]}} {{load_average[1]}} {{load_average[2]}}</small>
+ </h2>
+ <a class="reload" ng-click="reload()"><span>reload</span></a>
+
+ <div class="content">
+
+ <div id="physical-memory-bar" ng-show="system.system.totalPhysicalMemorySize && system.system.freePhysicalMemorySize">
+
+ <p data-desc="physical-memory-bar">Physical Memory
+ <small class="bar-desc">{{memoryPercentage}}</small>
+ </p>
+ <div class="bar-holder bar-lvl-2">
+
+ <div class="bar-max bar">
+ <span class="bar-max val">{{memoryMax}}</span>
+
+ <div class="bar-total bar" ng-style="{width:memoryPercentage}">
+ <span class="bar-total val" title="raw: {{memoryTotal}}B">{{memoryTotalDisplay}}</span>
+
+ </div>
+
+ </div>
+
+ </div>
+
+ </div>
+
+ <div id="swap-space-bar" ng-show="system.system.totalSwapSpaceSize && system.system.freeSwapSpaceSize">
+
+ <p data-desc="swap-space-bar">Swap Space
+ <small class="bar-desc">{{swapPercentage}}</small>
+ </p>
+ <div class="bar-holder bar-lvl-2">
+
+ <div class="bar-max bar">
+ <span class="bar-max val">{{swapMax}}</span>
+
+ <div class="bar-total bar" ng-style="{width:swapPercentage}">
+ <span class="bar-total val" title="raw:{{swapTotal}}B">{{swapTotalDisplay}}</span>
+
+ </div>
+
+ </div>
+
+ </div>
+
+ </div>
+
+ <div id="file-descriptor-bar" ng-show="system.system.maxFileDescriptorCount && system.system.openFileDescriptorCount">
+
+ <p data-desc="file-descriptor-bar">File Descriptor Count
+ <small class="bar-desc">{{fileDescriptorPercentage}}</small>
+ </p>
+ <div class="bar-holder bar-lvl-2">
+
+ <div class="bar-max bar">
+ <span class="bar-max val">{{system.system.maxFileDescriptorCount}}</span>
+
+ <div class="bar-total bar" ng-style="{width:fileDescriptorPercentage}">
+ <span class="bar-total val">{{system.system.openFileDescriptorCount}}</span>
+
+ </div>
+
+ </div>
+
+ </div>
+
+ </div>
+
+ <p class="no-info" ng-show="noInfo">Sorry, no information available</p>
+
+ </div>
+
+ </div>
+
+ </div>
+
+ </div>
+
+ <div class="clearfix">
+
+ <div class="index-left">
+
+ <div class="block" id="jvm">
+
+ <h2><span>JVM</span></h2>
+
+ <div class="content clearfix">
+
+ <ul class="data">
+
+ <li class="jvm_version"><dl class="clearfix">
+ <dt><span>Runtime</span></dt>
+ <dd>{{system.jvm.name}} {{system.jvm.version}}</dd>
+ </dl></li>
+
+ <li class="processors"><dl class="clearfix">
+ <dt><span>Processors</span></dt>
+ <dd>{{system.jvm.processors}}</dd>
+ </dl></li>
+
+ <li class="command_line_args"><dl class="clearfix">
+ <dt><span>Args</span></dt>
+ <dd ng-repeat="arg in commandLineArgs" ng-class="{'odd':$odd}">{{arg}}</dd>
+ </dl></li>
+
+ </ul>
+
+ </div>
+
+ </div>
+
+ </div>
+ <div class="index-right">
+
+ <div class="block" id="jvm-memory">
+
+ <h2><span data-desc="jvm-memory-bar">JVM-Memory
+ <small class="bar-desc">{{javaMemoryPercentage}}</small>
+ </span></h2>
+
+ <div class="content">
+
+ <div id="jvm-memory-bar">
+ <div class="bar-holder bar-lvl-3">
+
+ <div class="bar-max bar">
+ <span class="bar-max val" title="raw: {{javaMemoryMax}}">{{javaMemoryMax}}</span>
+
+ <div class="bar-total bar" ng-style="{width: javaMemoryTotalPercentage}">
+ <span class="bar-total val" title="raw: {{javaMemoryTotal}}B">{{javaMemoryTotalDisplay}}</span>
+
+ <div class="bar-used bar" ng-style="{width: javaMemoryUsedPercentage}">
+ <span class="bar-used val" title="raw: {{javaMemoryUsed}}B">{{javaMemoryUsedDisplay}}</span>
+
+ </div>
+
+ </div>
+
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </div>
+
+ </div>
+
+</div>
Propchange: ofbiz/trunk/plugins/solr/webapp/solr/partials/index.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: ofbiz/trunk/plugins/solr/webapp/solr/partials/java-properties.html
URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/solr/webapp/solr/partials/java-properties.html?rev=1781731&r1=1781730&r2=1781731&view=diff
==============================================================================
--- ofbiz/trunk/plugins/solr/webapp/solr/partials/java-properties.html (original)
+++ ofbiz/trunk/plugins/solr/webapp/solr/partials/java-properties.html Sun Feb 5 11:09:59 2017
@@ -1,27 +1,27 @@
-<!--
-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="java-properties">
- <ul>
- <li ng-class="{odd:$odd}" ng-repeat="prop in props | orderObjectBy:'name'">
- <dl class="clearfix">
- <dt ng-bind-html="prop.name | unsafe"></dt>
- <dd ng-class="{odd:$odd, multi:props.length>1}" ng-repeat="value in prop.values">{{value.value}}</dd>
- </dl>
- </li>
- </ul>
- </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="java-properties">
+ <ul>
+ <li ng-class="{odd:$odd}" ng-repeat="prop in props | orderObjectBy:'name'">
+ <dl class="clearfix">
+ <dt ng-bind-html="prop.name | unsafe"></dt>
+ <dd ng-class="{odd:$odd, multi:props.length>1}" ng-repeat="value in prop.values">{{value.value}}</dd>
+ </dl>
+ </li>
+ </ul>
+ </div>
+
Propchange: ofbiz/trunk/plugins/solr/webapp/solr/partials/java-properties.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: ofbiz/trunk/plugins/solr/webapp/solr/partials/logging-levels.html
URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/solr/webapp/solr/partials/logging-levels.html?rev=1781731&r1=1781730&r2=1781731&view=diff
==============================================================================
--- ofbiz/trunk/plugins/solr/webapp/solr/partials/logging-levels.html (original)
+++ ofbiz/trunk/plugins/solr/webapp/solr/partials/logging-levels.html Sun Feb 5 11:09:59 2017
@@ -1,56 +1,56 @@
-<!--
-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="logging" class="clearfix">
-
-
- <div id="frame">
-
- <div class="block">
- <h2><span>{{watcher}}</span></h2>
- <ul class="tree jstree">
- <li class="jstree-leaf level-{{logger.level.toLowerCase()}}" ng-class="{'jstree-last':$last}" ng-repeat="logger in logging" ng-include="'logger.html'"></li>
- </ul>
- </div>
- </div>
-</div>
-
- <script type="text/ng-template" id="logger.html">
- <ins class="trigger jstree-icon"> </ins>
- <a ng-click="toggleOptions(logger)" class="trigger {{logger.level.toLowerCase() }}" ng-class="{null:!logger.level, set: logger.set}" title="{{ logger.name }}" rel="{{logger.level}}">
- <span class="ns">{{logger.name}}</span>
- <span class="name" ng-show="logger.short">{{ logger.short }}</span>
- <span class="name" ng-show="!logger.short"><em>empty</em></span>
- </a>
-
- <div class="selector-holder" ng-class="{open:logger.showOptions}">
- <div class="selector">
- <a class="trigger" ng-click="toggleOptions(logger)"><span><em>{{logger.level || "null"}}</em></span></a>
- <div ng-show="logger.showOptions">
- <ul>
- <li ng-repeat="level in levels track by level.pos">
- <a ng-click="setLevel(logger, level.name)">{{level.name}}</a>
- </li>
- <li class="unset"><a ng-click="setLevel(logger, 'unset')">UNSET</a></li>
- </ul>
- <a class="close" ng-click="toggleOptions(logger)"><span>[x]</span></a>
- </div>
- </div>
- </div>
- <ul>
- <li class="jstree-leaf level-{{logger.level.toLowerCase()}}" ng-class="{'jstree-last':$last}" ng-repeat="logger in logger.children" ng-include="'logger.html'"></li>
- </ul>
- </script>
+<!--
+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="logging" class="clearfix">
+
+
+ <div id="frame">
+
+ <div class="block">
+ <h2><span>{{watcher}}</span></h2>
+ <ul class="tree jstree">
+ <li class="jstree-leaf level-{{logger.level.toLowerCase()}}" ng-class="{'jstree-last':$last}" ng-repeat="logger in logging" ng-include="'logger.html'"></li>
+ </ul>
+ </div>
+ </div>
+</div>
+
+ <script type="text/ng-template" id="logger.html">
+ <ins class="trigger jstree-icon"> </ins>
+ <a ng-click="toggleOptions(logger)" class="trigger {{logger.level.toLowerCase() }}" ng-class="{null:!logger.level, set: logger.set}" title="{{ logger.name }}" rel="{{logger.level}}">
+ <span class="ns">{{logger.name}}</span>
+ <span class="name" ng-show="logger.short">{{ logger.short }}</span>
+ <span class="name" ng-show="!logger.short"><em>empty</em></span>
+ </a>
+
+ <div class="selector-holder" ng-class="{open:logger.showOptions}">
+ <div class="selector">
+ <a class="trigger" ng-click="toggleOptions(logger)"><span><em>{{logger.level || "null"}}</em></span></a>
+ <div ng-show="logger.showOptions">
+ <ul>
+ <li ng-repeat="level in levels track by level.pos">
+ <a ng-click="setLevel(logger, level.name)">{{level.name}}</a>
+ </li>
+ <li class="unset"><a ng-click="setLevel(logger, 'unset')">UNSET</a></li>
+ </ul>
+ <a class="close" ng-click="toggleOptions(logger)"><span>[x]</span></a>
+ </div>
+ </div>
+ </div>
+ <ul>
+ <li class="jstree-leaf level-{{logger.level.toLowerCase()}}" ng-class="{'jstree-last':$last}" ng-repeat="logger in logger.children" ng-include="'logger.html'"></li>
+ </ul>
+ </script>
Propchange: ofbiz/trunk/plugins/solr/webapp/solr/partials/logging-levels.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: ofbiz/trunk/plugins/solr/webapp/solr/partials/logging.html
URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/solr/webapp/solr/partials/logging.html?rev=1781731&r1=1781730&r2=1781731&view=diff
==============================================================================
--- ofbiz/trunk/plugins/solr/webapp/solr/partials/logging.html (original)
+++ ofbiz/trunk/plugins/solr/webapp/solr/partials/logging.html Sun Feb 5 11:09:59 2017
@@ -1,56 +1,56 @@
-<!--
-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="logging" class="clearfix">
-
- <div id="viewer">
- <div class="block">
- <h2><span>{{watcher}}</span></h2>
- </div>
- <table class="has-data" border="0" cellpadding="0" cellspacing="0">
- <thead>
- <tr>
- <th class="time">Time (<span>{{timezone}}</span>)</th>
- <th class="level">Level</th>
- <th class="core">Core</th>
- <th class="logger">Logger</th>
- <th class="message">Message</th>
- </tr>
- </thead>
- <tbody ng-repeat="event in events">
- <tr ng-click="toggleRow(event)" class="{{event.trace ? 'has-trace': ''}} {{'level-'+event.level.toLowerCase()}}">
- <td class="span"><a><span>{{ timezone == "UTC" ? event.utc_time : event.local_time }}</span></a></td>
- <td class="level span"><a><span>{{ event.level }} {{event.showTrace}}</span></span></a></td>
- <td class="span"><a><span>{{ event.core }}</span></a></td>
- <td class="span"><a><span><abbr title="{{event.logger}}">{{event.loggerBase}}</abbr></span></a></td>
- <td class="message span"><a><span>{{ event.message }}</span></a></td>
- </tr>
- <tr class="trace" ng-show="event.showTrace && event.trace">
- <td colspan="4"><pre>{{event.trace}}</pre></td>
- </tr>
- </tbody>
- <tfoot>
- <tr ng-show="events.length==0">
- <td colspan="4">No Events available</td>
- </tr>
- </thead>
- </table>
- <div id="footer" class="clearfix">
- <div id="state" class="loader">Last Check: {{sinceDisplay}}</div>
- <div id="date-format" ng-click="toggleTimezone()"><a ng-class="{on: timezone=='UTC'}">Show dates in UTC</a></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="logging" class="clearfix">
+
+ <div id="viewer">
+ <div class="block">
+ <h2><span>{{watcher}}</span></h2>
+ </div>
+ <table class="has-data" border="0" cellpadding="0" cellspacing="0">
+ <thead>
+ <tr>
+ <th class="time">Time (<span>{{timezone}}</span>)</th>
+ <th class="level">Level</th>
+ <th class="core">Core</th>
+ <th class="logger">Logger</th>
+ <th class="message">Message</th>
+ </tr>
+ </thead>
+ <tbody ng-repeat="event in events">
+ <tr ng-click="toggleRow(event)" class="{{event.trace ? 'has-trace': ''}} {{'level-'+event.level.toLowerCase()}}">
+ <td class="span"><a><span>{{ timezone == "UTC" ? event.utc_time : event.local_time }}</span></a></td>
+ <td class="level span"><a><span>{{ event.level }} {{event.showTrace}}</span></span></a></td>
+ <td class="span"><a><span>{{ event.core }}</span></a></td>
+ <td class="span"><a><span><abbr title="{{event.logger}}">{{event.loggerBase}}</abbr></span></a></td>
+ <td class="message span"><a><span>{{ event.message }}</span></a></td>
+ </tr>
+ <tr class="trace" ng-show="event.showTrace && event.trace">
+ <td colspan="4"><pre>{{event.trace}}</pre></td>
+ </tr>
+ </tbody>
+ <tfoot>
+ <tr ng-show="events.length==0">
+ <td colspan="4">No Events available</td>
+ </tr>
+ </thead>
+ </table>
+ <div id="footer" class="clearfix">
+ <div id="state" class="loader">Last Check: {{sinceDisplay}}</div>
+ <div id="date-format" ng-click="toggleTimezone()"><a ng-class="{on: timezone=='UTC'}">Show dates in UTC</a></div>
+ </div>
+ </div>
+</div>
Propchange: ofbiz/trunk/plugins/solr/webapp/solr/partials/logging.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: ofbiz/trunk/plugins/solr/webapp/solr/partials/plugins.html
URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/solr/webapp/solr/partials/plugins.html?rev=1781731&r1=1781730&r2=1781731&view=diff
==============================================================================
--- ofbiz/trunk/plugins/solr/webapp/solr/partials/plugins.html (original)
+++ ofbiz/trunk/plugins/solr/webapp/solr/partials/plugins.html Sun Feb 5 11:09:59 2017
@@ -1,72 +1,72 @@
-<!--
-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="plugins" class="clearfix">
-
- <div id="frame">
- <ul>
- <li class="entry" ng-class="{changed: plugin.changed}" ng-repeat="plugin in type.plugins">
- <a ng-click="selectPlugin(plugin)">
- <span>{{ plugin.name }}</span>
- </a>
- <ul class="detail" ng-show="plugin.open">
- <li ng-repeat="(key, value) in plugin.properties" ng-class="{odd: $odd}">
- <dl class="clearfix">
- <dt>{{ key }}:</dt>
- <!--<dd ng-repeat="v in value">{{v}}</dd><!-- is AN ARRAY!!-->
- <dd>{{value}}</dd>
- </dl>
- </li>
- <li class="stats clearfix" ng-show="plugin.stats">
- <span>stats:</span>
- <ul>
- <li ng-repeat="(key, value) in plugin.stats" ng-class="{odd: $odd}">
- <dl class="clearfix">
- <dt>{{key}}:</dt>
- <dd>{{value}}</dd>
- </dl>
- </li>
- </ul>
- </li>
- </ul>
- </ul>
- </div>
-
- <div id="navigation" class="clearfix">
-
- <ul>
- <li ng-repeat="type in types" class="{{type.lower}}">
- <a ng-click="selectPluginType(type)" rel="{{type.name}}">{{type.name}}
- <span ng-show="type.changes">{{type.changes}}</span>
- </a>
- </li>
- <li class="PLUGINCHANGES"><a ng-click="startRecording()">Watch Changes</a></li>
- <li class="RELOAD"><a ng-click="refresh()">Refresh Values</a></li>
- </ul>
-
- </div>
-
- <div id="recording" ng-show="isRecording">
- <div class="wrapper clearfix">
-
- <p class="loader">Watching for Changes</p>
- <button class="primary" ng-click="stopRecording()">Stop & Show Changes</button>
-
- </div>
- <div id="blockUI"></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="plugins" class="clearfix">
+
+ <div id="frame">
+ <ul>
+ <li class="entry" ng-class="{changed: plugin.changed}" ng-repeat="plugin in type.plugins">
+ <a ng-click="selectPlugin(plugin)">
+ <span>{{ plugin.name }}</span>
+ </a>
+ <ul class="detail" ng-show="plugin.open">
+ <li ng-repeat="(key, value) in plugin.properties" ng-class="{odd: $odd}">
+ <dl class="clearfix">
+ <dt>{{ key }}:</dt>
+ <!--<dd ng-repeat="v in value">{{v}}</dd><!-- is AN ARRAY!!-->
+ <dd>{{value}}</dd>
+ </dl>
+ </li>
+ <li class="stats clearfix" ng-show="plugin.stats">
+ <span>stats:</span>
+ <ul>
+ <li ng-repeat="(key, value) in plugin.stats" ng-class="{odd: $odd}">
+ <dl class="clearfix">
+ <dt>{{key}}:</dt>
+ <dd>{{value}}</dd>
+ </dl>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </ul>
+ </div>
+
+ <div id="navigation" class="clearfix">
+
+ <ul>
+ <li ng-repeat="type in types" class="{{type.lower}}">
+ <a ng-click="selectPluginType(type)" rel="{{type.name}}">{{type.name}}
+ <span ng-show="type.changes">{{type.changes}}</span>
+ </a>
+ </li>
+ <li class="PLUGINCHANGES"><a ng-click="startRecording()">Watch Changes</a></li>
+ <li class="RELOAD"><a ng-click="refresh()">Refresh Values</a></li>
+ </ul>
+
+ </div>
+
+ <div id="recording" ng-show="isRecording">
+ <div class="wrapper clearfix">
+
+ <p class="loader">Watching for Changes</p>
+ <button class="primary" ng-click="stopRecording()">Stop & Show Changes</button>
+
+ </div>
+ <div id="blockUI"></div>
+ </div>
+
+</div>
Propchange: ofbiz/trunk/plugins/solr/webapp/solr/partials/plugins.html
------------------------------------------------------------------------------
svn:eol-style = native