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

svn commit: r1298010 [2/8] - in /lucene/dev/trunk/solr: core/src/java/org/apache/solr/handler/ core/src/java/org/apache/solr/servlet/ webapp/web/ webapp/web/css/ webapp/web/css/styles/ webapp/web/js/ webapp/web/js/lib/ webapp/web/js/scripts/ webapp/web...

Modified: lucene/dev/trunk/solr/webapp/web/css/styles/query.css
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/webapp/web/css/styles/query.css?rev=1298010&r1=1298009&r2=1298010&view=diff
==============================================================================
--- lucene/dev/trunk/solr/webapp/web/css/styles/query.css (original)
+++ lucene/dev/trunk/solr/webapp/web/css/styles/query.css Wed Mar  7 16:30:20 2012
@@ -1,132 +1,132 @@
 #content #query
 {
-    background-image: url( ../../img/div.gif );
-    background-position: 22% 0;
-    background-repeat: repeat-y;
+  background-image: url( ../../img/div.gif );
+  background-position: 22% 0;
+  background-repeat: repeat-y;
 }
 
 #content #query #form
 {
-    float: left;
-    width: 21%;
+  float: left;
+  width: 21%;
 }
 
 #content #query #form label
 {
-    cursor: pointer;
-    display: block;
-    margin-top: 5px;
+  cursor: pointer;
+  display: block;
+  margin-top: 5px;
 }
 
 #content #query #form input,
 #content #query #form select,
 #content #query #form textarea
 {
-    margin-bottom: 2px;
-    width: 100%;
+  margin-bottom: 2px;
+  width: 100%;
 }
 
 #content #query #form #start
 {
-    float: left;
-    margin-right: 2%;
-    width: 49%;
+  float: left;
+  margin-right: 2%;
+  width: 49%;
 }
 
 #content #query #form #rows
 {
-    width: 49%;
+  width: 49%;
 }
 
 #content #query #form .checkbox input
 {
-    margin-bottom: 0;
-    width: auto;
+  margin-bottom: 0;
+  width: auto;
 }
 
 #content #query #form fieldset,
 #content #query #form .optional.expanded
 {
-    border: 1px solid #fff;
-    border-top: 1px solid #c0c0c0;
-    margin-bottom: 10px;
+  border: 1px solid #fff;
+  border-top: 1px solid #c0c0c0;
+  margin-bottom: 10px;
 }
 
 #content #query #form fieldset legend,
 #content #query #form .optional.expanded legend
 {
-    display: block;
-    margin-left: 10px;
-    padding: 0px 5px;
+  display: block;
+  margin-left: 10px;
+  padding: 0px 5px;
 }
 
 #content #query #form fieldset legend label
 {
-    margin-top: 0;
+  margin-top: 0;
 }
 
 #content #query #form fieldset .fieldset
 {
-    border-bottom: 1px solid #f0f0f0;
-    margin-bottom: 5px;
-    padding-bottom: 5px;
+  border-bottom: 1px solid #f0f0f0;
+  margin-bottom: 5px;
+  padding-bottom: 5px;
 }
 
 #content #query #form .optional
 {
-    border: 0;
+  border: 0;
 }
 
 #content #query #form .optional .fieldset
 {
-    display: none;
+  display: none;
 }
 
 #content #query #form .optional legend
 {
-    margin-left: 0;
-    padding-left: 0;
+  margin-left: 0;
+  padding-left: 0;
 }
 
 #content #query #form .optional.expanded .fieldset
 {
-    display: block;
+  display: block;
 }
 
 #content #query #result
 {
-    display: none;
-    float: right;
-    width: 77%;
+  display: none;
+  float: right;
+  width: 77%;
 }
 
 #content #query #result #url
 {
-    margin-bottom: 10px;
-    background-image: url( ../../img/ico/ui-address-bar.png );
-    background-position: 5px 50%;
-    border: 1px solid #f0f0f0;
-    box-shadow: 1px 1px 0 #f0f0f0;
-    -moz-box-shadow: 1px 1px 0 #f0f0f0;
-    -webkit-box-shadow: 1px 1px 0 #f0f0f0;
-    color: #c0c0c0;
-    display: block;
-    overflow: hidden;
-    padding: 5px;
-    padding-left: 26px;
-    white-space: nowrap;
+  margin-bottom: 10px;
+  background-image: url( ../../img/ico/ui-address-bar.png );
+  background-position: 5px 50%;
+  border: 1px solid #f0f0f0;
+  box-shadow: 1px 1px 0 #f0f0f0;
+  -moz-box-shadow: 1px 1px 0 #f0f0f0;
+  -webkit-box-shadow: 1px 1px 0 #f0f0f0;
+  color: #c0c0c0;
+  display: block;
+  overflow: hidden;
+  padding: 5px;
+  padding-left: 26px;
+  white-space: nowrap;
 }
 
 #content #query #result #url:focus,
 #content #query #result #url:hover
 {
-    border-color: #c0c0c0;
-    box-shadow: 1px 1px 0 #d8d8d8;
-    -moz-box-shadow: 1px 1px 0 #d8d8d8;
-    -webkit-box-shadow: 1px 1px 0 #d8d8d8;
-    color: #333;
+  border-color: #c0c0c0;
+  box-shadow: 1px 1px 0 #d8d8d8;
+  -moz-box-shadow: 1px 1px 0 #d8d8d8;
+  -webkit-box-shadow: 1px 1px 0 #d8d8d8;
+  color: #333;
 }
 
 #content #query #result #response
 {
-}
\ No newline at end of file
+}

Modified: lucene/dev/trunk/solr/webapp/web/css/styles/replication.css
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/webapp/web/css/styles/replication.css?rev=1298010&r1=1298009&r2=1298010&view=diff
==============================================================================
--- lucene/dev/trunk/solr/webapp/web/css/styles/replication.css (original)
+++ lucene/dev/trunk/solr/webapp/web/css/styles/replication.css Wed Mar  7 16:30:20 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/trunk/solr/webapp/web/css/styles/schema-browser.css
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/webapp/web/css/styles/schema-browser.css?rev=1298010&r1=1298009&r2=1298010&view=diff
==============================================================================
--- lucene/dev/trunk/solr/webapp/web/css/styles/schema-browser.css (original)
+++ lucene/dev/trunk/solr/webapp/web/css/styles/schema-browser.css Wed Mar  7 16:30:20 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/trunk/solr/webapp/web/css/styles/threads.css
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/webapp/web/css/styles/threads.css?rev=1298010&r1=1298009&r2=1298010&view=diff
==============================================================================
--- lucene/dev/trunk/solr/webapp/web/css/styles/threads.css (original)
+++ lucene/dev/trunk/solr/webapp/web/css/styles/threads.css Wed Mar  7 16:30:20 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

Added: lucene/dev/trunk/solr/webapp/web/js/lib/ZeroClipboard.js
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/webapp/web/js/lib/ZeroClipboard.js?rev=1298010&view=auto
==============================================================================
--- lucene/dev/trunk/solr/webapp/web/js/lib/ZeroClipboard.js (added)
+++ lucene/dev/trunk/solr/webapp/web/js/lib/ZeroClipboard.js Wed Mar  7 16:30:20 2012
@@ -0,0 +1,317 @@
+// Simple Set Clipboard System
+// Author: Joseph Huckaby
+
+var ZeroClipboard = {
+	
+	version: "1.0.7",
+	clients: {}, // registered upload clients on page, indexed by id
+	moviePath: 'ZeroClipboard.swf', // URL to movie
+	nextId: 1, // ID of next movie
+	
+	$: function(thingy) {
+		// simple DOM lookup utility function
+		if (typeof(thingy) == 'string') thingy = document.getElementById(thingy);
+		if (!thingy.addClass) {
+			// extend element with a few useful methods
+			thingy.hide = function() { this.style.display = 'none'; };
+			thingy.show = function() { this.style.display = ''; };
+			thingy.addClass = function(name) { this.removeClass(name); this.className += ' ' + name; };
+			thingy.removeClass = function(name) {
+				var classes = this.className.split(/\s+/);
+				var idx = -1;
+				for (var k = 0; k < classes.length; k++) {
+					if (classes[k] == name) { idx = k; k = classes.length; }
+				}
+				if (idx > -1) {
+					classes.splice( idx, 1 );
+					this.className = classes.join(' ');
+				}
+				return this;
+			};
+			thingy.hasClass = function(name) {
+				return !!this.className.match( new RegExp("\\s*" + name + "\\s*") );
+			};
+		}
+		return thingy;
+	},
+	
+	setMoviePath: function(path) {
+		// set path to ZeroClipboard.swf
+		this.moviePath = path;
+	},
+	
+	dispatch: function(id, eventName, args) {
+		// receive event from flash movie, send to client		
+		var client = this.clients[id];
+		if (client) {
+			client.receiveEvent(eventName, args);
+		}
+	},
+	
+	register: function(id, client) {
+		// register new client to receive events
+		this.clients[id] = client;
+	},
+	
+	getDOMObjectPosition: function(obj, stopObj) {
+		// get absolute coordinates for dom element
+		var info = {
+			left: 0, 
+			top: 0, 
+			width: obj.width ? obj.width : obj.offsetWidth, 
+			height: obj.height ? obj.height : obj.offsetHeight
+		};
+
+		while (obj && (obj != stopObj)) {
+			info.left += obj.offsetLeft;
+			info.top += obj.offsetTop;
+			obj = obj.offsetParent;
+		}
+
+		return info;
+	},
+	
+	Client: function(elem) {
+		// constructor for new simple upload client
+		this.handlers = {};
+		
+		// unique ID
+		this.id = ZeroClipboard.nextId++;
+		this.movieId = 'ZeroClipboardMovie_' + this.id;
+		
+		// register client with singleton to receive flash events
+		ZeroClipboard.register(this.id, this);
+		
+		// create movie
+		if (elem) this.glue(elem);
+	}
+};
+
+ZeroClipboard.Client.prototype = {
+	
+	id: 0, // unique ID for us
+	ready: false, // whether movie is ready to receive events or not
+	movie: null, // reference to movie object
+	clipText: '', // text to copy to clipboard
+	handCursorEnabled: true, // whether to show hand cursor, or default pointer cursor
+	cssEffects: true, // enable CSS mouse effects on dom container
+	handlers: null, // user event handlers
+	
+	glue: function(elem, appendElem, stylesToAdd) {
+		// glue to DOM element
+		// elem can be ID or actual DOM element object
+		this.domElement = ZeroClipboard.$(elem);
+		
+		// float just above object, or zIndex 99 if dom element isn't set
+		var zIndex = 99;
+		if (this.domElement.style.zIndex) {
+			zIndex = parseInt(this.domElement.style.zIndex, 10) + 1;
+		}
+		
+		if (typeof(appendElem) == 'string') {
+			appendElem = ZeroClipboard.$(appendElem);
+		}
+		else if (typeof(appendElem) == 'undefined') {
+			appendElem = document.getElementsByTagName('body')[0];
+		}
+		
+		// find X/Y position of domElement
+		var box = ZeroClipboard.getDOMObjectPosition(this.domElement, appendElem);
+		
+		// create floating DIV above element
+		this.div = document.createElement('div');
+		var style = this.div.style;
+		style.position = 'absolute';
+		style.left = '' + box.left + 'px';
+		style.top = '' + box.top + 'px';
+		style.width = '' + box.width + 'px';
+		style.height = '' + box.height + 'px';
+		style.zIndex = zIndex;
+
+		style.left = '0px';
+		style.top = '0px';
+		
+		if (typeof(stylesToAdd) == 'object') {
+			for (addedStyle in stylesToAdd) {
+				style[addedStyle] = stylesToAdd[addedStyle];
+			}
+		}
+		
+		// style.backgroundColor = '#f00'; // debug
+		
+		appendElem.appendChild(this.div);
+		
+		this.div.innerHTML = this.getHTML( box.width, box.height );
+	},
+	
+	getHTML: function(width, height) {
+		// return HTML for movie
+		var html = '';
+		var flashvars = 'id=' + this.id + 
+			'&width=' + width + 
+			'&height=' + height;
+			
+		if (navigator.userAgent.match(/MSIE/)) {
+			// IE gets an OBJECT tag
+			var protocol = location.href.match(/^https/i) ? 'https://' : 'http://';
+			html += '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="'+protocol+'download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="'+width+'" height="'+height+'" id="'+this.movieId+'" align="middle"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="false" /><param name="movie" value="'+ZeroClipboard.moviePath+'" /><param name="loop" value="false" /><param name="menu" value="false" /><param name="quality" value="best" /><param name="bgcolor" value="#ffffff" /><param name="flashvars" value="'+flashvars+'"/><param name="wmode" value="transparent"/></object>';
+		}
+		else {
+			// all other browsers get an EMBED tag
+			html += '<embed id="'+this.movieId+'" src="'+ZeroClipboard.moviePath+'" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="'+width+'" height="'+height+'" name="'+this.movieId+'" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="'+flashvars+'" wmode="transparent" />';
+		}
+		return html;
+	},
+	
+	hide: function() {
+		// temporarily hide floater offscreen
+		if (this.div) {
+			this.div.style.left = '-2000px';
+		}
+	},
+	
+	show: function() {
+		// show ourselves after a call to hide()
+		this.reposition();
+	},
+	
+	destroy: function() {
+		// destroy control and floater
+		if (this.domElement && this.div) {
+			this.hide();
+			this.div.innerHTML = '';
+			
+			var body = document.getElementsByTagName('body')[0];
+			try { body.removeChild( this.div ); } catch(e) {;}
+			
+			this.domElement = null;
+			this.div = null;
+		}
+	},
+	
+	reposition: function(elem) {
+		// reposition our floating div, optionally to new container
+		// warning: container CANNOT change size, only position
+		if (elem) {
+			this.domElement = ZeroClipboard.$(elem);
+			if (!this.domElement) this.hide();
+		}
+
+		console.debug( this.domElement, this.div );
+		
+		if (this.domElement && this.div) {
+			var box = ZeroClipboard.getDOMObjectPosition(this.domElement);
+			console.debug( box );
+			var style = this.div.style;
+			style.left = '' + box.left + 'px';
+			style.top = '' + box.top + 'px';
+		}
+	},
+	
+	setText: function(newText) {
+		// set text to be copied to clipboard
+		this.clipText = newText;
+		if (this.ready) this.movie.setText(newText);
+	},
+	
+	addEventListener: function(eventName, func) {
+		// add user event listener for event
+		// event types: load, queueStart, fileStart, fileComplete, queueComplete, progress, error, cancel
+		eventName = eventName.toString().toLowerCase().replace(/^on/, '');
+		if (!this.handlers[eventName]) this.handlers[eventName] = [];
+		this.handlers[eventName].push(func);
+	},
+	
+	setHandCursor: function(enabled) {
+		// enable hand cursor (true), or default arrow cursor (false)
+		this.handCursorEnabled = enabled;
+		if (this.ready) this.movie.setHandCursor(enabled);
+	},
+	
+	setCSSEffects: function(enabled) {
+		// enable or disable CSS effects on DOM container
+		this.cssEffects = !!enabled;
+	},
+	
+	receiveEvent: function(eventName, args) {
+		// receive event from flash
+		eventName = eventName.toString().toLowerCase().replace(/^on/, '');
+				
+		// special behavior for certain events
+		switch (eventName) {
+			case 'load':
+				// movie claims it is ready, but in IE this isn't always the case...
+				// bug fix: Cannot extend EMBED DOM elements in Firefox, must use traditional function
+				this.movie = document.getElementById(this.movieId);
+				if (!this.movie) {
+					var self = this;
+					setTimeout( function() { self.receiveEvent('load', null); }, 1 );
+					return;
+				}
+				
+				// firefox on pc needs a "kick" in order to set these in certain cases
+				if (!this.ready && navigator.userAgent.match(/Firefox/) && navigator.userAgent.match(/Windows/)) {
+					var self = this;
+					setTimeout( function() { self.receiveEvent('load', null); }, 100 );
+					this.ready = true;
+					return;
+				}
+				
+				this.ready = true;
+				this.movie.setText( this.clipText );
+				this.movie.setHandCursor( this.handCursorEnabled );
+				break;
+			
+			case 'mouseover':
+				if (this.domElement && this.cssEffects) {
+					this.domElement.addClass('hover');
+					if (this.recoverActive) this.domElement.addClass('active');
+				}
+				break;
+			
+			case 'mouseout':
+				if (this.domElement && this.cssEffects) {
+					this.recoverActive = false;
+					if (this.domElement.hasClass('active')) {
+						this.domElement.removeClass('active');
+						this.recoverActive = true;
+					}
+					this.domElement.removeClass('hover');
+				}
+				break;
+			
+			case 'mousedown':
+				if (this.domElement && this.cssEffects) {
+					this.domElement.addClass('active');
+				}
+				break;
+			
+			case 'mouseup':
+				if (this.domElement && this.cssEffects) {
+					this.domElement.removeClass('active');
+					this.recoverActive = false;
+				}
+				break;
+		} // switch eventName
+		
+		if (this.handlers[eventName]) {
+			for (var idx = 0, len = this.handlers[eventName].length; idx < len; idx++) {
+				var func = this.handlers[eventName][idx];
+			
+				if (typeof(func) == 'function') {
+					// actual function reference
+					func(this, args);
+				}
+				else if ((typeof(func) == 'object') && (func.length == 2)) {
+					// PHP style object + method, i.e. [myObject, 'myMethod']
+					func[0][ func[1] ](this, args);
+				}
+				else if (typeof(func) == 'string') {
+					// name of function
+					window[func](this, args);
+				}
+			} // foreach event handler defined
+		} // user defined handler for event
+	}
+	
+};

Modified: lucene/dev/trunk/solr/webapp/web/js/lib/console.js
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/webapp/web/js/lib/console.js?rev=1298010&r1=1298009&r2=1298010&view=diff
==============================================================================
--- lucene/dev/trunk/solr/webapp/web/js/lib/console.js (original)
+++ lucene/dev/trunk/solr/webapp/web/js/lib/console.js Wed Mar  7 16:30:20 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/trunk/solr/webapp/web/js/lib/highlight.js
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/webapp/web/js/lib/highlight.js?rev=1298010&r1=1298009&r2=1298010&view=diff
==============================================================================
--- lucene/dev/trunk/solr/webapp/web/js/lib/highlight.js (original)
+++ lucene/dev/trunk/solr/webapp/web/js/lib/highlight.js Wed Mar  7 16:30:20 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

Added: lucene/dev/trunk/solr/webapp/web/js/lib/jquery.cookie.js
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/webapp/web/js/lib/jquery.cookie.js?rev=1298010&view=auto
==============================================================================
--- lucene/dev/trunk/solr/webapp/web/js/lib/jquery.cookie.js (added)
+++ lucene/dev/trunk/solr/webapp/web/js/lib/jquery.cookie.js Wed Mar  7 16:30:20 2012
@@ -0,0 +1,47 @@
+/*!
+ * jQuery Cookie Plugin
+ * https://github.com/carhartl/jquery-cookie
+ *
+ * Copyright 2011, Klaus Hartl
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://www.opensource.org/licenses/mit-license.php
+ * http://www.opensource.org/licenses/GPL-2.0
+ */
+(function($) {
+    $.cookie = function(key, value, options) {
+
+        // key and at least value given, set cookie...
+        if (arguments.length > 1 && (!/Object/.test(Object.prototype.toString.call(value)) || value === null || value === undefined)) {
+            options = $.extend({}, options);
+
+            if (value === null || value === undefined) {
+                options.expires = -1;
+            }
+
+            if (typeof options.expires === 'number') {
+                var days = options.expires, t = options.expires = new Date();
+                t.setDate(t.getDate() + days);
+            }
+
+            value = String(value);
+
+            return (document.cookie = [
+                encodeURIComponent(key), '=', options.raw ? value : encodeURIComponent(value),
+                options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
+                options.path    ? '; path=' + options.path : '',
+                options.domain  ? '; domain=' + options.domain : '',
+                options.secure  ? '; secure' : ''
+            ].join(''));
+        }
+
+        // key and possibly options given, get cookie...
+        options = value || {};
+        var decode = options.raw ? function(s) { return s; } : decodeURIComponent;
+
+        var pairs = document.cookie.split('; ');
+        for (var i = 0, pair; pair = pairs[i] && pairs[i].split('='); i++) {
+            if (decode(pair[0]) === key) return decode(pair[1] || ''); // IE saves cookies with empty string as "c; ", e.g. without "=" as opposed to EOMB, thus pair[1] may be undefined
+        }
+        return null;
+    };
+})(jQuery);

Modified: lucene/dev/trunk/solr/webapp/web/js/main.js
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/webapp/web/js/main.js?rev=1298010&r1=1298009&r2=1298010&view=diff
==============================================================================
--- lucene/dev/trunk/solr/webapp/web/js/main.js (original)
+++ lucene/dev/trunk/solr/webapp/web/js/main.js Wed Mar  7 16:30:20 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