You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ry...@apache.org on 2012/03/13 17:43:48 UTC

svn commit: r1300232 [9/14] - in /lucene/dev/branches/lucene3795_lsp_spatial_module: ./ dev-tools/eclipse/ dev-tools/maven/ dev-tools/maven/lucene/contrib/demo/ dev-tools/maven/solr/contrib/clustering/ dev-tools/maven/solr/contrib/dataimporthandler/ de...

Modified: lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/css/styles/replication.css
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/css/styles/replication.css?rev=1300232&r1=1300231&r2=1300232&view=diff
==============================================================================
--- lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/css/styles/replication.css (original)
+++ lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/css/styles/replication.css Tue Mar 13 16:43:38 2012
@@ -1,164 +1,164 @@
 #content #replication
 {
-    background-image: url( ../../img/div.gif );
-    background-position: 21% 0;
-    background-repeat: repeat-y;
+  background-image: url( ../../img/div.gif );
+  background-position: 21% 0;
+  background-repeat: repeat-y;
 }
 
 #content #replication #frame
 {
-    float: right;
-    width: 78%;
+  float: right;
+  width: 78%;
 }
 
 #content #replication #navigation
 {
-    float: left;
-    width: 20%;
+  float: left;
+  width: 20%;
 }
 
 #content #replication #error
 {
-    background-color: #f00;
-    background-image: url( ../../img/ico/construction.png );
-    background-position: 10px 50%;
-    color: #fff;
-    display: none;
-    font-weight: bold;
-    margin-bottom: 20px;
-    padding: 10px;
-    padding-left: 35px;
+  background-color: #f00;
+  background-image: url( ../../img/ico/construction.png );
+  background-position: 10px 50%;
+  color: #fff;
+  display: none;
+  font-weight: bold;
+  margin-bottom: 20px;
+  padding: 10px;
+  padding-left: 35px;
 }
 
 #content #replication .block
 {
-    border-bottom: 1px solid #c0c0c0;
-    margin-bottom: 20px;
-    padding-bottom: 20px;
+  border-bottom: 1px solid #c0c0c0;
+  margin-bottom: 20px;
+  padding-bottom: 20px;
 }
 
 #content #replication .block.last
 {
-    border-bottom: 0;
+  border-bottom: 0;
 }
 
 #content #replication .masterOnly,
 #content #replication .slaveOnly
 {
-    display: none;
+  display: none;
 }
 
 #content #replication.master .masterOnly
 {
-    display: block;
+  display: block;
 }
 
 #content #replication.slave .slaveOnly
 {
-    display: block;
+  display: block;
 }
 
 #content #replication .replicating
 {
-    display: none;
+  display: none;
 }
 
 #content #replication.replicating .replicating
 {
-    display: block;
+  display: block;
 }
 
 #content #replication #progress
 {
-    padding-bottom: 80px;
-    position: relative;
+  padding-bottom: 80px;
+  position: relative;
 }
 
 #content #replication #progress .info
 {
-    padding: 5px;
+  padding: 5px;
 }
 
 #content #replication #progress #start
 {
-    margin-left: 100px;
-    border-left: 1px solid #c0c0c0;
+  margin-left: 100px;
+  border-left: 1px solid #c0c0c0;
 }
 
 #content #replication #progress #bar
 {
-    background-color: #f0f0f0;
-    margin-left: 100px;
-    margin-right: 100px;
-    position: relative;
+  background-color: #f0f0f0;
+  margin-left: 100px;
+  margin-right: 100px;
+  position: relative;
 }
 
 #content #replication #progress #bar #bar-info,
 #content #replication #progress #bar #eta
 {
-    position: absolute;
-    right: -100px;
-    width: 100px;
+  position: absolute;
+  right: -100px;
+  width: 100px;
 }
 
 #content #replication #progress #bar #bar-info
 {
-    border-left: 1px solid #f0f0f0;
-    margin-top: 30px;
+  border-left: 1px solid #f0f0f0;
+  margin-top: 30px;
 }
 
 #content #replication #progress #eta .info
 {
-    color: #c0c0c0;
-    height: 30px;
-    line-height: 30px;
-    padding-top: 0;
-    padding-bottom: 0;
+  color: #c0c0c0;
+  height: 30px;
+  line-height: 30px;
+  padding-top: 0;
+  padding-bottom: 0;
 }
 
 #content #replication #progress #speed
 {
-    color: #c0c0c0;
-    position: absolute;
-    right: 100px;
-    top: 0;
+  color: #c0c0c0;
+  position: absolute;
+  right: 100px;
+  top: 0;
 }
 
 #content #replication #progress #bar #done
 {
-    background-color: #c0c0c0;
-    box-shadow: 5px 5px 10px #c0c0c0;
-    -moz-box-shadow: 5px 5px 10px #c0c0c0;
-    -webkit-box-shadow: 5px 5px 10px #c0c0c0;
-    height: 30px;
-    position: relative;
+  background-color: #c0c0c0;
+  box-shadow: 5px 5px 10px #c0c0c0;
+  -moz-box-shadow: 5px 5px 10px #c0c0c0;
+  -webkit-box-shadow: 5px 5px 10px #c0c0c0;
+  height: 30px;
+  position: relative;
 }
 
 #content #replication #progress #bar #done .percent
 {
-    font-weight: bold;
-    height: 30px;
-    line-height: 30px;
-    padding-left: 5px;
-    padding-right: 5px;
-    position: absolute;
-    right: 0;
-    text-align: right;
+  font-weight: bold;
+  height: 30px;
+  line-height: 30px;
+  padding-left: 5px;
+  padding-right: 5px;
+  position: absolute;
+  right: 0;
+  text-align: right;
 }
 
 #content #replication #progress #bar #done #done-info
 {
-    border-right: 1px solid #c0c0c0;
-    position: absolute;
-    right: 0;
-    margin-top: 30px;
-    text-align: right;
-    width: 100px;
+  border-right: 1px solid #c0c0c0;
+  position: absolute;
+  right: 0;
+  margin-top: 30px;
+  text-align: right;
+  width: 100px;
 }
 
 #content #replication #progress #bar #done #done-info .percent
 {
-    font-weight: bold;
+  font-weight: bold;
 }
 
 #content #replication .block .label,
@@ -166,149 +166,144 @@
 #content #replication #current-file .progress,
 #content #replication #iterations .iterations
 {
-    float: left;
+  float: left;
 }
 
 #content #replication .block .label
 {
-    width: 100px;
+  width: 100px;
 }
 
 #content #replication .block .label span
 {
-    display: block;
-    padding-left: 21px;
+  display: block;
+  padding-left: 21px;
 }
 
 #content #replication #current-file
 {
-    border-top: 1px solid #f0f0f0;
-    margin-top: 10px;
-    padding-top: 10px;
+  border-top: 1px solid #f0f0f0;
+  margin-top: 10px;
+  padding-top: 10px;
 }
 
 #content #replication #current-file .progress
 {
-    color: #c0c0c0;
-    margin-left: 20px;
-}
-
-#content #replication #iterations
-{
-    display: none;
+  color: #c0c0c0;
+  margin-left: 20px;
 }
 
 #content #replication #iterations .label span
 {
-    background-image: url( ../../img/ico/node-design.png );
+  background-image: url( ../../img/ico/node-design.png );
 }
 
 #content #replication #iterations .iterations li
 {
-    background-position: 100% 50%;
-    display: none;
-    padding-right: 21px;
+  background-position: 100% 50%;
+  display: none;
+  padding-right: 21px;
 }
 
 #content #replication #iterations .iterations.expanded li
 {
-    display: block;
+  display: block;
 }
 
 #content #replication #iterations .iterations .latest
 {
-    display: block;
+  display: block;
 }
 
 #content #replication #iterations .iterations .replicated
 {
-    color: #80c480;
+  color: #80c480;
 }
 
 #content #replication #iterations .iterations ul:hover .replicated,
 #content #replication #iterations .iterations .replicated.latest
 {
-    color: #080;
+  color: #080;
 }
 
 #content #replication #iterations .iterations .replicated.latest
 {
-    background-image: url( ../../img/ico/tick.png );
+  background-image: url( ../../img/ico/tick.png );
 }
 
 #content #replication #iterations .iterations .failed
 {
-    color: #c48080;
+  color: #c48080;
 }
 
 #content #replication #iterations .iterations ul:hover .failed,
 #content #replication #iterations .iterations .failed.latest
 {
-    color: #800;
+  color: #800;
 }
 
 #content #replication #iterations .iterations .failed.latest
 {
-    background-image: url( ../../img/ico/cross.png );
+  background-image: url( ../../img/ico/cross.png );
 }
 
 #content #replication #iterations .iterations a
 {
-    border-top: 1px solid #f0f0f0;
-    display: none;
-    margin-top: 2px;
-    padding-top: 2px;
+  border-top: 1px solid #f0f0f0;
+  display: none;
+  margin-top: 2px;
+  padding-top: 2px;
 }
 
 #content #replication #iterations .iterations a span
 {
-    background-position: 0 50%;
-    color: #c0c0c0;
-    display: none;
-    padding-left: 21px;
+  background-position: 0 50%;
+  color: #c0c0c0;
+  display: none;
+  padding-left: 21px;
 }
 
 #content #replication #iterations .iterations a span.expand
 {
-    background-image: url( ../../img/ico/chevron-small-expand.png );
-    display: block;
+  background-image: url( ../../img/ico/chevron-small-expand.png );
+  display: block;
 }
 
 #content #replication #iterations .iterations.expanded a span.expand
 {
-    display: none;
+  display: none;
 }
 
 #content #replication #iterations .iterations.expanded a span.collapse
 {
-    background-image: url( ../../img/ico/chevron-small.png );
-    display: block;
+  background-image: url( ../../img/ico/chevron-small.png );
+  display: block;
 }
 
 #content #replication #details table
 {
-    border-collapse: collapse;
+  border-collapse: collapse;
 }
 
 #content #replication #details table th
 {
-    text-align: left;
+  text-align: left;
 }
 
 #content #replication.slave #details table .slaveOnly
 {
-    display: table-row;
+  display: table-row;
 }
 
 #content #replication #details table thead th
 {
-    color: #c0c0c0;
+  color: #c0c0c0;
 }
 
 #content #replication #details table thead th,
 #content #replication #details table tbody td
 {
-    padding-right: 20px;
+  padding-right: 20px;
 }
 
 #content #replication #details table thead td,
@@ -316,148 +311,187 @@
 #content #replication #details table tbody th,
 #content #replication #details table tbody td div
 {
-    padding-top: 3px;
-    padding-bottom: 3px;
+  padding-top: 3px;
+  padding-bottom: 3px;
 }
 
 #content #replication #details table tbody td,
 #content #replication #details table tbody th
 {
-    border-top: 1px solid #f0f0f0;
+  border-top: 1px solid #f0f0f0;
 }
 
 #content #replication #details table thead td
 {
-    width: 100px;
+  width: 100px;
 }
 
 #content #replication #details table thead td span
 {
-    background-image: url( ../../img/ico/clipboard-list.png );
-    background-position: 0 50%;
-    display: block;
-    padding-left: 21px;
+  background-image: url( ../../img/ico/clipboard-list.png );
+  background-position: 0 50%;
+  display: block;
+  padding-left: 21px;
 }
 
 #content #replication #details table tbody th
 {
-    padding-right: 10px;
-    text-align: right;
+  padding-right: 10px;
+  text-align: right;
 }
 
 #content #replication #details table tbody .size
 {
-    text-align: right;
-    white-space: nowrap;
+  text-align: right;
+  white-space: nowrap;
 }
 
 #content #replication #details table tbody .generation div
 {
-    text-align: center;
+  text-align: center;
 }
 
 #content #replication #details table tbody .diff div
 {
-    background-color: #fcfcc9;
-    padding-left: 1px;
-    padding-right: 1px;
+  background-color: #fcfcc9;
+  padding-left: 1px;
+  padding-right: 1px;
 }
 
 #content #replication .settings .label span
 {
-    background-image: url( ../../img/ico/hammer-screwdriver.png );
+  background-image: url( ../../img/ico/hammer-screwdriver.png );
 }
 
 #content #replication .settings ul,
 #content #replication .settings dl dt,
 #content #replication .settings dl dd
 {
-    float: left;
+  float: left;
 }
 
 #content #replication .settings ul li
 {
-    border-top: 1px solid #f0f0f0;
-    display: none;
-    padding-top: 3px;
-    padding-top: 3px;
+  border-top: 1px solid #f0f0f0;
+  display: none;
+  padding-top: 3px;
+  padding-top: 3px;
 }
 
 #content #replication .settings ul li:first-child
 {
-    border-top: 0;
-    padding-top: 0;
+  border-top: 0;
+  padding-top: 0;
 }
 
 #content #replication .settings dl dt
 {
-    clear: left;
-    margin-right: 5px;
-    width: 120px;
+  clear: left;
+  margin-right: 5px;
+  width: 120px;
 }
 
 #content #replication .settings dl .ico
 {
-    background-position: 0 50%;
-    padding-left: 21px;
+  background-position: 0 50%;
+  padding-left: 21px;
 }
 
 #content #replication .settings dl .ico.ico-0
 {
-    background-image: url( ../../img/ico/slash.png );
+  background-image: url( ../../img/ico/slash.png );
 }
 
 #content #replication .settings dl .ico.ico-1
 {
-    background-image: url( ../../img/ico/tick.png );
+  background-image: url( ../../img/ico/tick.png );
+}
+
+#content #replication .timer
+{
+  box-shadow: 5px 5px 10px #c0c0c0;
+  -moz-box-shadow: 5px 5px 10px #c0c0c0;
+  -webkit-box-shadow: 5px 5px 10px #c0c0c0;
+  display: none;
+  margin-bottom: 20px;
+  padding: 10px;
+}
+
+#content #replication .timer p,
+#content #replication .timer small
+{
+  padding-left: 21px;
+}
+
+#content #replication .timer p
+{
+  background-image: url( ../../img/ico/clock-select-remain.png );
+  background-position: 0 50%;
+}
+
+#content #replication .timer p .approx
+{
+  color: #c0c0c0;
+  margin-right: 1px;
+}
+
+#content #replication .timer p .tick
+{
+  font-weight: bold;
+}
+
+#content #replication .timer small
+{
+  color: #c0c0c0;
+  display: none;
 }
 
 #content #replication #navigation button
 {
-    background-position: 2px 50%;
-    margin-bottom: 10px;
-    padding-left: 21px;
+  background-position: 2px 50%;
+  margin-bottom: 10px;
+  padding-left: 21px;
 }
 
 #content #replication #navigation button.optional
 {
-    display: none;
+  display: none;
 }
 
 #content #replication #navigation .replicate-now
 {
-    background-image: url( ../../img/ico/document-convert.png );
+  background-image: url( ../../img/ico/document-convert.png );
 }
 
 #content #replication #navigation .abort-replication
 {
-    background-color: #800;
-    background-image: url( ../../img/ico/hand.png );
-    border-color: #800;
-    color: #fff;
+  background-color: #800;
+  background-image: url( ../../img/ico/hand.png );
+  border-color: #800;
+  color: #fff;
 }
 
 #content #replication #navigation .disable-polling
 {
-    background-image: url( ../../img/ico/cross.png );
+  background-image: url( ../../img/ico/cross.png );
 }
 
 #content #replication #navigation .enable-polling
 {
-    background-image: url( ../../img/ico/tick.png );
+  background-image: url( ../../img/ico/tick.png );
 }
 
 #content #replication #navigation .disable-replication
 {
-    background-image: url( ../../img/ico/cross.png );
+  background-image: url( ../../img/ico/cross.png );
 }
 
 #content #replication #navigation .enable-replication
 {
-    background-image: url( ../../img/ico/tick.png );
+  background-image: url( ../../img/ico/tick.png );
 }
 
 #content #replication #navigation .refresh-status
 {
-    background-image: url( ../../img/ico/arrow-circle.png );
+  background-image: url( ../../img/ico/arrow-circle.png );
 }
\ No newline at end of file

Modified: lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/css/styles/schema-browser.css
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/css/styles/schema-browser.css?rev=1300232&r1=1300231&r2=1300232&view=diff
==============================================================================
--- lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/css/styles/schema-browser.css (original)
+++ lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/css/styles/schema-browser.css Tue Mar 13 16:43:38 2012
@@ -1,76 +1,76 @@
 #content #schema-browser .loader
 {
-    background-position: 0 50%;
-    padding-left: 21px;   
+  background-position: 0 50%;
+  padding-left: 21px;   
 }
 
 #content #schema-browser.loaded
 {
-    background-image: url( ../../img/div.gif );
-    background-position: 21% 0;
-    background-repeat: repeat-y;
+  background-image: url( ../../img/div.gif );
+  background-position: 21% 0;
+  background-repeat: repeat-y;
 }
 
 #content #schema-browser #data
 {
-    float: right;
-    width: 78%;
+  float: right;
+  width: 78%;
 }
 
 #content #schema-browser #related
 {
-    float: left;
-    width: 20%;
+  float: left;
+  width: 20%;
 }
 
 #content #schema-browser #related select
 {
-    width: 100%;
+  width: 100%;
 }
 
 #content #schema-browser #related select optgroup
 {
-    font-style: normal;
-    padding: 5px;
+  font-style: normal;
+  padding: 5px;
 }
 
 #content #schema-browser #related select option
 {
-    padding-left: 10px;
+  padding-left: 10px;
 }
 
 #content #schema-browser #related #f-df-t
 {
-    border-bottom: 1px solid #f0f0f0;
-    padding-bottom: 15px;
+  border-bottom: 1px solid #f0f0f0;
+  padding-bottom: 15px;
 }
 
 #content #schema-browser #related dl
 {
-    margin-top: 15px;
+  margin-top: 15px;
 }
 
 #content #schema-browser #related dl dt,
 #content #schema-browser #related dl dd a
 {
-    color: #c0c0c0;
+  color: #c0c0c0;
 }
 
 #content #schema-browser #related dl dt
 {
-    font-weight: bold;
-    margin-top: 5px;
+  font-weight: bold;
+  margin-top: 5px;
 }
 
 #content #schema-browser #related dl dd a
 {
-    display: block;
-    padding-left: 10px;
+  display: block;
+  padding-left: 10px;
 }
 
 #content #schema-browser #related dl dd a:hover
 {
-    background-color: #f8f8f8;
+  background-color: #f8f8f8;
 }
 
 #content #schema-browser #related .field .field,
@@ -82,264 +82,346 @@
 #content #schema-browser #related .active,
 #content #schema-browser #related .active a
 {
-    color: #333;
+  color: #333;
 }
 
 #content #schema-browser #related .copyfield,
 #content #schema-browser #related .copyfield a
 {
-    color: #666;
+  color: #666;
 }
 
 #content #schema-browser #data
 {
-    display: none;
+  display: none;
 }
 
 #content #schema-browser #data #index dt
 {
-    display: none;
-    float: left;
-    margin-right: 5px;
-    width: 150px;
+  display: none;
+  float: left;
+  margin-right: 5px;
+  width: 150px;
 }
 
 #content #schema-browser #data #field .field-options
 {
-    margin-bottom: 20px;
+  margin-bottom: 10px;
+}
+
+#content #schema-browser #data #field .field-options .head h2
+{
+  padding-left: 5px;
 }
 
 #content #schema-browser #data #field .field-options .options dt,
 #content #schema-browser #data #field .field-options .options dd
 {
-    float: left;
+  float: left;
 }
 
 #content #schema-browser #data #field .field-options .options dt
 {
-    clear: left;
-    display: none;
-    margin-right: 5px;
-    width: 100px;
+  clear: left;
+  display: none;
+  margin-right: 5px;
+  width: 100px;
 }
 
 #content #schema-browser #data #field .field-options .options dd
 {
-    margin-right: 5px;
+  margin-right: 5px;
 }
 
+
 #content #schema-browser #data #field .field-options .analyzer,
 #content #schema-browser #data #field .field-options .analyzer li,
 #content #schema-browser #data #field .field-options .analyzer ul,
 #content #schema-browser #data #field .field-options .analyzer ul li
 {
-    display: none;
+  display: none;
 }
 
 #content #schema-browser #data #field .field-options .analyzer p,
 #content #schema-browser #data #field .field-options .analyzer dl
 {
-    float: left;
+  float: left;
 }
 
 #content #schema-browser #data #field .field-options .analyzer p
 {
-    margin-right: 5px;
-    text-align: right;
-    width: 100px;
+  margin-right: 5px;
+  text-align: right;
+  width: 100px;
+}
+
+#content #schema-browser #data #field .field-options .analyzer a
+{
+  cursor: auto;
+}
+
+#content #schema-browser #data #field .field-options .analyzer .toggle
+{
+  background-image: url( ../../img/ico/chevron-small-expand.png );
+  background-position: 100% 50%;
+  cursor: pointer;
+  display: block;
+  padding-right: 21px;
+}
+
+#content #schema-browser #data #field .field-options .analyzer .open .toggle
+{
+  background-image: url( ../../img/ico/chevron-small.png );
 }
 
 #content #schema-browser #data #field .field-options .analyzer li
 {
-    border-top: 1px solid #f0f0f0;
-    margin-top: 10px;
-    padding-top: 10px;
+  border-top: 1px solid #f0f0f0;
+  margin-top: 10px;
+  padding-top: 10px;
 }
 
 #content #schema-browser #data #field .field-options .analyzer ul
 {
-    clear: left;
-    display: block;
-    margin-left: 30px;
-    padding-top: 5px;
+  clear: left;
+  display: none;
+  margin-left: 30px;
+  padding-top: 5px;
+}
+
+#content #schema-browser #data #field .field-options .analyzer .open ul
+{
+  display: block;
 }
 
 #content #schema-browser #data #field .field-options .analyzer ul li
 {
-    border-top: 1px solid #f8f8f8;
-    margin-top: 5px;
-    padding-top: 5px;
+  border-top: 1px solid #f8f8f8;
+  margin-top: 5px;
+  padding-top: 5px;
 }
 
 #content #schema-browser #data #field .field-options .analyzer ul p
 {
-    color: #999;
-    margin-right: 5px;
-    text-align: right;
-    width: 70px;
+  color: #999;
+  margin-right: 5px;
+  text-align: right;
+  width: 70px;
 }
 
 #content #schema-browser #data #field .field-options .analyzer ul dd
 {
-    margin-left: 20px;
+  margin-left: 20px;
 }
 
 #content #schema-browser #data #field .field-options .analyzer ul dd
 {
-    background-image: url( ../../img/ico/document-list.png );
-    background-position: 0 50%;
-    color: #c0c0c0;
-    padding-left: 21px;
+  background-image: url( ../../img/ico/document-list.png );
+  background-position: 0 50%;
+  color: #c0c0c0;
+  padding-left: 21px;
 }
 
 #content #schema-browser #data #field .field-options .analyzer ul dd.ico-0
 {
-    background-image: url( ../../img/ico/slash.png );
+  background-image: url( ../../img/ico/slash.png );
 }
 
 #content #schema-browser #data #field .field-options .analyzer ul dd.ico-1
 {
-    background-image: url( ../../img/ico/tick.png );
+  background-image: url( ../../img/ico/tick.png );
 }
 
 #content #schema-browser #data #field .head
 {
-    margin-bottom: 5px;
+  margin-bottom: 5px;
 }
 
-#content #schema-browser #data #field .topterms-holder
+#content #schema-browser #data #field .terminfo-holder
 {
-    display: none;
-    float: left;
+  border-top: 1px solid #c0c0c0;
+  padding-top: 10px;
 }
 
-#content #schema-browser #data #field .topterms-holder .head .max-holder
+#content #schema-browser #data #field .terminfo-holder .trigger
 {
-    color: #c0c0c0;
+  float: left;
+  width: 130px;
 }
 
-#content #schema-browser #data #field .topterms-holder table
+#content #schema-browser #data #field .terminfo-holder .trigger button
 {
-    border-collapse: collapse;
-    width: 100%;
+  background-image: url( ../../img/ico/information.png );
+  background-position: 3px 50%;
+  display: block;
+  padding-left: 23px;
 }
 
-#content #schema-browser #data #field .topterms-holder th,
-#content #schema-browser #data #field .topterms-holder td
+#content #schema-browser #data #field .terminfo-holder .status
 {
-    border: 1px solid #f0f0f0;
-    padding: 1px 4px;
+  border-left: 1px solid #f0f0f0;
+  display: none;
+  float: left;
+  padding-left: 20px;
+  padding-right: 20px;
 }
 
-#content #schema-browser #data #field .topterms-holder thead tr
+#content #schema-browser #data #field .terminfo-holder.disabled .trigger button
 {
-    background-color: #c0c0c0;
+  background-color: #f0f0f0;
+  background-image: url( ../../img/ico/prohibition.png );
+  border-color: #fff;
+  color: #c0c0c0;
+  cursor: auto;
 }
 
-#content #schema-browser #data #field .topterms-holder thead th
+#content #schema-browser #data #field .terminfo-holder.disabled .status
 {
-    text-align: left;
+  display: block;
 }
 
-#content #schema-browser #data #field .topterms-holder tbody
+#content #schema-browser #data #field .terminfo-holder .trigger .autoload
 {
-    display: none;
+  display: none;
 }
 
-#content #schema-browser #data #field .topterms-holder tbody .odd
+#content #schema-browser #data #field .terminfo-holder.loaded .trigger .autoload
 {
-    background-color: #f0f0f0;
+  background-image: url( ../../img/ico/ui-check-box-uncheck.png );
+  background-position: 0 50%;
+  color: #c0c0c0;
+  display: block;
+  margin-top: 10px;
+  padding-left: 21px;
 }
 
-#content #schema-browser #data #field .topterms-holder tbody .position
+#content #schema-browser #data #field .terminfo-holder .trigger .autoload:hover
 {
-    color: #c0c0c0;
-    text-align: right;
+  color: #008;
 }
 
-#content #schema-browser #data #field .topterms-holder .navi
+#content #schema-browser #data #field .terminfo-holder .trigger .autoload.on
 {
-    margin-top: 5px;
+  background-image: url( ../../img/ico/ui-check-box.png );
+  color: #333;
 }
 
-#content #schema-browser #data #field .topterms-holder .navi a
+#content #schema-browser #data #field .topterms-holder
 {
-    color: #c0c0c0;
-    display: block;
-    padding-top: 2px;
-    padding-bottom: 2px;
-    width: 49%;
+  border-left: 1px solid #f0f0f0;
+  display: none;
+  float: left;
+  padding-left: 20px;
+  padding-right: 20px;
 }
 
-#content #schema-browser #data #field .topterms-holder .navi a:hover
+#content #schema-browser #data #field .topterms-holder .head input
+{
+  height: 18px;
+  line-height: 16px;
+  text-align: right;
+  width: 30px;
+}
+
+#content #schema-browser #data #field .topterms-holder .head .max-holder
+{
+  color: #c0c0c0;
+}
+
+#content #schema-browser #data #field .topterms-holder .head .max-holder:hover .max
+{
+  color: #008;
+}
+
+#content #schema-browser .topterms-holder li
 {
-    background-color: #f8f8f8;
-    color: #333;
+  border-top: 1px solid  #999;
+  margin-bottom: 5px;
 }
 
-#content #schema-browser #data #field .topterms-holder .navi .less
+#content #schema-browser .topterms-holder li p
 {
-    float: left;
+  background-color:  #999;
+  color: #fff;
+  float: left;
+  width: 25px;
 }
 
-#content #schema-browser #data #field .topterms-holder .navi .less span
+#content #schema-browser .topterms-holder li p span
 {
-    background-image: url( ../../img/ico/chevron-small.png );
-    background-position: 0 50%;
-    padding-left: 18px;
+  display: block;
+  padding-right: 2px;
+  text-align: right;
 }
 
-#content #schema-browser #data #field .topterms-holder .navi .more
+#content #schema-browser .topterms-holder li ul
 {
-    float: right;
-    text-align: right;
+  margin-left: 30px;
 }
 
-#content #schema-browser #data #field .topterms-holder .navi .more span
+#content #schema-browser .topterms-holder li li
 {
-    background-image: url( ../../img/ico/chevron-small-expand.png );
-    background-position: 100% 50%;
-    padding-right: 18px;
+  border-top: 0;
+  margin-bottom: 0;
+  white-space: nowrap;
+}
+
+#content #schema-browser .topterms-holder li li.odd
+{
+  background-color: #f0f0f0;
+}
+
+#content #schema-browser .topterms-holder li li span
+{
+  padding-left: 2px;
+  padding-right: 2px;
 }
 
 #content #schema-browser #data #field .histogram-holder
 {
-    display: none;
-    float: left;
-    margin-left: 50px;
+  border-left: 1px solid #f0f0f0;
+  display: none;
+  float: left;
+  padding-left: 20px;
+  padding-right: 20px;
 }
 
 #content #schema-browser #data #field .histogram-holder .histogram
 {
-    height: 150px;
+  height: 150px;
+}
+
+#content #schema-browser #data #field .histogram-holder .histogram.single canvas
+{
+  background-color: #c0c0c0;
 }
 
 #content #schema-browser #data #field .histogram-holder dt,
 #content #schema-browser #data #field .histogram-holder dd
 {
-    float: left;
-    font-size: 10px;
-    text-align: center;
+  float: left;
+  font-size: 10px;
+  text-align: center;
 }
 
 #content #schema-browser #data #field .histogram-holder span
 {
-    background-color: #f0f0f0;
-    display: block;
-    width: 20px;
+  background-color: #f0f0f0;
+  display: block;
+  width: 20px;
 }
 
 #content #schema-browser #data #field .histogram-holder dt
 {
-    padding-right: 1px;
+  padding-right: 1px;
 }
 
 #content #schema-browser #data #field .histogram-holder dd
 {
-    padding-right: 3px;
+  padding-right: 3px;
 }
 
 #content #schema-browser #data #field .histogram-holder dd span
 {
-    width: 25px;
+  width: 25px;
 }

Modified: lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/css/styles/threads.css
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/css/styles/threads.css?rev=1300232&r1=1300231&r2=1300232&view=diff
==============================================================================
--- lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/css/styles/threads.css (original)
+++ lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/css/styles/threads.css Tue Mar 13 16:43:38 2012
@@ -1,167 +1,167 @@
 #content #threads .loader
 {
-    background-position: 0 50%;
-    padding-left: 21px;
+  background-position: 0 50%;
+  padding-left: 21px;
 }
 
 #content #threads #thread-dump table
 {
-    border-collapse: collapse;
-    width: 100%;
+  border-collapse: collapse;
+  width: 100%;
 }
 
 #content #threads #thread-dump table .spacer,
 #content #threads #thread-dump tbody .state
 {
-    background-color: #fff;
-    border: 0;
+  background-color: #fff;
+  border: 0;
 }
 
 #content #threads #thread-dump table th,
 #content #threads #thread-dump table td
 {
-    border: 1px solid #c0c0c0;
-    padding: 5px 3px;
-    vertical-align: top;
+  border: 1px solid #c0c0c0;
+  padding: 5px 3px;
+  vertical-align: top;
 }
 
 #content #threads #thread-dump thead th
 {
-    background-color: #c8c8c8;
-    font-weight: bold;
-    text-align: left;
+  background-color: #c8c8c8;
+  font-weight: bold;
+  text-align: left;
 }
 
 #content #threads #thread-dump thead th.name
 {
-    width: 85%;
+  width: 85%;
 }
 
 #content #threads #thread-dump thead th.time
 {
-    text-align: right;
-    width: 15%;
+  text-align: right;
+  width: 15%;
 }
 
 #content #threads #thread-dump tbody .odd
 {
-    background-color: #f0f0f0;
+  background-color: #f0f0f0;
 }
 
 #content #threads #thread-dump tbody .RUNNABLE a
 {
-    background-image: url( ../../img/ico/tick-circle.png );
+  background-image: url( ../../img/ico/tick-circle.png );
 }
 
 #content #threads #thread-dump tbody .WAITING a,
 #content #threads #thread-dump tbody .TIMED_WAITING .a
 {
-    background-image: url( ../../img/ico/hourglass.png );
+  background-image: url( ../../img/ico/hourglass.png );
 }
 
 #content #threads #thread-dump tbody .WAITING.lock a,
 #content #threads #thread-dump tbody .TIMED_WAITING.lock a
 {
-    background-image: url( ../../img/ico/hourglass--exclamation.png );
+  background-image: url( ../../img/ico/hourglass--exclamation.png );
 }
 
 #content #threads #thread-dump thead th:first-child,
 #content #threads #thread-dump tbody td:first-child
 {
-    border-left: 0;
+  border-left: 0;
 }
 
 #content #threads #thread-dump thead th:last-child,
 #content #threads #thread-dump tbody td:last-child
 {
-    border-right: 0;
+  border-right: 0;
 }
 
 #content #threads #thread-dump tbody .name a
 {
-    background-position: 0 50%;
-    cursor: auto;
-    display: block;
-    padding-left: 21px;
+  background-position: 0 50%;
+  cursor: auto;
+  display: block;
+  padding-left: 21px;
 }
 
 #content #threads #thread-dump tbody .stacktrace .name a
 {
-    cursor: pointer;
+  cursor: pointer;
 }
 
 #content #threads #thread-dump tbody .stacktrace .name a span
 {    
-    background-image: url( ../../img/ico/chevron-small-expand.png );
-    background-position: 100% 50%;
-    padding-right: 21px;
+  background-image: url( ../../img/ico/chevron-small-expand.png );
+  background-position: 100% 50%;
+  padding-right: 21px;
 }
 
 #content #threads #thread-dump tbody .stacktrace.open .name a span
 {   
-    background-image: url( ../../img/ico/chevron-small.png );
+  background-image: url( ../../img/ico/chevron-small.png );
 }
 
 #content #threads #thread-dump tbody .name p
 {
-    background-image: url( ../../img/ico/arrow-000-small.png );
-    background-position: 0 50%;
-    color: #c0c0c0;
-    font-size: 11px;
-    margin-left: 21px;
-    padding-left: 21px;
+  background-image: url( ../../img/ico/arrow-000-small.png );
+  background-position: 0 50%;
+  color: #c0c0c0;
+  font-size: 11px;
+  margin-left: 21px;
+  padding-left: 21px;
 }
 
 #content #threads #thread-dump tbody .name div
 {
-    border-top: 1px solid #c0c0c0;
-    display: none;
-    margin-left: 21px;
-    margin-top: 5px;
-    padding-top: 5px;
+  border-top: 1px solid #c0c0c0;
+  display: none;
+  margin-left: 21px;
+  margin-top: 5px;
+  padding-top: 5px;
 }
 
 #content #threads #thread-dump tbody .open .name div
 {
-    display: block;
+  display: block;
 }
 
 #content #threads #thread-dump tbody .name ul
 {
-    list-style-type: disc;
-    margin-left: 0.7em;
-    padding-left: 0.7em;
+  list-style-type: disc;
+  margin-left: 0.7em;
+  padding-left: 0.7em;
 }
 
 #content #threads #thread-dump tbody .time
 {
-    text-align: right;
+  text-align: right;
 }
 
 #content #threads #thread-dump tbody .details
 {
-    display: none;
+  display: none;
 }
 
 #content #threads .controls
 {
-    padding-top: 5px;
-    padding-bottom: 5px;
+  padding-top: 5px;
+  padding-bottom: 5px;
 }
 
 #content #threads .controls a
 {
-    background-image: url( ../../img/ico/chevron-small-expand.png );
-    padding-left: 21px;
+  background-image: url( ../../img/ico/chevron-small-expand.png );
+  padding-left: 21px;
 }
 
 #content #threads.expanded .controls a
 {
-    background-image: url( ../../img/ico/chevron-small.png );
+  background-image: url( ../../img/ico/chevron-small.png );
 }
 
 #content #threads.expanded .controls .expand,
 #content #threads.collapsed .controls .collapse
 {
-    display: none;
+  display: none;
 }
\ No newline at end of file

Modified: lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/js/lib/console.js
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/js/lib/console.js?rev=1300232&r1=1300231&r2=1300232&view=diff
==============================================================================
--- lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/js/lib/console.js (original)
+++ lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/js/lib/console.js Tue Mar 13 16:43:38 2012
@@ -17,11 +17,11 @@
 
 if( 'undefined' === typeof( console ) )
 {
-    var console = {
-        log : function() {},
-        debug : function() {},
-        dump : function() {},
-        error : function() {},
-        warn : function(){}
-    };
+  var console = {
+    log : function() {},
+    debug : function() {},
+    dump : function() {},
+    error : function() {},
+    warn : function(){}
+  };
 }
\ No newline at end of file

Modified: lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/js/lib/highlight.js
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/js/lib/highlight.js?rev=1300232&r1=1300231&r2=1300232&view=diff
==============================================================================
--- lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/js/lib/highlight.js (original)
+++ lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/js/lib/highlight.js Tue Mar 13 16:43:38 2012
@@ -1,17 +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
+Copyright (c) 2006, Ivan Sagalaev
+All rights reserved.
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
 
-     http://www.apache.org/licenses/LICENSE-2.0
+    * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+    * Neither the name of highlight.js nor the names of its contributors 
+      may be used to endorse or promote products derived from this software 
+      without specific prior written permission.
 
- 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.
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 var hljs=new function(){var p={};var a={};function n(c){return c.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;")}function k(s,r){if(!s){return false}for(var c=0;c<s.length;c++){if(s[c]==r){return true}}return false}function e(s,r,c){var t="m"+(s.cI?"i":"")+(c?"g":"");return new RegExp(r,t)}function j(r){for(var c=0;c<r.childNodes.length;c++){node=r.childNodes[c];if(node.nodeName=="CODE"){return node}if(!(node.nodeType==3&&node.nodeValue.match(/\s+/))){return null}}}function h(u,t){var s="";for(var r=0;r<u.childNodes.length;r++){if(u.childNodes[r].nodeType==3){var c=u.childNodes[r].nodeValue;if(t){c=c.replace(/\n/g,"")}s+=c}else{if(u.childNodes[r].nodeName=="BR"){s+="\n"}else{s+=h(u.childNodes[r])}}}s=s.replace(/\r/g,"\n");return s}function b(t){var r=t.className.split(/\s+/);r=r.concat(t.parentNode.className.split(/\s+/));for(var c=0;c<r.length;c++){var s=r[c].replace(/^language-/,"");if(p[s]||s=="no-highlight"){return s}}}function d(c){var r=[];(function(
 t,u){for(var s=0;s<t.childNodes.length;s++){if(t.childNodes[s].nodeType==3){u+=t.childNodes[s].nodeValue.length}else{if(t.childNodes[s].nodeName=="BR"){u+=1}else{r.push({event:"start",offset:u,node:t.childNodes[s]});u=arguments.callee(t.childNodes[s],u);r.push({event:"stop",offset:u,node:t.childNodes[s]})}}}return u})(c,0);return r}function m(z,A,y){var s=0;var x="";var u=[];function v(){if(z.length&&A.length){if(z[0].offset!=A[0].offset){return(z[0].offset<A[0].offset)?z:A}else{return(z[0].event=="start"&&A[0].event=="stop")?A:z}}else{return z.length?z:A}}function t(E){var F="<"+E.nodeName.toLowerCase();for(var C=0;C<E.attributes.length;C++){var D=E.attributes[C];F+=" "+D.nodeName.toLowerCase();if(D.nodeValue!=undefined){F+='="'+n(D.nodeValue)+'"'}}return F+">"}function B(C){return"</"+C.nodeName.toLowerCase()+">"}while(z.length||A.length){var w=v().splice(0,1)[0];x+=n(y.substr(s,w.offset-s));s=w.offset;if(w.event=="start"){x+=t(w.node);u.push(w.node)}else{if(w.event=="stop
 "){var r=u.length;do{r--;var c=u[r];x+=B(c)}while(c!=w.node);u.splice(r,1);while(r<u.length){x+=t(u[r]);r++}}}}x+=y.substr(s);return x}function g(K,E){function A(r,N){for(var M=0;M<N.sm.length;M++){if(N.sm[M].bR.test(r)){return N.sm[M]}}return null}function x(M,r){if(D[M].e&&D[M].eR.test(r)){return 1}if(D[M].eW){var N=x(M-1,r);return N?N+1:0}return 0}function y(r,M){return M.iR&&M.iR.test(r)}function B(P,O){var N=[];for(var M=0;M<P.sm.length;M++){N.push(P.sm[M].b)}var r=D.length-1;do{if(D[r].e){N.push(D[r].e)}r--}while(D[r+1].eW);if(P.i){N.push(P.i)}return e(O,"("+N.join("|")+")",true)}function t(N,M){var O=D[D.length-1];if(!O.t){O.t=B(O,I)}O.t.lastIndex=M;var r=O.t.exec(N);if(r){return[N.substr(M,r.index-M),r[0],false]}else{return[N.substr(M),"",true]}}function c(P,r){var M=I.cI?r[0].toLowerCase():r[0];for(var O in P.keywordGroups){if(!P.keywordGroups.hasOwnProperty(O)){continue}var N=P.keywordGroups[O].hasOwnProperty(M);if(N){return[O,N]}}return false}function G(N,Q){if(!Q
 .k||!Q.l){return n(N)}if(!Q.lR){var P="("+Q.l.join("|")+")";Q.lR=e(I,P,true)}var O="";var R=0;Q.lR.lastIndex=0;var M=Q.lR.exec(N);while(M){O+=n(N.substr(R,M.index-R));var r=c(Q,M);if(r){u+=r[1];O+='<span class="'+r[0]+'">'+n(M[0])+"</span>"}else{O+=n(M[0])}R=Q.lR.lastIndex;M=Q.lR.exec(N)}O+=n(N.substr(R,N.length-R));return O}function L(r,N){if(N.subLanguage&&a[N.subLanguage]){var M=g(N.subLanguage,r);u+=M.keyword_count;C+=M.r;return M.value}else{return G(r,N)}}function J(N,r){var M=N.nM?"":'<span class="'+N.displayClassName+'">';if(N.rB){s+=M;N.buffer=""}else{if(N.eB){s+=n(r)+M;N.buffer=""}else{s+=M;N.buffer=r}}D[D.length]=N}function F(M,O,R){var P=D[D.length-1];if(R){s+=L(P.buffer+M,P);return false}var S=A(O,P);if(S){s+=L(P.buffer+M,P);J(S,O);C+=S.r;return S.rB}var r=x(D.length-1,O);if(r){var T=P.nM?"":"</span>";if(P.rE){s+=L(P.buffer+M,P)+T}else{if(P.eE){s+=L(P.buffer+M,P)+T+n(O)}else{s+=L(P.buffer+M+O,P)+T}}while(r>1){T=D[D.length-2].nM?"":"</span>";s+=T;r--;D.length--}va
 r Q=D[D.length-1];D.length--;D[D.length-1].buffer="";if(Q.starts){for(var N=0;N<I.m.length;N++){if(I.m[N].cN==Q.starts){J(I.m[N],"");break}}}return P.rE}if(y(O,P)){throw"Illegal"}}var I=p[K];var D=[I.dM];var C=0;var u=0;var s="";try{var w=0;I.dM.buffer="";do{var z=t(E,w);var v=F(z[0],z[1],z[2]);w+=z[0].length;if(!v){w+=z[1].length}}while(!z[2]);if(D.length>1){throw"Illegal"}return{language:K,r:C,keyword_count:u,value:s}}catch(H){if(H=="Illegal"){return{language:null,r:0,keyword_count:0,value:n(E)}}else{throw H}}}function i(){function r(y,x){if(y.compiled){return}if(y.b){y.bR=e(x,"^"+y.b)}if(y.e){y.eR=e(x,"^"+y.e)}if(y.i){y.iR=e(x,"^(?:"+y.i+")")}if(y.r==undefined){y.r=1}if(!y.displayClassName){y.displayClassName=y.cN}if(!y.cN){y.nM=true}for(var w in y.k){if(!y.k.hasOwnProperty(w)){continue}if(y.k[w] instanceof Object){y.keywordGroups=y.k}else{y.keywordGroups={keyword:y.k}}break}y.sm=[];if(y.c){for(var v=0;v<y.c.length;v++){if(y.c[v] instanceof Object){y.sm.push(y.c[v])}else{
 for(var u=0;u<x.m.length;u++){if(x.m[u].cN==y.c[v]){y.sm.push(x.m[u])}}}}}y.compiled=true;for(var v=0;v<y.sm.length;v++){r(y.sm[v],x)}}for(var t in p){if(!p.hasOwnProperty(t)){continue}var c=[p[t].dM].concat(p[t].m);for(var s=0;s<c.length;s++){r(c[s],p[t])}}}function f(){if(f.called){return}f.called=true;i();a=p}function q(v,A,r){f();var C=h(v,r);var t=b(v);if(t=="no-highlight"){return}if(t){var y=g(t,C)}else{var y={language:"",keyword_count:0,r:0,value:n(C)};var z=y;for(var B in a){if(!a.hasOwnProperty(B)){continue}var w=g(B,C);if(w.keyword_count+w.r>z.keyword_count+z.r){z=w}if(w.keyword_count+w.r>y.keyword_count+y.r){z=y;y=w}}}var u=v.className;if(!u.match(y.language)){u=u?(u+" "+y.language):y.language}var c=d(v);if(c.length){var s=document.createElement("pre");s.innerHTML=y.value;y.value=m(c,d(s),C)}if(A){y.value=y.value.replace(/^((<[^>]+>|\t)+)/gm,function(D,G,F,E){return G.replace(/\t/g,A)})}if(r){y.value=y.value.replace(/\n/g,"<br>")}if(/MSIE [678]/.test(navigator.use
 rAgent)&&v.tagName=="CODE"&&v.parentNode.tagName=="PRE"){var s=v.parentNode;var x=document.createElement("div");x.innerHTML="<pre><code>"+y.value+"</code></pre>";v=x.firstChild.firstChild;x.firstChild.cN=s.cN;s.parentNode.replaceChild(x.firstChild,s)}else{v.innerHTML=y.value}v.className=u;v.dataset={};v.dataset.result={language:y.language,kw:y.keyword_count,re:y.r};if(z&&z.language){v.dataset.second_best={language:z.language,kw:z.keyword_count,re:z.r}}}function l(){if(l.called){return}l.called=true;f();if(arguments.length){for(var c=0;c<arguments.length;c++){if(p[arguments[c]]){a[arguments[c]]=p[arguments[c]]}}}var s=document.getElementsByTagName("pre");for(var c=0;c<s.length;c++){var r=j(s[c]);if(r){q(r,hljs.tabReplace)}}}function o(){var c=arguments;var r=function(){l.apply(null,c)};if(window.addEventListener){window.addEventListener("DOMContentLoaded",r,false);window.addEventListener("load",r,false)}else{if(window.attachEvent){window.attachEvent("onload",r)}else{window.on
 load=r}}}this.LANGUAGES=p;this.initHighlightingOnLoad=o;this.highlightBlock=q;this.initHighlighting=l;this.IMR="\\b|\\B";this.IR="[a-zA-Z][a-zA-Z0-9_]*";this.UIR="[a-zA-Z_][a-zA-Z0-9_]*";this.NR="\\b\\d+(\\.\\d+)?";this.CNR="\\b(0x[A-Za-z0-9]+|\\d+(\\.\\d+)?)";this.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|\\.|-|-=|/|/=|:|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";this.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:["escape"],r:0};this.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:["escape"],r:0};this.BE={cN:"escape",b:"\\\\.",e:this.IMR,nM:true,r:0};this.CLCM={cN:"comment",b:"//",e:"$",r:0};this.CBLCLM={cN:"comment",b:"/\\*",e:"\\*/"};this.HCM={cN:"comment",b:"#",e:"$"};this.NUMBER_MODE={cN:"number",b:this.NR,e:this.IMR,r:0};this.CNM={cN:"number",b:this.CNR,e:this.IMR,r:0};this.inherit=function(c,t){var s={};for(var r in c){s[r]=c[r]}if(t){for(var r in t){s[r]=t[r]}}return s}}();var initHighlightingOnLoad=hljs.initHighlightingOnLoad;(funct
 ion(){var d="[A-Za-z0-9\\._:-]+";var k={cN:"pi",b:"<\\?",e:"\\?>",r:10};var i={cN:"doctype",b:"<!DOCTYPE",e:">",r:10};var j={cN:"comment",b:"<!--",e:"-->"};var g={cN:"tag",b:"</?",e:"/?>",c:["title","tag_internal"]};var e={cN:"title",b:d,e:hljs.IMR};var b={cN:"tag_internal",b:hljs.IMR,eW:true,nM:true,c:["attribute","value_container"],r:0};var f={cN:"attribute",b:d,e:hljs.IMR,r:0};var a={cN:"value_container",b:'="',rB:true,e:'"',nM:true,c:[{cN:"value",b:'"',eW:true}]};var c={cN:"value_container",b:"='",rB:true,e:"'",nM:true,c:[{cN:"value",b:"'",eW:true}]};hljs.LANGUAGES.xml={dM:{c:["pi","doctype","comment","cdata","tag"]},cI:true,m:[{cN:"cdata",b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},k,i,j,g,hljs.inherit(e,{r:1.75}),b,f,a,c]};var h={code:1,kbd:1,font:1,noscript:1,style:1,img:1,title:1,menu:1,tt:1,tr:1,param:1,li:1,tfoot:1,th:1,input:1,td:1,dl:1,blockquote:1,fieldset:1,big:1,dd:1,abbr:1,optgroup:1,dt:1,button:1,isindex:1,p:1,small:1,div:1,dir:1,em:1,frame:1,meta:1,sub:1,bdo:1,la
 bel:1,acronym:1,sup:1,body:1,basefont:1,base:1,br:1,address:1,strong:1,legend:1,ol:1,script:1,caption:1,s:1,col:1,h2:1,h3:1,h1:1,h6:1,h4:1,h5:1,table:1,select:1,noframes:1,span:1,area:1,dfn:1,strike:1,cite:1,thead:1,head:1,option:1,form:1,hr:1,"var":1,link:1,b:1,colgroup:1,ul:1,applet:1,del:1,iframe:1,pre:1,frameset:1,ins:1,tbody:1,html:1,samp:1,map:1,object:1,a:1,xmlns:1,center:1,textarea:1,i:1,q:1,u:1,section:1,nav:1,article:1,aside:1,hgroup:1,header:1,footer:1,figure:1,figurecaption:1,time:1,mark:1,wbr:1,embed:1,video:1,audio:1,source:1,canvas:1,datalist:1,keygen:1,output:1,progress:1,meter:1,details:1,summary:1,command:1};hljs.LANGUAGES.html={dM:{c:["comment","pi","doctype","vbscript","tag"]},cI:true,m:[{cN:"tag",b:"<style",e:">",l:[hljs.IR],k:{style:1},c:["tag_internal"],starts:"css"},{cN:"tag",b:"<script",e:">",l:[hljs.IR],k:{script:1},c:["tag_internal"],starts:"javascript"},{cN:"css",e:"</style>",rE:true,subLanguage:"css"},{cN:"javascript",e:"<\/script>",rE:true,subLa
 nguage:"javascript"},{cN:"vbscript",b:"<%",e:"%>",subLanguage:"vbscript"},j,k,i,hljs.inherit(g),hljs.inherit(e,{l:[hljs.IR],k:h}),hljs.inherit(b),f,a,c,{cN:"value_container",b:"=",e:hljs.IMR,c:[{cN:"unquoted_value",displayClassName:"value",b:"[^\\s/>]+",e:hljs.IMR}]}]}})();
\ No newline at end of file

Modified: lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/js/main.js
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/js/main.js?rev=1300232&r1=1300231&r2=1300232&view=diff
==============================================================================
--- lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/js/main.js (original)
+++ lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/js/main.js Tue Mar 13 16:43:38 2012
@@ -1,36 +1,54 @@
+/*
+ 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.
+*/
+
 require
 (
-	[
-		'lib/order!lib/console',
-		'lib/order!jquery',
-		'lib/order!lib/jquery.form',
-		'lib/order!lib/jquery.jstree',
-		'lib/order!lib/jquery.sammy',
-		'lib/order!lib/jquery.sparkline',
-		'lib/order!lib/jquery.timeago',
-		'lib/order!lib/highlight',
-		'lib/order!scripts/app',
+  [
+    'lib/order!lib/console',
+    'lib/order!jquery',
+    'lib/order!lib/jquery.cookie',
+    'lib/order!lib/jquery.form',
+    'lib/order!lib/jquery.jstree',
+    'lib/order!lib/jquery.sammy',
+    'lib/order!lib/jquery.sparkline',
+    'lib/order!lib/jquery.timeago',
+    'lib/order!lib/highlight',
+    'lib/order!lib/ZeroClipboard',
+    'lib/order!scripts/app',
 
-		'lib/order!scripts/analysis',
-		'lib/order!scripts/cloud',
-		'lib/order!scripts/cores',
-		'lib/order!scripts/dataimport',
-		'lib/order!scripts/file',
-		'lib/order!scripts/index',
-		'lib/order!scripts/java-properties',
-		'lib/order!scripts/logging',
-		'lib/order!scripts/ping',
-		'lib/order!scripts/plugins',
-		'lib/order!scripts/query',
-		'lib/order!scripts/replication',
-		'lib/order!scripts/schema-browser',
-		'lib/order!scripts/threads',
+    'lib/order!scripts/analysis',
+    'lib/order!scripts/cloud',
+    'lib/order!scripts/cores',
+    'lib/order!scripts/dataimport',
+    'lib/order!scripts/file',
+    'lib/order!scripts/index',
+    'lib/order!scripts/java-properties',
+    'lib/order!scripts/logging',
+    'lib/order!scripts/ping',
+    'lib/order!scripts/plugins',
+    'lib/order!scripts/query',
+    'lib/order!scripts/replication',
+    'lib/order!scripts/schema-browser',
+    'lib/order!scripts/threads',
 
-		'lib/order!scripts/dashboard'
-		
-	],
-	function( $ )
-	{
-		app.run();
-	}
+    'lib/order!scripts/dashboard'
+  ],
+  function( $ )
+  {
+    app.run();
+  }
 );
\ No newline at end of file

Modified: lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/js/scripts/analysis.js
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/js/scripts/analysis.js?rev=1300232&r1=1300231&r2=1300232&view=diff
==============================================================================
--- lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/js/scripts/analysis.js (original)
+++ lucene/dev/branches/lucene3795_lsp_spatial_module/solr/webapp/web/js/scripts/analysis.js Tue Mar 13 16:43:38 2012
@@ -1,420 +1,436 @@
+/*
+ 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.
+*/
+
 // #/:core/analysis
 sammy.get
 (
-    /^#\/([\w\d-]+)\/(analysis)$/,
-    function( context )
-    {
-        var core_basepath = this.active_core.attr( 'data-basepath' );
-        var content_element = $( '#content' );
+  /^#\/([\w\d-]+)\/(analysis)$/,
+  function( context )
+  {
+    var core_basepath = this.active_core.attr( 'data-basepath' );
+    var content_element = $( '#content' );
         
-        $.get
-        (
-            'tpl/analysis.html',
-            function( template )
-            {
-                content_element
-                    .html( template );
+    $.get
+    (
+      'tpl/analysis.html',
+      function( template )
+      {
+        content_element
+          .html( template );
                 
-                var analysis_element = $( '#analysis', content_element );
-                var analysis_form = $( 'form', analysis_element );
-                var analysis_result = $( '#analysis-result', analysis_element );
-                analysis_result.hide();
+        var analysis_element = $( '#analysis', content_element );
+        var analysis_form = $( 'form', analysis_element );
+        var analysis_result = $( '#analysis-result', analysis_element );
+        analysis_result.hide();
                 
-                $.ajax
-                (
-                    {
-                        url : core_basepath + '/admin/luke?wt=json&show=schema',
-                        dataType : 'json',
-                        context : $( '#type_or_name', analysis_form ),
-                        beforeSend : function( xhr, settings )
-                        {
-                            this
-                                .html( '<option value="">Loading ... </option>' )
-                                .addClass( 'loader' );
-                        },
-                        success : function( response, text_status, xhr )
-                        {
-                            var content = '';
+        $.ajax
+        (
+          {
+            url : core_basepath + '/admin/luke?wt=json&show=schema',
+            dataType : 'json',
+            context : $( '#type_or_name', analysis_form ),
+            beforeSend : function( xhr, settings )
+            {
+              this
+                .html( '<option value="">Loading ... </option>' )
+                .addClass( 'loader' );
+            },
+            success : function( response, text_status, xhr )
+            {
+              var content = '';
                             
-                            var fields = [];
-                            for( var field_name in response.schema.fields )
-                            {
-                                fields.push
-                                (
-                                    '<option value="fieldname=' + field_name + '">' + field_name + '</option>'
-                                );
-                            }
-                            if( 0 !== fields.length )
-                            {
-                                content += '<optgroup label="Fields">' + "\n";
-                                content += fields.sort().join( "\n" ) + "\n";
-                                content += '</optgroup>' + "\n";
-                            }
+              var fields = [];
+              for( var field_name in response.schema.fields )
+              {
+                fields.push
+                (
+                  '<option value="fieldname=' + field_name + '">' + field_name + '</option>'
+                );
+              }
+              if( 0 !== fields.length )
+              {
+                content += '<optgroup label="Fields">' + "\n";
+                content += fields.sort().join( "\n" ) + "\n";
+                content += '</optgroup>' + "\n";
+              }
                             
-                            var types = [];
-                            for( var type_name in response.schema.types )
-                            {
-                                types.push
-                                (
-                                    '<option value="fieldtype=' + type_name + '">' + type_name + '</option>'
-                                );
-                            }
-                            if( 0 !== types.length )
-                            {
-                                content += '<optgroup label="Types">' + "\n";
-                                content += types.sort().join( "\n" ) + "\n";
-                                content += '</optgroup>' + "\n";
-                            }
+              var types = [];
+              for( var type_name in response.schema.types )
+              {
+                types.push
+                (
+                  '<option value="fieldtype=' + type_name + '">' + type_name + '</option>'
+                );
+              }
+              if( 0 !== types.length )
+              {
+                content += '<optgroup label="Types">' + "\n";
+                content += types.sort().join( "\n" ) + "\n";
+                content += '</optgroup>' + "\n";
+              }
                             
-                            this
-                                .html( content );
+              this
+                .html( content );
 
-                            $( 'option[value="fieldname\=' + response.schema.defaultSearchField + '"]', this )
-                                .attr( 'selected', 'selected' );
-                        },
-                        error : function( xhr, text_status, error_thrown)
-                        {
-                        },
-                        complete : function( xhr, text_status )
-                        {
-                            this
-                                .removeClass( 'loader' );
-                        }
-                    }
-                );
+              $( 'option[value="fieldname\=' + response.schema.defaultSearchField + '"]', this )
+                .attr( 'selected', 'selected' );
+            },
+            error : function( xhr, text_status, error_thrown)
+            {
+            },
+            complete : function( xhr, text_status )
+            {
+              this
+                .removeClass( 'loader' );
+            }
+          }
+        );
                         
-                $( '.analysis-error .head a', analysis_element )
-                    .die( 'click' )
-                    .live
-                    (
-                        'click',
-                        function( event )
-                        {
-                            $( this ).parents( '.analysis-error' )
-                                .toggleClass( 'expanded' );
-                        }
-                    );
+        $( '.analysis-error .head a', analysis_element )
+          .die( 'click' )
+          .live
+          (
+            'click',
+            function( event )
+            {
+              $( this ).parents( '.analysis-error' )
+                .toggleClass( 'expanded' );
+            }
+          );
                         
-                $( '.verbose_output a', analysis_element )
-                    .die( 'click' )
-                    .live
-                    (
-                        'click',
-                        function( event )
-                        {
-                            $( this ).parent()
-                                .toggleClass( 'active' );
+        $( '.verbose_output a', analysis_element )
+          .die( 'click' )
+          .live
+          (
+            'click',
+            function( event )
+            {
+              $( this ).parent()
+                .toggleClass( 'active' );
                             
-                            analysis_result
-                                .toggleClass( 'verbose_output' );
+              analysis_result
+                .toggleClass( 'verbose_output' );
                             
-                            check_empty_spacer();
-                        }
-                    );
+              check_empty_spacer();
+            }
+          );
                 
-                var check_empty_spacer = function()
-                {
-                    var spacer_holder = $( 'td.part.data.spacer .holder', analysis_result );
+        var check_empty_spacer = function()
+        {
+          var spacer_holder = $( 'td.part.data.spacer .holder', analysis_result );
+
+          if( 0 === spacer_holder.size() )
+          {
+            return false;
+          }
+
+          var verbose_output = analysis_result.hasClass( 'verbose_output' );
+
+          spacer_holder
+            .each
+            (
+              function( index, element )
+              {
+                element = $( element );
 
-                    if( 0 === spacer_holder.size() )
-                    {
-                        return false;
-                    }
-
-                    var verbose_output = analysis_result.hasClass( 'verbose_output' );
-
-                    spacer_holder
-                        .each
-                        (
-                            function( index, element )
-                            {
-                                element = $( element );
-
-                                if( verbose_output )
-                                {
-                                    var cell = element.parent();
-                                    element.height( cell.height() );
-                                }
-                                else
-                                {
-                                    element.removeAttr( 'style' );
-                                }
-                            }
-                        );
+                if( verbose_output )
+                {
+                  var cell = element.parent();
+                  element.height( cell.height() );
+                }
+                else
+                {
+                  element.removeAttr( 'style' );
                 }
+              }
+            );
+        }
 
-                var button = $( 'button', analysis_form )
+        var button = $( 'button', analysis_form )
                 
-                analysis_form
-                    .ajaxForm
-                    (
-                        {
-                            url : core_basepath + '/analysis/field?wt=json',
-                            dataType : 'json',
-                            beforeSubmit : function( array, form, options )
-                            {
-                                loader.show( button );
-                                button.attr( 'disabled', true );
+        analysis_form
+          .ajaxForm
+          (
+            {
+              url : core_basepath + '/analysis/field?wt=json',
+              dataType : 'json',
+              beforeSubmit : function( array, form, options )
+              {
+                loader.show( button );
+                button.attr( 'disabled', true );
                                 
-                                array.push( { name: 'analysis.showmatch', value: 'true' } );
+                array.push( { name: 'analysis.showmatch', value: 'true' } );
                                 
-                                var type_or_name = $( '#type_or_name', form ).val().split( '=' );
+                var type_or_name = $( '#type_or_name', form ).val().split( '=' );
+                array.push( { name: 'analysis.' + type_or_name[0], value: type_or_name[1] } );
+              },
+              success : function( response, status_text, xhr, form )
+              {
+                $( '.analysis-error', analysis_element )
+                  .hide();
                                 
-                                array.push( { name: 'analysis.' + type_or_name[0], value: type_or_name[1] } );
-                            },
-                            success : function( response, status_text, xhr, form )
-                            {
-                                $( '.analysis-error', analysis_element )
-                                    .hide();
+                analysis_result
+                  .empty()
+                  .show();
                                 
-                                analysis_result
-                                    .empty()
-                                    .show();
+                for( var name in response.analysis.field_names )
+                {
+                  build_analysis_table( 'name', name, response.analysis.field_names[name] );
+                }
                                 
-                                for( var name in response.analysis.field_names )
-                                {
-                                    build_analysis_table( 'name', name, response.analysis.field_names[name] );
-                                }
+                for( var name in response.analysis.field_types )
+                {
+                  build_analysis_table( 'type', name, response.analysis.field_types[name] );
+                }
+
+                check_empty_spacer();
+              },
+              error : function( xhr, text_status, error_thrown )
+              {
+                analysis_result
+                  .empty()
+                  .hide();
+
+                if( 404 === xhr.status )
+                {
+                  $( '#analysis-handler-missing', analysis_element )
+                    .show();
+                }
+                else
+                {
+                  $( '#analysis-error', analysis_element )
+                    .show();
+
+                  var response = null;
+                  try
+                  {
+                    eval( 'response = ' + xhr.responseText + ';' );
+                  }
+                  catch( e )
+                  {
+                    console.error( e );
+                  }
+
+                  $( '#analysis-error .body', analysis_element )
+                    .text( response ? response.error.msg : xhr.responseText );
+                }
+              },
+              complete : function()
+              {
+                loader.hide( $( 'button', analysis_form ) );
+                button.removeAttr( 'disabled' );
+              }
+            }
+          );
+
+          var generate_class_name = function( type )
+          {
+            var classes = [type];
+            if( 'text' !== type )
+            {
+              classes.push( 'verbose_output' );
+            }
+            return classes.join( ' ' );
+          }
+                    
+          var build_analysis_table = function( field_or_name, name, analysis_data )
+          {        
+            for( var type in analysis_data )
+            {
+              var type_length = analysis_data[type].length;
+              if( 0 !== type_length )
+              {
+                var global_elements_count = 0;
+                for( var i = 0; i < analysis_data[type].length; i += 2 )
+                {
+                  if( 'string' === typeof analysis_data[type][i+1] )
+                  {
+                    analysis_data[type][i+1] = [{ 'text': analysis_data[type][i+1] }]
+                  }
+                  global_elements_count = Math.max( global_elements_count, analysis_data[type][i+1].length );
+                }
+
+                var content = '<div class="' + type + '">' + "\n";
+                content += '<table border="0" cellspacing="0" cellpadding="0">' + "\n";
                                 
-                                for( var name in response.analysis.field_types )
-                                {
-                                    build_analysis_table( 'type', name, response.analysis.field_types[name] );
-                                }
-
-                                check_empty_spacer();
-                            },
-                            error : function( xhr, text_status, error_thrown )
-                            {
-                                analysis_result
-                                    .empty()
-                                    .hide();
-
-                                if( 404 === xhr.status )
-                                {
-                                    $( '#analysis-handler-missing', analysis_element )
-                                        .show();
-                                }
-                                else
-                                {
-                                    var error_message = error_thrown.match( /^(.+Exception):\s+(.*)$/ );
-
-                                    $( '#analysis-error', analysis_element )
-                                        .show();
-
-                                    $( '#analysis-error .head a span', analysis_element )
-                                        .text( error_message[1] );
-
-                                    $( '#analysis-error .body', analysis_element )
-                                        .text( error_message[2].replace( /(\s+at\s+)/g, " at\n" ) );
-                                }
-                            },
-                            complete : function()
-                            {
-                                loader.hide( $( 'button', analysis_form ) );
-                                button.removeAttr( 'disabled' );
-                            }
-                        }
-                    );
+                for( var i = 0; i < analysis_data[type].length; i += 2 )
+                {
+                  var colspan = 1;
+                  var elements = analysis_data[type][i+1];
+                  var elements_count = global_elements_count;
+                  
+                  if( !elements[0] || !elements[0].positionHistory )
+                  {
+                    colspan = elements_count;
+                    elements_count = 1;
+                  }
+
+                  var legend = [];
+                  for( var key in elements[0] )
+                  {
+                    var key_parts = key.split( '#' );
+                    var used_key = key_parts.pop();
+                    var short_key = used_key;
 
-                    var generate_class_name = function( type )
+                    if( 1 === key_parts.length )
                     {
-                        var classes = [type];
-                        if( 'text' !== type )
-                        {
-                            classes.push( 'verbose_output' );
-                        }
-                        return classes.join( ' ' );
+                      used_key = '<abbr title="' + key + '">' + used_key + '</abbr>';
                     }
-                    
-                    var build_analysis_table = function( field_or_name, name, analysis_data )
-                    {        
-                        for( var type in analysis_data )
-                        {
-                            var type_length = analysis_data[type].length;
-                            if( 0 !== type_length )
-                            {
-                                var global_elements_count = 0;
-                                for( var i = 0; i < analysis_data[type].length; i += 2 )
-                                {
-                                    if( 'string' === typeof analysis_data[type][i+1] )
-                                    {
-                                        analysis_data[type][i+1] = [{ 'text': analysis_data[type][i+1] }]
-                                    }
-                                    global_elements_count = Math.max( global_elements_count,
-                                                                      analysis_data[type][i+1].length );
-                                }
 
-                                var content = '<div class="' + type + '">' + "\n";
-                                content += '<table border="0" cellspacing="0" cellpadding="0">' + "\n";
-                                
-                                for( var i = 0; i < analysis_data[type].length; i += 2 )
-                                {
-                                    var colspan = 1;
-                                    var elements = analysis_data[type][i+1];
-                                    var elements_count = global_elements_count;
-                                    
-                                    if( !elements[0].positionHistory )
-                                    {
-                                        colspan = elements_count;
-                                        elements_count = 1;
-                                    }
-
-                                    var legend = [];
-                                    for( var key in elements[0] )
-                                    {
-                                        var key_parts = key.split( '#' );
-                                        var used_key = key_parts.pop();
-                                        var short_key = used_key;
-
-                                        if( 1 === key_parts.length )
-                                        {
-                                            used_key = '<abbr title="' + key + '">' + used_key + '</abbr>';
-                                        }
-
-                                        if( 'positionHistory' === short_key || 'match' === short_key )
-                                        {
-                                            continue;
-                                        }
-
-                                        legend.push
-                                        (
-                                            '<tr class="' + generate_class_name( short_key ) + '">' +
-                                            '<td>' + used_key + '</td>' +
-                                            '</tr>'
-                                        );
-                                    }
-
-                                    content += '<tbody>' + "\n";
-                                    content += '<tr class="step">' + "\n";
-
-                                        // analyzer
-                                        var analyzer_name = analysis_data[type][i]
-                                                                .replace( /(\$1)+$/g, '' );
-
-                                        var analyzer_short = -1 !== analyzer_name.indexOf( '$' )
-                                                           ? analyzer_name.split( '$' )[1]
-                                                           : analyzer_name.split( '.' ).pop();
-                                        analyzer_short = analyzer_short.match( /[A-Z]/g ).join( '' );
-
-                                        content += '<td class="part analyzer"><div>' + "\n";
-                                        content += '<abbr title="' + analysis_data[type][i] + '">' + "\n";
-                                        content += analyzer_short + '</abbr></div></td>' + "\n";
-
-                                        // legend
-                                        content += '<td class="part legend"><div class="holder">' + "\n";
-                                        content += '<table border="0" cellspacing="0" cellpadding="0">' + "\n";
-                                        content += '<tr><td>' + "\n";
-                                        content += '<table border="0" cellspacing="0" cellpadding="0">' + "\n";
-                                        content += legend.join( "\n" ) + "\n";
-                                        content += '</table></td></tr></table></td>' + "\n";
-
-                                        // data
-                                        var cell_content = '<td class="part data spacer" '
-                                                         + '    colspan="' + colspan + '">'
-                                                         + '<div class="holder">&nbsp;</div>'
-                                                         + '</td>';
-                                        var cells = new Array( elements_count + 1 ).join( cell_content );
-                                        content += cells + "\n";
-
-                                    content += '</tr>' + "\n";
-                                    content += '</tbody>' + "\n";
-                                }
-                                content += '</table>' + "\n";
-                                content += '</div>' + "\n";
+                    if( 'positionHistory' === short_key || 'match' === short_key )
+                    {
+                      continue;
+                    }
+
+                    legend.push
+                    (
+                      '<tr class="' + generate_class_name( short_key ) + '">' +
+                      '<td>' + used_key + '</td>' +
+                      '</tr>'
+                    );
+                  }
+
+                  content += '<tbody>' + "\n";
+                  content += '<tr class="step">' + "\n";
 
-                                $( '.' + type, analysis_result )
-                                    .remove();
+                    // analyzer
+                    var analyzer_name = analysis_data[type][i].replace( /(\$1)+$/g, '' );
+
+                    var analyzer_short = -1 !== analyzer_name.indexOf( '$' )
+                                       ? analyzer_name.split( '$' )[1]
+                                       : analyzer_name.split( '.' ).pop();
+                    analyzer_short = analyzer_short.match( /[A-Z]/g ).join( '' );
+
+                    content += '<td class="part analyzer"><div>' + "\n";
+                    content += '<abbr title="' + analysis_data[type][i].esc() + '">' + "\n";
+                    content += analyzer_short.esc() + '</abbr></div></td>' + "\n";
+
+                    // legend
+                    content += '<td class="part legend"><div class="holder">' + "\n";
+                    content += '<table border="0" cellspacing="0" cellpadding="0">' + "\n";
+                    content += '<tr><td>' + "\n";
+                    content += '<table border="0" cellspacing="0" cellpadding="0">' + "\n";
+                    content += legend.join( "\n" ) + "\n";
+                    content += '</table></td></tr></table></td>' + "\n";
+
+                    // data
+                    var cell_content = '<td class="part data spacer" colspan="' + colspan + '"><div class="holder">&nbsp;</div></td>';
+                    var cells = new Array( elements_count + 1 ).join( cell_content );
+                    content += cells + "\n";
+
+                  content += '</tr>' + "\n";
+                  content += '</tbody>' + "\n";
+                }
+                content += '</table>' + "\n";
+                content += '</div>' + "\n";
 
-                                analysis_result
-                                    .append( content );
+                $( '.' + type, analysis_result )
+                  .remove();
+
+                analysis_result
+                  .append( content );
                                 
-                                var analysis_result_type = $( '.' + type, analysis_result );
+                var analysis_result_type = $( '.' + type, analysis_result );
+
+                for( var i = 0; i < analysis_data[type].length; i += 2 )
+                {
+                  for( var j = 0; j < analysis_data[type][i+1].length; j += 1 )
+                  {
+                    var pos = analysis_data[type][i+1][j].positionHistory
+                        ? analysis_data[type][i+1][j].positionHistory[0]
+                        : 1;
+                    var selector = 'tr.step:eq(' + ( i / 2 ) +') '
+                                 + 'td.data:eq(' + ( pos - 1 ) + ') '
+                                 + '.holder';
+                    var cell = $( selector, analysis_result_type );
+
+                    cell.parent()
+                      .removeClass( 'spacer' );
+
+                    var table = $( 'table tr.details', cell );
+                    if( 0 === table.size() )
+                    {
+                      cell
+                        .html
+                        (
+                          '<table border="0" cellspacing="0" cellpadding="0">' + 
+                          '<tr class="details"></tr></table>'
+                        );
+                      var table = $( 'table tr.details', cell );
+                    }
 
-                                for( var i = 0; i < analysis_data[type].length; i += 2 )
-                                {
-                                    for( var j = 0; j < analysis_data[type][i+1].length; j += 1 )
-                                    {
-                                        var pos = analysis_data[type][i+1][j].positionHistory
-                                                ? analysis_data[type][i+1][j].positionHistory[0]
-                                                : 1;
-                                        var selector = 'tr.step:eq(' + ( i / 2 ) +') '
-                                                     + 'td.data:eq(' + ( pos - 1 ) + ') '
-                                                     + '.holder';
-                                        var cell = $( selector, analysis_result_type );
-
-                                        cell.parent()
-                                            .removeClass( 'spacer' );
-
-                                        var table = $( 'table tr.details', cell );
-                                        if( 0 === table.size() )
-                                        {
-                                            cell
-                                                .html
-                                                (
-                                                    '<table border="0" cellspacing="0" cellpadding="0">' + 
-                                                    '<tr class="details"></tr></table>'
-                                                );
-                                            var table = $( 'table tr.details', cell );
-                                        }
-
-                                        var tokens = [];
-                                        for( var key in analysis_data[type][i+1][j] )
-                                        {
-                                            var short_key = key.split( '#' ).pop();
+                    var tokens = [];
+                    for( var key in analysis_data[type][i+1][j] )
+                    {
+                      var short_key = key.split( '#' ).pop();
                                             
-                                            if( 'positionHistory' === short_key || 'match' === short_key )
-                                            {
-                                                continue;
-                                            }
-
-                                            var classes = [];
-                                            classes.push( generate_class_name( short_key ) );
-
-                                            var data = analysis_data[type][i+1][j][key];
-                                            if( 'object' === typeof data && data instanceof Array )
-                                            {
-                                                data = data.join( ' ' );
-                                            }
-                                            if( 'string' === typeof data )
-                                            {
-                                                data = data.esc();
-                                            }
-
-                                            if( null === data || 0 === data.length )
-                                            {
-                                                classes.push( 'empty' );
-                                                data = '&empty;';
-                                            }
-
-                                            if( analysis_data[type][i+1][j].match && 
-                                                ( 'text' === short_key || 'raw_bytes' === short_key ) )
-                                            {
-                                                classes.push( 'match' );
-                                            }
-
-                                            tokens.push
-                                            (
-                                                '<tr class="' + classes.join( ' ' ) + '">' +
-                                                '<td>' + data + '</td>' +
-                                                '</tr>'
-                                            );
-                                        }
-                                        table
-                                            .append
-                                            (
-                                                '<td class="details">' +
-                                                '<table border="0" cellspacing="0" cellpadding="0">' +
-                                                tokens.join( "\n" ) +
-                                                '</table></td>'
-                                            );
-                                    }
-                                }
-                
-                            }
-                        }
+                      if( 'positionHistory' === short_key || 'match' === short_key )
+                      {
+                        continue;
+                      }
+
+                      var classes = [];
+                      classes.push( generate_class_name( short_key ) );
+
+                      var data = analysis_data[type][i+1][j][key];
+                      if( 'object' === typeof data && data instanceof Array )
+                      {
+                        data = data.join( ' ' );
+                      }
+                      if( 'string' === typeof data )
+                      {
+                        data = data.esc();
+                      }
+
+                      if( null === data || 0 === data.length )
+                      {
+                        classes.push( 'empty' );
+                        data = '&empty;';
+                      }
+
+                      if( analysis_data[type][i+1][j].match && 
+                        ( 'text' === short_key || 'raw_bytes' === short_key ) )
+                      {
+                        classes.push( 'match' );
+                      }
+
+                      tokens.push
+                      (
+                        '<tr class="' + classes.join( ' ' ) + '">' +
+                        '<td>' + data + '</td>' +
+                        '</tr>'
+                      );
                     }
-                    
+                    table
+                      .append
+                      (
+                        '<td class="details">' +
+                        '<table border="0" cellspacing="0" cellpadding="0">' +
+                        tokens.join( "\n" ) +
+                        '</table></td>'
+                      );
+                  }
+                }
+                
+              }
             }
-        );
-    }
+          }
+                    
+      }
+    );
+  }
 );