You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ja...@apache.org on 2017/05/18 12:14:12 UTC
[16/17] lucene-solr:master: SOLR-10042: Delete old deprecated Admin UI
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/21384b5b/solr/webapp/web/css/styles/index.css
----------------------------------------------------------------------
diff --git a/solr/webapp/web/css/styles/index.css b/solr/webapp/web/css/styles/index.css
deleted file mode 100644
index 288e040..0000000
--- a/solr/webapp/web/css/styles/index.css
+++ /dev/null
@@ -1,207 +0,0 @@
-/*
-
-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.
-
-*/
-
-#content #index .bar-desc
-{
- color: #c0c0c0;
- font-weight: normal;
- margin-left: 10px;
- white-space: pre;
-}
-
-#content #index .bar-holder
-{
- box-shadow: 5px 5px 10px #c0c0c0;
- -moz-box-shadow: 5px 5px 10px #c0c0c0;
- -webkit-box-shadow: 5px 5px 10px #c0c0c0;
- height: 35px;
-}
-
-#content #index .bar-holder .bar
-{
- height: 100%;
- position: relative;
-}
-
-#content #index .bar-holder div .val
-{
- border-right: 1px solid #f00;
- display: block;
- padding-right: 5px;
- position: absolute;
- right: 0;
- top: 35px;
- white-space: nowrap;
-}
-
-#content #index .bar-holder .bar-max.bar
-{
- background-color: #f0f0f0;
-}
-
-#content #index .bar-holder .bar-max.val
-{
- border-color: #f0f0f0;
- color: #d6d6d6;
-}
-
-#content #index .bar-holder .bar-total.bar
-{
- background-color: #c0c0c0;
-}
-
-#content #index .bar-holder .bar-total.val
-{
- border-color: #c0c0c0;
- color: #c0c0c0;
-}
-
-#content #index .bar-holder .bar-used.bar
-{
- background-color: #969696;
-}
-
-#content #index .bar-holder .bar-used.val
-{
- border-color: #969696;
- color: #969696;
-}
-
-#content #index .bar-holder.bar-lvl-2 .bar-max.val { padding-top: 25px; }
-#content #index .bar-holder.bar-lvl-2 .bar-total.val { padding-top: 5px; }
-#content #index .bar-holder.bar-lvl-2 { margin-bottom: 45px; }
-
-#content #index .bar-holder.bar-lvl-3 .bar-max.val { padding-top: 45px; }
-#content #index .bar-holder.bar-lvl-3 .bar-total.val { padding-top: 25px; }
-#content #index .bar-holder.bar-lvl-3 .bar-used.val { padding-top: 5px; }
-#content #index .bar-holder.bar-lvl-3 { margin-bottom: 65px; }
-
-#content #index .loader
-{
- background-position: 0 50%;
- padding-left: 21px;
-}
-
-#content #index .index-left
-{
- float: left;
- width: 55%;
-}
-
-#content #index .index-right
-{
- float: right;
- width: 40%;
-}
-
-#content #index .data li
-{
- display: none;
- padding-top: 3px;
- padding-bottom: 3px;
-}
-
-#content #index .data li dt
-{
- float: left;
- white-space: nowrap;
- width: 20%;
-}
-
-#content #index .data li dd
-{
- float: right;
- text-overflow: ellipsis;
- overflow: hidden;
- white-space: nowrap;
- width: 80%
-}
-
-#content #index .data li dd.odd
-{
- color: #999;
-}
-
-#content #index .data dt span
-{
- background-position: 1px 50%;
- display: block;
- padding-left: 22px;
-}
-
-#content #index #instance h2 { background-image: url( ../../img/ico/server.png ); }
-#content #index #instance .start_time dt span { background-image: url( ../../img/ico/clock-select.png ); }
-
-#content #index #versions h2 { background-image: url( ../../img/ico/property.png ); }
-#content #index #versions .solr span { background-image: url( ../../img/solr-ico.png ); }
-#content #index #versions .lucene span { background-image: url( ../../img/lucene-ico.png ); }
-
-#content #index #jvm h2 { background-image: url( ../../img/ico/jar.png ); }
-#content #index #jvm .jvm_version dt span { background-image: url( ../../img/ico/jar.png ); }
-#content #index #jvm .processors dt span { background-image: url( ../../img/ico/processor.png ); }
-#content #index #jvm .command_line_args dt span { background-image: url( ../../img/ico/terminal.png ); }
-
-#content #index #system h2 { background-image: url( ../../img/ico/system-monitor.png ); }
-
-#content #index #system
-{
- position: relative;
-}
-
-#content #index #system .reload
-{
- background-image: url( ../../img/ico/arrow-circle.png );
- background-position: 50% 50%;
- display: block;
- height: 30px;
- position: absolute;
- right: 0;
- top: 0;
- width: 30px;
-}
-
-#content #index #system .reload.loader
-{
- padding-left: 0;
-}
-
-#content #index #system .reload span
-{
- display: none;
-}
-
-#content #index #system .content p
-{
- margin-top: 10px;
- margin-bottom: 5px;
-}
-
-#content #index #system .content .no-info
-{
- color: #c0c0c0;
- display: none;
- font-style: italic;
-}
-
-#content #index #jvm-memory h2 { background-image: url( ../../img/ico/memory.png ); }
-
-#content #index #jvm-memory-bar
-{
- margin-top: 20px;
-}
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/21384b5b/solr/webapp/web/css/styles/java-properties.css
----------------------------------------------------------------------
diff --git a/solr/webapp/web/css/styles/java-properties.css b/solr/webapp/web/css/styles/java-properties.css
deleted file mode 100644
index ab5b67b..0000000
--- a/solr/webapp/web/css/styles/java-properties.css
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
-
-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.
-
-*/
-
-#content #java-properties .loader
-{
- background-position: 0 50%;
- padding-left: 21px;
-}
-
-#content #java-properties li
-{
- padding-top: 3px;
- padding-bottom: 3px;
-}
-
-#content #java-properties li.odd
-{
- background-color: #f8f8f8;
-}
-
-#content #java-properties li dt
-{
- float: left;
- width: 29%;
-}
-
-#content #java-properties li dd
-{
- float: right;
- width: 70%
-}
-
-#content #java-properties li dd.odd
-{
- color: #999;
-}
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/21384b5b/solr/webapp/web/css/styles/logging.css
----------------------------------------------------------------------
diff --git a/solr/webapp/web/css/styles/logging.css b/solr/webapp/web/css/styles/logging.css
deleted file mode 100644
index 6d30957..0000000
--- a/solr/webapp/web/css/styles/logging.css
+++ /dev/null
@@ -1,391 +0,0 @@
-/*
-
-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.
-
-*/
-
-#content #logging .loader
-{
- background-position: 0 50%;
- padding-left: 21px;
-}
-
-#content #logging .block h2
-{
- background-image: url( ../../img/ico/document-text.png );
- margin-bottom: 10px;
-}
-
-#content #logging .block h2 span span
-{
- color: #c0c0c0;
- font-weight: normal;
- margin-left: 10px;
-}
-
-#content #logging #viewer
-{
- position: relative;
-}
-
-#content #logging #viewer time
-{
- white-space: pre;
-}
-
-#content #logging #viewer #footer
-{
- margin-top: 20px;
-}
-
-#content #logging #viewer #state
-{
- background-position: 0 50%;
- float: left;
- color: #c0c0c0;
- padding-left: 21px;
- width: 45%;
-}
-
-#content #logging #viewer #date-format
-{
- float: right;
-}
-
-#content #logging #viewer #date-format a
-{
- background-image: url( ../../img/ico/ui-check-box-uncheck.png );
- background-position: 0 50%;
- color: #c0c0c0;
- display: block;
- padding-left: 21px;
-}
-
-#content #logging #viewer #date-format a:hover
-{
- color: #008;
-}
-
-#content #logging #viewer #date-format a.on
-{
- background-image: url( ../../img/ico/ui-check-box.png );
- color: #333;
-}
-
-#content #logging #viewer table
-{
- border-collapse: collapse;
- width: 100%;
-}
-
-#content #logging #viewer th,
-#content #logging #viewer td a,
-#content #logging #viewer tbody .trace td
-{
- padding: 3px 10px;
-}
-
-#content #logging #viewer td
-{
- vertical-align: top;
-}
-
-#content #logging #viewer td a
-{
- display: block;
-}
-
-#content #logging #viewer thead th
-{
- font-weight: bold;
- text-align: left;
-}
-
-#content #logging #viewer tbody td,
-#content #logging #viewer tfoot td
-{
- border-top: 1px solid #f0f0f0;
-}
-
-#content #logging #viewer thead th.message
-{
- width:100%;
-}
-
-#content #logging #viewer tbody td.span a
-{
- padding-left: 0;
- padding-right: 0;
-}
-
-#content #logging #viewer tbody span
-{
- display: block;
- padding-left: 10px;
- padding-right: 10px;
-}
-
-#content #logging #viewer tbody .level-info .level span { background-color: #ebf5eb; }
-#content #logging #viewer tbody .level-warning span { background-color: #FFD930; }
-#content #logging #viewer tbody .level-severe span { background-color: #c43c35; color: #fff; }
-
-#content #logging #viewer tbody .level-debug span { background-color: #ebf5eb; }
-#content #logging #viewer tbody .level-warn span { background-color: #FFD930; }
-#content #logging #viewer tbody .level-error span { background-color: #FF6130; }
-#content #logging #viewer tbody .level-fatal span { background-color: #c43c35; }
-
-#content #logging #viewer tbody .has-trace a
-{
- cursor: pointer;
-}
-
-#content #logging #viewer tbody .has-trace a:hover
-{
- color: #008;
-}
-
-#content #logging #viewer tbody .has-trace .message a
-{
- background-image: url( ../../img/ico/information.png );
- background-position: 100% 50%;
- display: block;
- padding-right: 21px;
-}
-
-#content #logging #viewer tbody .has-trace.open .message a
-{
- background-image: url( ../../img/ico/information-white.png );
-}
-
-#content #logging #viewer tbody .trace
-{
- display: none;
-}
-
-#content #logging #viewer tbody .trace td
-{
- border-top: 0;
- color: #c0c0c0;
-}
-
-#content #logging #viewer .has-data tfoot
-{
- display: none;
-}
-
-#content #logging #viewer tfoot td
-{
- color: #c0c0c0;
-}
-
-#content #logging .jstree > li
-{
- margin-left: 0;
-}
-
-#content #logging .jstree li
-{
- position: relative;
-}
-
-#content #logging .jstree .level-finest { background-color: #d5e5fc; }
-#content #logging .jstree .level-fine { background-color: #d5fafc; }
-#content #logging .jstree .level-config { background-color: #e6fded; }
-#content #logging .jstree .level-info { background-color: #fafcd7; }
-#content #logging .jstree .level-warning { background-color: #fcecd5; }
-#content #logging .jstree .level-severe { background-color: #fcdcda; }
-#content #logging .jstree .level-off { background-color: #ffffff; }
-
-/* Log4j */
-#content #logging .jstree .level-all { background-color: #9EDAFF; }
-#content #logging .jstree .level-trace { background-color: #d5e5fc; }
-#content #logging .jstree .level-debug { background-color: #d5fafc; }
-#content #logging .jstree .level-warn { background-color: #e6fded; }
-#content #logging .jstree .level-error { background-color: #fcecd5; }
-#content #logging .jstree .level-fatal { background-color: #fcdcda; }
-
-
-#content #logging .jstree a
-{
- height: 17px;
- line-height: 17px;
- padding: 0;
- width: 90%;
-}
-
-#content #logging .jstree a:hover
-{
- color: #008;
-}
-
-#content #logging .jstree a span.ns
-{
- display: none;
-}
-
-#content #logging.ns .jstree a span.ns
-{
- display: inline;
-}
-
-#content #logging .jstree a span.name
-{
- background-position: 100% 50%;
- cursor: pointer;
- padding-right: 21px;
-}
-
-#content #logging .jstree a span.name em
-{
- color: #f00;
- font-style: normal;
- text-transform: uppercase;
-}
-
-#content #logging .jstree a.trigger.set
-{
- font-weight: bold;
-}
-
-#content #logging .jstree a:hover span.name
-{
- background-image: url( ../../img/ico/pencil-small.png );
-}
-
-#content #logging .jstree .selector-holder
-{
- position: absolute;
- top: -2px;
- z-index: 700;
-}
-
-#content #logging .jstree .selector-holder.open
-{
- background-color: #fff;
- margin-left: -19px;
- z-index: 800;
-}
-
-#content #logging .jstree li .selector-holder { left: 440px; }
-#content #logging .jstree li li .selector-holder { left: 422px; }
-#content #logging .jstree li li li .selector-holder { left: 404px; }
-#content #logging .jstree li li li li .selector-holder { left: 386px; }
-#content #logging .jstree li li li li li .selector-holder { left: 368px; }
-#content #logging .jstree li li li li li li .selector-holder { left: 350px; }
-#content #logging .jstree li li li li li li li .selector-holder { left: 332px; }
-#content #logging .jstree li li li li li li li li .selector-holder { left: 314px; }
-
-#content #logging .jstree .selector
-{
- border: 1px solid transparent;
- position: relative;
-}
-
-#content #logging .jstree .open .selector
-{
- border-color: #f0f0f0;
- box-shadow: 5px 5px 10px #c0c0c0;
- -moz-box-shadow: 5px 5px 10px #c0c0c0;
- -webkit-box-shadow: 5px 5px 10px #c0c0c0;
-}
-
-#content #logging .jstree .selector a
-{
- display: block;
- padding: 2px;
- width: auto;
-}
-
-#content #logging .jstree .selector .close
-{
- display: none;
-}
-
-#content #logging .jstree .open .selector .close
-{
- background-image: url( ../../img/ico/cross-0.png );
- background-position: 50% 50%;
- display: block;
- position: absolute;
- right: -25px;
- top: 0;
- width: 20px;
-}
-
-#content #logging .jstree .open .selector .close:hover
-{
- background-image: url( ../../img/ico/cross-1.png );
-}
-
-#content #logging .jstree .open .selector .close span
-{
- display: none;
-}
-
-#content #logging .jstree .open .selector a.trigger
-{
- display: none;
-}
-
-#content #logging .jstree .selector ul
-{
- display: none;
-}
-
-#content #logging .jstree .open .selector ul
-{
- display: block;
-}
-
-#content #logging .jstree .selector ul li
-{
- background: none;
- margin-left: 0;
-}
-
-#content #logging .jstree .selector ul li a
-{
- background-image: url( ../../img/ico/ui-radio-button-uncheck.png );
- background-position: 2px 50%;
- padding-left: 21px;
-}
-
-#content #logging .jstree .selector ul li a.level
-{
- background-color: #f0f0f0;
-}
-
-#content #logging .jstree .selector ul li a:hover
-{
- background-image: url( ../../img/ico/ui-radio-button.png );
-}
-
-#content #logging .jstree .selector li.unset
-{
- border-top: 1px solid #f0f0f0;
-}
-
-#content #logging .jstree .selector li.unset a
-{
- background-image: url( ../../img/ico/cross-0.png );
- background-position: 4px 50%;
-}
-
-#content #logging .jstree .selector li.unset a:hover
-{
- background-image: url( ../../img/ico/cross-1.png );
- color: #800;
-}
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/21384b5b/solr/webapp/web/css/styles/menu.css
----------------------------------------------------------------------
diff --git a/solr/webapp/web/css/styles/menu.css b/solr/webapp/web/css/styles/menu.css
deleted file mode 100644
index f4fa68f..0000000
--- a/solr/webapp/web/css/styles/menu.css
+++ /dev/null
@@ -1,329 +0,0 @@
-/*
-
-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.
-
-*/
-
-#menu-wrapper
-{
- position: fixed;
- top: 120px;
- width: 150px;
-}
-
-.scroll #menu-wrapper
-{
- position: absolute;
- top: 90px;
-}
-
-.has-environment #menu-wrapper
-{
- top: 160px;
-}
-
-#menu-wrapper a
-{
- display: block;
- padding: 4px 2px;
- overflow: hidden;
- text-overflow: ellipsis;
-}
-
-#core-selector
-{
- margin-top: 20px;
- padding-right: 10px;
-}
-
-#core-selector a
-{
- padding: 0;
- padding-left: 8px;
-}
-
-#core-selector select
-{
- width: 100%;
-}
-
-#core-selector #has-no-cores
-{
- display: none;
-}
-
-#core-selector #has-no-cores a
-{
- background-image: url( ../../img/ico/database--plus.png );
-}
-
-#core-selector #has-no-cores span
-{
- color: #c0c0c0;
- display: block;
-}
-
-#menu-wrapper .active p
-{
- background-color: #fafafa;
- border-color: #c0c0c0;
-}
-
-#menu-wrapper p a,
-#menu a
-{
- background-position: 5px 50%;
- padding-left: 26px;
- padding-top: 5px;
- padding-bottom: 5px;
-}
-
-#menu-wrapper p a:hover
-{
- background-color: #f0f0f0;
-}
-
-#menu-wrapper .active p a
-{
- background-color: #c0c0c0;
- font-weight: bold;
-}
-
-#menu p.loader
-{
- background-position: 5px 50%;
- color: #c0c0c0;
- margin-top: 5px;
- padding-left: 26px;
-}
-
-#menu p a small
-{
- color: #b5b5b5;
- font-weight: normal;
-}
-
-#menu p a small span.txt
-{
- display: none;
-}
-
-#menu p a small:hover span.txt
-{
- display: inline;
-}
-
-#menu .busy
-{
- border-right-color: #f6f5d9;
-}
-
-#menu .busy p a
-{
- background-color: #f6f5d9;
- background-image: url( ../../img/ico/status-away.png );
-}
-
-#menu .offline
-{
- border-right-color: #eccfcf;
-}
-
-#menu .offline p a
-{
- background-color: #eccfcf;
- background-image: url( ../../img/ico/status-busy.png );
-}
-
-#menu .online
-{
- border-right-color: #cfecd3;
-}
-
-#menu .online p a
-{
- background-color: #cfecd3;
- background-image: url( ../../img/ico/status.png );
-}
-
-#menu .ping small
-{
- color: #000
-}
-
-#menu li
-{
- border-bottom: 1px solid #f0f0f0;
-}
-
-#menu li:last-child
-{
- border-bottom: 0;
-}
-
-#menu li.optional
-{
- display: none;
-}
-
-#core-menu p
-{
- border-top: 1px solid #f0f0f0;
-}
-
-#core-menu li:first-child p
-{
- border-top: 0;
-}
-
-#core-menu p a
-{
- background-image: url( ../../img/ico/status-offline.png );
-}
-
-#core-menu .active p a
-{
- background-image: url( ../../img/ico/box.png );
-}
-
-#core-menu ul,
-#menu ul
-{
- display: none;
- padding-top: 5px;
- padding-bottom: 10px;
-}
-
-#core-menu .active ul,
-#menu .active ul
-{
- display: block;
-}
-
-#menu ul li
-{
- border-bottom: 0;
-}
-
-#core-menu ul li a,
-#menu ul li a
-{
- background-position: 7px 50%;
- border-bottom: 1px solid #f0f0f0;
- color: #bbb;
- margin-left: 15px;
- padding-left: 26px;
-}
-
-#core-menu ul li:last-child a,
-#menu ul li:last-child a
-{
- border-bottom: 0;
-}
-
-#core-menu ul li a:hover,
-#menu ul li a:hover
-{
- background-color: #f0f0f0;
- color: #333;
-}
-
-#core-menu ul li.active a,
-#menu ul li.active a
-{
- background-color: #d0d0d0;
- border-color: #d0d0d0;
- color: #333;
-}
-
-#menu #index.global p a { background-image: url( ../../img/ico/dashboard.png ); }
-
-#menu #logging.global p a { background-image: url( ../../img/ico/inbox-document-text.png ); }
-#menu #logging.global .level a { background-image: url( ../../img/ico/gear.png ); }
-
-#menu #java-properties.global p a { background-image: url( ../../img/ico/jar.png ); }
-
-#menu #threads.global p a { background-image: url( ../../img/ico/ui-accordion.png ); }
-
-#menu #cores.global p a { background-image: url( ../../img/ico/databases.png ); }
-
-#menu #cloud.global p a { background-image: url( ../../img/ico/network-cloud.png ); }
-#menu #cloud.global .tree a { background-image: url( ../../img/ico/folder-tree.png ); }
-#menu #cloud.global .graph a { background-image: url( ../../img/ico/molecule.png ); }
-#menu #cloud.global .rgraph a { background-image: url( ../../img/ico/asterisk.png ); }
-#menu #cloud.global .dump a { background-image: url( ../../img/ico/download-cloud.png ); }
-
-#core-menu .ping.error a
-{
-
- background-color: #ffcccc;
- background-image: url( ../../img/ico/system-monitor--exclamation.png );
- border-color: #ffcccc;
- cursor: help;
-}
-
-#core-menu .overview a { background-image: url( ../../img/ico/home.png ); }
-#core-menu .query a { background-image: url( ../../img/ico/magnifier.png ); }
-#core-menu .analysis a { background-image: url( ../../img/ico/funnel.png ); }
-#core-menu .documents a { background-image: url( ../../img/ico/documents-stack.png ); }
-#core-menu .files a { background-image: url( ../../img/ico/folder.png ); }
-#core-menu .schema-browser a { background-image: url( ../../img/ico/book-open-text.png ); }
-#core-menu .replication a { background-image: url( ../../img/ico/node.png ); }
-#core-menu .distribution a { background-image: url( ../../img/ico/node-select.png ); }
-#core-menu .ping a { background-image: url( ../../img/ico/system-monitor.png ); }
-#core-menu .logging a { background-image: url( ../../img/ico/inbox-document-text.png ); }
-#core-menu .plugins a { background-image: url( ../../img/ico/block.png ); }
-#core-menu .dataimport a { background-image: url( ../../img/ico/document-import.png ); }
-#core-menu .segments a { background-image: url( ../../img/ico/construction.png ); }
-
-
-#content #navigation
-{
- border-right: 1px solid #e0e0e0;
-}
-
-#content #navigation a
-{
- display: block;
- padding: 4px 2px;
-}
-
-#content #navigation .current
-{
- border-color: #e0e0e0;
-}
-
-#content #navigation a
-{
- background-position: 5px 50%;
- padding-left: 26px;
- padding-top: 5px;
- padding-bottom: 5px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-#content #navigation a:hover
-{
- background-color: #f0f0f0;
-}
-
-#content #navigation .current a
-{
- background-color: #e0e0e0;
- font-weight: bold;
-}
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/21384b5b/solr/webapp/web/css/styles/plugins.css
----------------------------------------------------------------------
diff --git a/solr/webapp/web/css/styles/plugins.css b/solr/webapp/web/css/styles/plugins.css
deleted file mode 100644
index f8ea769..0000000
--- a/solr/webapp/web/css/styles/plugins.css
+++ /dev/null
@@ -1,195 +0,0 @@
-/*
-
-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.
-
-*/
-
-#content #plugins #navigation
-{
- width: 20%;
-}
-
-#content #plugins #navigation .cache a { background-image: url( ../../img/ico/disk-black.png ); }
-#content #plugins #navigation .core a { background-image: url( ../../img/ico/wooden-box.png ); }
-#content #plugins #navigation .other a { background-image: url( ../../img/ico/zone.png ); }
-#content #plugins #navigation .highlighting a { background-image: url( ../../img/ico/highlighter-text.png ); }
-#content #plugins #navigation .updatehandler a{ background-image: url( ../../img/ico/arrow-circle.png ); }
-#content #plugins #navigation .queryhandler a { background-image: url( ../../img/ico/magnifier.png ); }
-#content #plugins #navigation .queryparser a { background-image: url( ../../img/ico/asterisk.png ); }
-
-#content #plugins #navigation .PLUGINCHANGES { margin-top: 20px; }
-#content #plugins #navigation .PLUGINCHANGES a { background-image: url( ../../img/ico/eye.png ); }
-#content #plugins #navigation .RELOAD a { background-image: url( ../../img/ico/arrow-circle.png ); }
-
-
-#content #plugins #navigation a
-{
- position: relative;
-}
-
-#content #plugins #navigation a span
-{
- background-color: #bba500;
- border-radius: 5px;
- color: #fff;
- font-size: 10px;
- font-weight: normal;
- line-height: 1.4em;
- padding-left: 4px;
- padding-right: 4px;
- position: absolute;
- right: 5px;
- top: 7px;
-}
-
-#content #plugins #frame
-{
- float: right;
- width: 78%;
-}
-
-#content #plugins #frame .entry
-{
- margin-bottom: 10px;
-}
-
-#content #plugins #frame .entry:last-child
-{
- margin-bottom: 0;
-}
-
-#content #plugins #frame .entry a
-{
- background-image: url( ../../img/ico/chevron-small-expand.png );
- background-position: 0 50%;
- display: block;
- font-weight: bold;
- padding-left: 21px;
-}
-
-#content #plugins #frame .entry.changed a span
-{
- color: #bba500;
-}
-
-#content #plugins #frame .entry.expanded a
-{
- background-image: url( ../../img/ico/chevron-small.png );
-}
-
-#content #plugins #frame .entry.expanded ul
-{
- display: block;
-}
-
-#content #plugins #frame .entry ul
-{
- border-left: 9px solid #f0f3ff;
- display: none;
- margin-left: 3px;
- padding-top: 5px;
- padding-left: 10px;
-}
-
-#content #plugins #frame .entry li
-{
- padding-top: 2px;
- padding-bottom: 2px;
-}
-
-#content #plugins #frame .entry li.stats
-{
- border-top: 1px solid #c0c0c0;
- margin-top: 5px;
- padding-top: 5px;
-}
-
-#content #plugins #frame .entry li.odd
-{
- background-color: #f8f8f8;
-}
-
-#content #plugins #frame .entry dt,
-#content #plugins #frame .entry .stats span
-{
- float: left;
- width: 11%;
-}
-
-#content #plugins #frame .entry dd,
-#content #plugins #frame .entry .stats ul
-{
- float: right;
- width: 88%;
-}
-
-#content #plugins #frame .entry .stats ul
-{
- border-left: 0;
- margin: 0;
- padding: 0;
-}
-
-#content #plugins #frame .entry .stats dt
-{
- width: 27%;
-}
-
-#content #plugins #frame .entry .stats dd
-{
- width: 72%;
-}
-
-#content #plugins #frame .entry.expanded a.linker {
- background-image: none;
- background-position: 0 0;
- display: inline;
- font-weight: normal;
- padding:0px;
-}
-
-#content #plugins #frame .entry.expanded a.linker:hover {
- background-color:#F0F3FF;
-}
-
-#recording
-{
- display: none;
-}
-
-#recording .wrapper
-{
- padding: 30px;
-}
-
-#recording p
-{
- background-position: 0 50%;
- float: left;
- padding-left: 21px;
- padding-top: 7px;
- padding-bottom: 7px;
-}
-
-#recording button
-{
- float: right;
-}
-
-#recording button span
-{
- background-image: url( ../../img/ico/new-text.png );
-}
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/21384b5b/solr/webapp/web/css/styles/query.css
----------------------------------------------------------------------
diff --git a/solr/webapp/web/css/styles/query.css b/solr/webapp/web/css/styles/query.css
deleted file mode 100644
index 9fd7913..0000000
--- a/solr/webapp/web/css/styles/query.css
+++ /dev/null
@@ -1,173 +0,0 @@
-/*
-
-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.
-
-*/
-
-#content #query
-{
- background-image: url( ../../img/div.gif );
- background-position: 22% 0;
- background-repeat: repeat-y;
-}
-
-#content #query #form
-{
- float: left;
- width: 21%;
-}
-
-#content #query #form label
-{
- cursor: pointer;
- display: block;
- margin-top: 5px;
-}
-
-#content #query #form input,
-#content #query #form select,
-#content #query #form textarea
-{
- margin-bottom: 2px;
- width: 100%;
-}
-
-#content #query #form input,
-#content #query #form textarea
-{
- width: 98%;
-}
-
-#content #query #form .multiple input
-{
- float: left;
- width: 80%
-}
-
-#content #query #form .multiple .buttons
-{
- float: right;
- width: 16%;
-}
-
-
-#content #query #form .multiple a
-{
- background-position: 50% 50%;
- display: block;
- height: 25px;
- width: 49%;
-}
-
-#content #query #form .multiple a span
-{
- display: none;
-}
-
-#content #query #form .multiple a.add
-{
- background-image: url( ../../img/ico/plus-button.png );
- float: right;
-}
-
-#content #query #form .multiple a.rem
-{
- background-image: url( ../../img/ico/minus-button.png );
- float: left;
-}
-
-#content #query #form #start
-{
- float: left;
- width: 45%;
-}
-
-#content #query #form #rows
-{
- float: right;
- width: 45%;
-}
-
-#content #query #form .checkbox input
-{
- 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: 5px;
-}
-
-#content #query #form fieldset.common
-{
- margin-top: 10px;
-}
-
-#content #query #form fieldset legend,
-#content #query #form .optional.expanded legend
-{
- display: block;
- margin-left: 10px;
- padding: 0px 5px;
-}
-
-#content #query #form fieldset legend label
-{
- margin-top: 0;
-}
-
-#content #query #form fieldset .fieldset
-{
- border-bottom: 1px solid #f0f0f0;
- margin-bottom: 5px;
- padding-bottom: 10px;
-}
-
-#content #query #form .optional
-{
- border: 0;
-}
-
-#content #query #form .optional .fieldset
-{
- display: none;
-}
-
-#content #query #form .optional legend
-{
- margin-left: 0;
- padding-left: 0;
-}
-
-#content #query #form .optional.expanded .fieldset
-{
- display: block;
-}
-
-#content #query #result
-{
- display: none;
- float: right;
- width: 77%;
-}
-
-#content #query #result #response
-{
-}
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/21384b5b/solr/webapp/web/css/styles/replication.css
----------------------------------------------------------------------
diff --git a/solr/webapp/web/css/styles/replication.css b/solr/webapp/web/css/styles/replication.css
deleted file mode 100644
index 7379504..0000000
--- a/solr/webapp/web/css/styles/replication.css
+++ /dev/null
@@ -1,515 +0,0 @@
-/*
-
-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.
-
-*/
-
-#content #replication
-{
- background-image: url( ../../img/div.gif );
- background-position: 21% 0;
- background-repeat: repeat-y;
-}
-
-#content #replication #frame
-{
- float: right;
- width: 78%;
-}
-
-#content #replication #navigation
-{
- border-right: 0;
- 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;
-}
-
-#content #replication .block
-{
- border-bottom: 1px solid #c0c0c0;
- margin-bottom: 20px;
- padding-bottom: 20px;
-}
-
-#content #replication .block.last
-{
- border-bottom: 0;
-}
-
-#content #replication .masterOnly,
-#content #replication .slaveOnly
-{
- display: none;
-}
-
-#content #replication.master .masterOnly
-{
- display: block;
-}
-
-#content #replication.slave .slaveOnly
-{
- display: block;
-}
-
-#content #replication .replicating
-{
- display: none;
-}
-
-#content #replication.replicating .replicating
-{
- display: block;
-}
-
-#content #replication #progress
-{
- padding-bottom: 80px;
- position: relative;
-}
-
-#content #replication #progress .info
-{
- padding: 5px;
-}
-
-#content #replication #progress #start
-{
- margin-left: 100px;
- border-left: 1px solid #c0c0c0;
-}
-
-#content #replication #progress #bar
-{
- 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;
-}
-
-#content #replication #progress #bar #bar-info
-{
- 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;
-}
-
-#content #replication #progress #speed
-{
- 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;
-}
-
-#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;
-}
-
-#content #replication #progress #bar #done #done-info
-{
- 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;
-}
-
-#content #replication .block .label,
-#content #replication #current-file .file,
-#content #replication #current-file .progress,
-#content #replication #iterations .iterations
-{
- float: left;
-}
-
-#content #replication .block .label
-{
- width: 100px;
-}
-
-#content #replication .block .label span
-{
- display: block;
- padding-left: 21px;
-}
-
-#content #replication #current-file
-{
- border-top: 1px solid #f0f0f0;
- margin-top: 10px;
- padding-top: 10px;
-}
-
-#content #replication #current-file .progress
-{
- color: #c0c0c0;
- margin-left: 20px;
-}
-
-#content #replication #iterations .label span
-{
- background-image: url( ../../img/ico/node-design.png );
-}
-
-#content #replication #iterations .iterations li
-{
- background-position: 100% 50%;
- display: none;
- padding-right: 21px;
-}
-
-#content #replication #iterations .iterations.expanded li
-{
- display: block;
-}
-
-#content #replication #iterations .iterations .latest
-{
- display: block;
-}
-
-#content #replication #iterations .iterations .replicated
-{
- color: #80c480;
-}
-
-#content #replication #iterations .iterations ul:hover .replicated,
-#content #replication #iterations .iterations .replicated.latest
-{
- color: #080;
-}
-
-#content #replication #iterations .iterations .replicated.latest
-{
- background-image: url( ../../img/ico/tick.png );
-}
-
-#content #replication #iterations .iterations .failed
-{
- color: #c48080;
-}
-
-#content #replication #iterations .iterations ul:hover .failed,
-#content #replication #iterations .iterations .failed.latest
-{
- color: #800;
-}
-
-#content #replication #iterations .iterations .failed.latest
-{
- 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;
-}
-
-#content #replication #iterations .iterations a span
-{
- 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;
-}
-
-#content #replication #iterations .iterations.expanded a span.expand
-{
- display: none;
-}
-
-#content #replication #iterations .iterations.expanded a span.collapse
-{
- background-image: url( ../../img/ico/chevron-small.png );
- display: block;
-}
-
-#content #replication #details table
-{
- margin-left: 20px;
- border-collapse: collapse;
-}
-
-#content #replication #details table th
-{
- text-align: left;
-}
-
-#content #replication.slave #details table .slaveOnly
-{
- display: table-row;
-}
-
-#content #replication #details table thead th
-{
- color: #c0c0c0;
-}
-
-#content #replication #details table thead th,
-#content #replication #details table tbody td
-{
- padding-right: 20px;
-}
-
-#content #replication #details table thead td,
-#content #replication #details table thead th,
-#content #replication #details table tbody th,
-#content #replication #details table tbody td div
-{
- padding-top: 3px;
- padding-bottom: 3px;
-}
-
-#content #replication #details table tbody td,
-#content #replication #details table tbody th
-{
- border-top: 1px solid #f0f0f0;
-}
-
-#content #replication #details table thead td
-{
- 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;
-}
-
-#content #replication #details table tbody th
-{
- padding-right: 10px;
- text-align: right;
- white-space: nowrap;
-}
-
-#content #replication #details table tbody .size
-{
- text-align: right;
- white-space: nowrap;
-}
-
-#content #replication #details table tbody .generation div
-{
- text-align: center;
-}
-
-#content #replication #details table tbody .diff div
-{
- background-color: #fcfcc9;
- padding-left: 1px;
- padding-right: 1px;
-}
-
-#content #replication .settings .label span
-{
- background-image: url( ../../img/ico/hammer-screwdriver.png );
-}
-
-#content #replication .settings ul,
-#content #replication .settings dl dt,
-#content #replication .settings dl dd
-{
- float: left;
-}
-
-#content #replication .settings ul li
-{
- 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;
-}
-
-#content #replication .settings dl dt
-{
- clear: left;
- margin-right: 5px;
- width: 120px;
-}
-
-#content #replication .settings dl .ico
-{
- background-position: 0 50%;
- padding-left: 21px;
-}
-
-#content #replication .settings dl .ico.ico-0
-{
- background-image: url( ../../img/ico/slash.png );
-}
-
-#content #replication .settings dl .ico.ico-1
-{
- 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
-{
- display: block;
- margin-bottom: 10px;
-}
-
-#content #replication #navigation button.optional
-{
- display: none;
-}
-
-#content #replication #navigation .replicate-now span
-{
- background-image: url( ../../img/ico/document-convert.png );
-}
-
-#content #replication #navigation .abort-replication span
-{
- background-image: url( ../../img/ico/hand.png );
-}
-
-#content #replication #navigation .disable-polling span
-{
- background-image: url( ../../img/ico/cross.png );
-}
-
-#content #replication #navigation .enable-polling span
-{
- background-image: url( ../../img/ico/tick.png );
-}
-
-#content #replication #navigation .disable-replication span
-{
- background-image: url( ../../img/ico/cross.png );
-}
-
-#content #replication #navigation .enable-replication span
-{
- background-image: url( ../../img/ico/tick.png );
-}
-
-#content #replication #navigation .refresh-status span
-{
- background-image: url( ../../img/ico/arrow-circle.png );
-}
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/21384b5b/solr/webapp/web/css/styles/schema-browser.css
----------------------------------------------------------------------
diff --git a/solr/webapp/web/css/styles/schema-browser.css b/solr/webapp/web/css/styles/schema-browser.css
deleted file mode 100644
index e43de40..0000000
--- a/solr/webapp/web/css/styles/schema-browser.css
+++ /dev/null
@@ -1,578 +0,0 @@
-/*
-
-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.
-
-*/
-
-#content #schema-browser .loader
-{
- 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;
-}
-
-#content #schema-browser #data
-{
- float: right;
- width: 78%;
-}
-
-#content #schema-browser #related
-{
- float: left;
- width: 20%;
-}
-
-#content #schema-browser #related select
-{
- width: 100%;
-}
-
-#content #schema-browser #related select optgroup
-{
- font-style: normal;
- padding: 5px;
-}
-
-#content #schema-browser #related select option
-{
- padding-left: 10px;
-}
-
-#content #schema-browser #related #f-df-t
-{
- border-bottom: 1px solid #f0f0f0;
- padding-bottom: 15px;
-}
-
-#content #schema-browser #related .ukf-dsf dt
-{
- display: none;
-}
-
-#content #schema-browser #related dl
-{
- margin-top: 15px;
-}
-
-#content #schema-browser #related dl dt,
-#content #schema-browser #related dl dd a
-{
- color: #c0c0c0;
-}
-
-#content #schema-browser #related dl dt
-{
- font-weight: bold;
- margin-top: 5px;
-}
-
-#content #schema-browser #related dl dd a
-{
- display: block;
- padding-left: 10px;
-}
-
-#content #schema-browser #related dl dd a:hover
-{
- background-color: #f8f8f8;
-}
-
-#content #schema-browser #related .field .field,
-#content #schema-browser #related .field .field a,
-#content #schema-browser #related .dynamic-field .dynamic-field,
-#content #schema-browser #related .dynamic-field .dynamic-field a,
-#content #schema-browser #related .type .type,
-#content #schema-browser #related .type .type a,
-#content #schema-browser #related .active,
-#content #schema-browser #related .active a
-{
- color: #333;
-}
-
-#content #schema-browser #related .copyfield,
-#content #schema-browser #related .copyfield a
-{
- color: #666;
-}
-
-#content #schema-browser #data
-{
- display: none;
-}
-
-#content #schema-browser #data #index dt
-{
- display: none;
- float: left;
- margin-right: 5px;
- width: 150px;
-}
-
-#content #schema-browser #data #field .field-options
-{
- margin-bottom: 10px;
-}
-
-#content #schema-browser #data #field .field-options .head h2
-{
- padding-left: 5px;
-}
-
-#content #schema-browser #data #field .partial
-{
- display: none;
-}
-
-#content #schema-browser #data #field .partial p
-{
- background-image: url( ../../img/ico/exclamation-button.png );
- background-position: 0 50%;
- padding-left: 21px;
-}
-
-#content #schema-browser #data #field .field-options .options dt,
-#content #schema-browser #data #field .field-options .options dd
-{
- float: left;
-}
-
-#content #schema-browser #data #field .field-options .options dt
-{
- clear: left;
- display: none;
- margin-right: 5px;
- width: 100px;
-}
-
-#content #schema-browser #data #field .field-options .flags
-{
- margin-top: 10px;
- margin-bottom: 20px;
-}
-
-#content #schema-browser #data #field .field-options .flags thead td
-{
- color: #c0c0c0;
- padding-right: 5px;
- width: 100px;
-}
-
-#content #schema-browser #data #field .field-options .flags tbody td,
-#content #schema-browser #data #field .field-options .flags th
-{
- padding: 2px 5px;
-}
-
-#content #schema-browser #data #field .field-options .flags thead td,
-#content #schema-browser #data #field .field-options .flags tbody th
-{
- padding-left: 0;
-}
-
-#content #schema-browser #data #field .field-options .flags thead th,
-#content #schema-browser #data #field .field-options .flags tbody td
-{
- border-left: 1px solid #f0f0f0;
-}
-
-#content #schema-browser #data #field .field-options .flags tbody th,
-#content #schema-browser #data #field .field-options .flags tbody td
-{
- border-top: 1px solid #f0f0f0;
-}
-
-#content #schema-browser #data #field .field-options .flags tbody .check
-{
- background-color: #fafdfa;
- background-image: url( ../../img/ico/tick.png );
- background-position: 50% 50%;
- text-align: center;
-}
-
-#content #schema-browser #data #field .field-options .flags tbody .check span
-{
- display: none;
-}
-
-#content #schema-browser #data #field .field-options .flags tbody .text
-{
- color: #c0c0c0;
-}
-
-#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;
-}
-
-#content #schema-browser #data #field .field-options .analyzer p,
-#content #schema-browser #data #field .field-options .analyzer dl
-{
- float: left;
-}
-
-#content #schema-browser #data #field .field-options .analyzer p
-{
- margin-right: 5px;
- text-align: right;
- width: 125px;
- white-space: pre;
-}
-
-#content #schema-browser #data #field .field-options .analyzer p a
-{
- cursor: auto;
-}
-
-#content #schema-browser #data #field .field-options .analyzer p a.analysis
-{
- cursor: pointer;
- display: block;
-}
-
-#content #schema-browser #data #field .field-options .analyzer p a.analysis span
-{
- background-image: url( ../../img/ico/question-white.png );
- background-position: 0 50%;
- padding-left: 21px;
-}
-
-#content #schema-browser #data #field .field-options .analyzer p a.analysis:hover span
-{
- background-image: url( ../../img/ico/question.png );
- color: #008;
-}
-
-#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;
-}
-
-#content #schema-browser #data #field .field-options .analyzer ul
-{
- clear: left;
- display: none;
- margin-left: 55px;
- 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;
-}
-
-#content #schema-browser #data #field .field-options .analyzer ul p
-{
- color: #999;
- margin-right: 5px;
- text-align: right;
- width: 70px;
-}
-
-#content #schema-browser #data #field .field-options .analyzer ul dd
-{
- 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;
-}
-
-#content #schema-browser #data #field .field-options .analyzer ul dd.ico-0
-{
- 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 );
-}
-
-#content #schema-browser #data #field .head
-{
- margin-bottom: 5px;
-}
-
-#content #schema-browser #data #field .terminfo-holder
-{
- border-top: 1px solid #c0c0c0;
- padding-top: 10px;
-}
-
-#content #schema-browser #data #field .terminfo-holder .trigger
-{
- float: left;
- width: 140px;
-}
-
-#content #schema-browser #data #field .terminfo-holder .trigger button span
-{
- background-image: url( ../../img/ico/information.png );
-}
-
-#content #schema-browser #data #field .terminfo-holder .status
-{
- border-left: 1px solid #f0f0f0;
- display: none;
- float: left;
- padding-left: 20px;
- padding-right: 20px;
-}
-
-#content #schema-browser #data #field .terminfo-holder.disabled .trigger button span
-{
- background-image: url( ../../img/ico/prohibition.png );
-}
-
-#content #schema-browser #data #field .terminfo-holder.disabled .status
-{
- display: block;
-}
-
-#content #schema-browser #data #field .terminfo-holder .trigger .autoload
-{
- display: none;
-}
-
-#content #schema-browser #data #field .terminfo-holder.loaded .trigger .autoload
-{
- 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 .terminfo-holder .trigger .autoload:hover
-{
- color: #008;
-}
-
-#content #schema-browser #data #field .terminfo-holder .trigger .autoload.on
-{
- background-image: url( ../../img/ico/ui-check-box.png );
- color: #333;
-}
-
-#content #schema-browser #data #field .topterms-holder,
-#content #schema-browser #data #field .histogram-holder
-{
- border-left: 1px solid #f0f0f0;
- display: none;
- float: left;
- padding-left: 20px;
- padding-right: 20px;
-}
-
-#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 #data #field .topterms-holder .head #query_link
-{
- background-image: url( ../../img/ico/question-white.png );
- background-position: 0 50%;
- color: #c0c0c0;
- padding-left: 21px;
- margin-left: 5px;
-}
-
-#content #schema-browser #data #field .topterms-holder .head #query_link:hover
-{
- background-image: url( ../../img/ico/question.png );
-}
-
-
-#content #schema-browser #data #field .topterms-holder .head #query_link span
-{
- visibility: hidden;
-}
-
-#content #schema-browser #data #field .topterms-holder .head #query_link:hover span
-{
- visibility: visible;
-}
-
-#content #schema-browser .topterms-holder li
-{
- border-top: 1px solid #999;
- margin-bottom: 5px;
-}
-
-/* possible overwrite with inline style */
-#content #schema-browser .topterms-holder li p
-{
- background-color: #999;
- color: #fff;
- float: left;
-}
-
-#content #schema-browser .topterms-holder li p span
-{
- display: block;
- padding-right: 2px;
- text-align: right;
-}
-
-/* possible overwrite with inline style */
-#content #schema-browser .topterms-holder li ul
-{
- margin-left: 30px;
-}
-
-#content #schema-browser .topterms-holder li li
-{
- 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 a
-{
- display: block;
- padding-left: 2px;
- padding-right: 2px;
-}
-
-#content #schema-browser .topterms-holder li li a:hover
-{
- background-color: #c0c0c0;
-}
-
-#content #schema-browser #data #field .histogram-holder ul
-{
- margin-left: 25px;
-}
-
-#content #schema-browser #data #field .histogram-holder li
-{
- margin-bottom: 2px;
- position: relative;
- width: 150px;
-}
-
-#content #schema-browser #data #field .histogram-holder li.odd
-{
- background-color: #f0f0f0;
-}
-
-#content #schema-browser #data #field .histogram-holder li dl,
-#content #schema-browser #data #field .histogram-holder li dt
-{
- padding-top: 1px;
- padding-bottom: 1px;
-}
-
-#content #schema-browser #data #field .histogram-holder li dl
-{
- background-color: #c0c0c0;
- min-width: 1px;
-}
-
-#content #schema-browser #data #field .histogram-holder li dt
-{
- color: #a0a0a0;
- position: absolute;
- overflow: hidden;
- left: -25px;
- top: 0px;
-}
-
-#content #schema-browser #data #field .histogram-holder li dt span
-{
- display: block;
- padding-right: 4px;
- text-align: right;
-}
-
-#content #schema-browser #data #field .histogram-holder li dd
-{
- clear: left;
- float: left;
- margin-left: 2px;
- white-space: nowrap;
-}
-
-#content #schema-browser #data #field .histogram-holder li:hover dl
-{
- background-color: #b0b0b0;
-}
-
-#content #schema-browser #data #field .histogram-holder li:hover dt
-{
- color: #333;
-}
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/21384b5b/solr/webapp/web/css/styles/segments.css
----------------------------------------------------------------------
diff --git a/solr/webapp/web/css/styles/segments.css b/solr/webapp/web/css/styles/segments.css
deleted file mode 100644
index 820f882..0000000
--- a/solr/webapp/web/css/styles/segments.css
+++ /dev/null
@@ -1,145 +0,0 @@
-/*
-
-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.
-
-*/
-
-#content #segments .loader
-{
- background-position: 0 50%;
- padding-left: 21px;
-}
-
-#content #segments .reload
-{
- background-image: url( ../../img/ico/arrow-circle.png );
- background-position: 50% 50%;
- display: block;
- height: 30px;
- position: absolute;
- right: 10px;
- top: 10px;
- width: 30px;
-}
-
-#content #segments .reload.loader
-{
- padding-left: 0;
-}
-
-#content #segments .reload span
-{
- display: none;
-}
-
-#content #segments #result
-{
- width: 77%;
-}
-
-#content #segments #result #response
-{
- margin-left: 25px;
-}
-
-#content #segments .segments-holder ul {
- margin-left: 25px;
-}
-#content #segments .segments-holder li {
- margin-bottom: 2px;
- position: relative;
- width: 100%;
-}
-
-#content #segments .segments-holder li .toolitp {
- display: none;
- background: #C8C8C8;
- position: absolute;
- z-index: 1000;
- width:220px;
- height:120px;
- margin-left: 100%;
- opacity: .8;
- padding: 5px;
- border: 1px solid;
- border-radius: 5px;
-}
-
-#content #segments .segments-holder li .toolitp .label {
- float: left;
- width: 20%;
- opacity: 1;
-}
-
-#content #segments .segments-holder li:hover .toolitp {
- display:block;
-}
-
-#content #segments .segments-holder li dl,
-#content #segments .segments-holder li dt {
- padding-bottom: 1px;
- padding-top: 1px;
-}
-#content #segments .segments-holder li dl {
- min-width: 1px;
-}
-#content #segments .segments-holder li dt {
- color: #a0a0a0;
- left: -45px;
- overflow: hidden;
- position: absolute;
- top: 0;
-}
-#content #segments .segments-holder li dt div {
- display: block;
- padding-right: 4px;
- text-align: right;
-}
-#content #segments .segments-holder li dd {
- clear: left;
- float: left;
- margin-left: 2px;
- white-space: nowrap;
- width: 100%;
-}
-
-#content #segments .segments-holder li dd div.deleted {
- background-color: #808080;
- padding-left: 5px;
-}
-
-#content #segments .segments-holder li dd div.live {
- background-color: #DDDDDD;
- float: left;
-}
-
-#content #segments .segments-holder li dd div.start {
- float: left;
- width: 20%;
-}
-
-#content #segments .segments-holder li dd div.end {
- text-align: right;
-}
-
-.merge-candidate {
- background-color: #FFC9F9 !important;
-}
-
-#content #segments .segments-holder li dd div.w5 {
- width: 20%;
- float: left;
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/21384b5b/solr/webapp/web/css/styles/threads.css
----------------------------------------------------------------------
diff --git a/solr/webapp/web/css/styles/threads.css b/solr/webapp/web/css/styles/threads.css
deleted file mode 100644
index c3cb698..0000000
--- a/solr/webapp/web/css/styles/threads.css
+++ /dev/null
@@ -1,172 +0,0 @@
-/*
-
-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.
-
-*/
-
-#content #threads .loader
-{
- background-position: 0 50%;
- padding-left: 21px;
-}
-
-#content #threads #thread-dump table
-{
- border-collapse: collapse;
- width: 100%;
-}
-
-#content #threads #thread-dump table .spacer,
-#content #threads #thread-dump tbody .state
-{
- background-color: #fff;
-}
-
-#content #threads #thread-dump table th,
-#content #threads #thread-dump table td
-{
- padding: 5px 3px;
- vertical-align: top;
-}
-
-#content #threads #thread-dump thead th
-{
- background-color: #c8c8c8;
- font-weight: bold;
- text-align: left;
-}
-
-#content #threads #thread-dump thead th.name
-{
- width: 85%;
-}
-
-#content #threads #thread-dump thead th.time
-{
- text-align: right;
- width: 15%;
-}
-
-#content #threads #thread-dump tbody .odd
-{
- background-color: #f0f0f0;
-}
-
-#content #threads #thread-dump tbody .RUNNABLE a
-{
- 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 );
-}
-
-#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 );
-}
-
-#content #threads #thread-dump tbody .name a
-{
- background-position: 0 50%;
- cursor: auto;
- display: block;
- padding-left: 21px;
-}
-
-#content #threads #thread-dump tbody .stacktrace .name a
-{
- 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;
-}
-
-#content #threads #thread-dump tbody .stacktrace.open .name a span
-{
- 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;
-}
-
-#content #threads #thread-dump tbody .name div
-{
- 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;
-}
-
-#content #threads #thread-dump tbody .name ul
-{
- list-style-type: disc;
- margin-left: 0.7em;
- padding-left: 0.7em;
-}
-
-#content #threads #thread-dump tbody .time
-{
- text-align: right;
-}
-
-#content #threads #thread-dump tbody .details
-{
- display: none;
-}
-
-#content #threads .controls
-{
- padding-top: 5px;
- padding-bottom: 5px;
-}
-
-#content #threads .controls a
-{
- 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 );
-}
-
-#content #threads.expanded .controls .expand,
-#content #threads.collapsed .controls .collapse
-{
- display: none;
-}
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/21384b5b/solr/webapp/web/index.html
----------------------------------------------------------------------
diff --git a/solr/webapp/web/index.html b/solr/webapp/web/index.html
index 2e01906..923d1f1 100644
--- a/solr/webapp/web/index.html
+++ b/solr/webapp/web/index.html
@@ -32,7 +32,7 @@ limitations under the License.
<link rel="stylesheet" type="text/css" href="css/angular/dataimport.css?_=${version}">
<link rel="stylesheet" type="text/css" href="css/angular/files.css?_=${version}">
<link rel="stylesheet" type="text/css" href="css/angular/index.css?_=${version}">
- <link rel="stylesheet" type="text/css" href="css/styles/java-properties.css?_=${version}">
+ <link rel="stylesheet" type="text/css" href="css/angular/java-properties.css?_=${version}">
<link rel="stylesheet" type="text/css" href="css/angular/logging.css?_=${version}">
<link rel="stylesheet" type="text/css" href="css/angular/menu.css?_=${version}">
<link rel="stylesheet" type="text/css" href="css/angular/plugins.css?_=${version}">
@@ -123,10 +123,6 @@ limitations under the License.
<div class="exception">{{exception.msg}}</div>
</div>
- <div class="other-ui-link">
- Use <a class="ul" href="/solr/old.html">original UI</a><a target="_blank" href="http://wiki.apache.org/solr/AngularUI"> <span class="help"></span></a>
- </div>
-
<div id="content-wrapper">
<div ng-view id="content">
@@ -151,7 +147,7 @@ limitations under the License.
<li class="tree" ng-class="{active:page=='cloud-tree'}"><a href="#/~cloud?view=tree">Tree</a></li>
<li class="graph" ng-class="{active:page=='cloud-graph'}"><a href="#/~cloud">Graph</a></li>
<li class="rgraph" ng-class="{active:page=='cloud-rgraph'}"><a href="#/~cloud?view=rgraph">Graph (Radial)</a></li>
- <li class="dump" ng-class="{active:page=='cloud-dump'}"><a ng-click="dumpCloud()">Dump</a></li>
+ <!--<li class="dump" ng-class="{active:page=='cloud-dump'}"><a ng-click="dumpCloud()">Dump</a></li>-->
</ul>
</li>
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/21384b5b/solr/webapp/web/js/angular/app.js
----------------------------------------------------------------------
diff --git a/solr/webapp/web/js/angular/app.js b/solr/webapp/web/js/angular/app.js
index e86b55f..c4ebef5 100644
--- a/solr/webapp/web/js/angular/app.js
+++ b/solr/webapp/web/js/angular/app.js
@@ -465,88 +465,6 @@ solrAdminApp.controller('MainController', function($scope, $route, $rootScope, $
});
-(function(window, angular, undefined) {
- 'use strict';
-
- angular.module('ngClipboard', []).
- provider('ngClip', function() {
- var self = this;
- this.path = '//cdnjs.cloudflare.com/ajax/libs/zeroclipboard/2.1.6/ZeroClipboard.swf';
- return {
- setPath: function(newPath) {
- self.path = newPath;
- },
- setConfig: function(config) {
- self.config = config;
- },
- $get: function() {
- return {
- path: self.path,
- config: self.config
- };
- }
- };
- }).
- run(['ngClip', function(ngClip) {
- var config = {
- swfPath: ngClip.path,
- trustedDomains: ["*"],
- allowScriptAccess: "always",
- forceHandCursor: true,
- };
- ZeroClipboard.config(angular.extend(config,ngClip.config || {}));
- }]).
- directive('clipCopy', ['ngClip', function (ngClip) {
- return {
- scope: {
- clipCopy: '&',
- clipClick: '&',
- clipClickFallback: '&'
- },
- restrict: 'A',
- link: function (scope, element, attrs) {
- // Bind a fallback function if flash is unavailable
- if (ZeroClipboard.isFlashUnusable()) {
- element.bind('click', function($event) {
- // Execute the expression with local variables `$event` and `copy`
- scope.$apply(scope.clipClickFallback({
- $event: $event,
- copy: scope.$eval(scope.clipCopy)
- }));
- });
-
- return;
- }
-
- // Create the client object
- var client = new ZeroClipboard(element);
- if (attrs.clipCopy === "") {
- scope.clipCopy = function(scope) {
- return element[0].previousElementSibling.innerText;
- };
- }
- client.on( 'ready', function(readyEvent) {
-
- client.on('copy', function (event) {
- var clipboard = event.clipboardData;
- clipboard.setData(attrs.clipCopyMimeType || 'text/plain', scope.$eval(scope.clipCopy));
- });
-
- client.on( 'aftercopy', function(event) {
- if (angular.isDefined(attrs.clipClick)) {
- scope.$apply(scope.clipClick);
- }
- });
-
- scope.$on('$destroy', function() {
- client.destroy();
- });
- });
- }
- };
- }]);
-})(window, window.angular);
-
/* THE BELOW CODE IS TAKEN FROM js/scripts/app.js, AND STILL REQUIRES INTEGRATING
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/21384b5b/solr/webapp/web/js/angular/controllers/cloud.js
----------------------------------------------------------------------
diff --git a/solr/webapp/web/js/angular/controllers/cloud.js b/solr/webapp/web/js/angular/controllers/cloud.js
index aeaf5d3..3636d80 100644
--- a/solr/webapp/web/js/angular/controllers/cloud.js
+++ b/solr/webapp/web/js/angular/controllers/cloud.js
@@ -458,101 +458,3 @@ solrAdminApp.directive('graph', function(Constants) {
}
};
})
-
-/*
-
-========================
-var init_debug = function( cloud_element )
-{
- var debug_element = $( '#debug', cloud_element );
- var debug_button = $( '#menu #cloud .dump a' );
-
- var clipboard_element = $( '.clipboard', debug_element );
- var clipboard_button = $( 'a', clipboard_element );
-
- $( '.clipboard', debug_element )
- .die( 'click' )
- .live
- (
- 'click',
- function( event )
- {
- return false;
- }
- );
-
- url : app.config.solr_path + '/zookeeper?wt=json&dump=true',
- ZeroClipboard.setMoviePath( 'img/ZeroClipboard.swf' );
-
- clipboard_client = new ZeroClipboard.Client();
-
- clipboard_client.addEventListener
- (
- 'load',
- function( client )
- {
- }
- );
-
- clipboard_client.addEventListener
- (
- 'complete',
- function( client, text )
- {
- clipboard_element
- .addClass( 'copied' );
-
- clipboard_button
- .data( 'text', clipboard_button.text() )
- .text( clipboard_button.data( 'copied' ) );
- }
- );
- },
- success : function( response, text_status, xhr )
- {
- clipboard_client.glue
- (
- clipboard_element.get(0),
- clipboard_button.get(0)
- );
-
- clipboard_client.setText( response.replace( /\\/g, '\\\\' ) );
-
- $( '.debug', debug_element )
- .removeClass( 'loader' )
- .text( response );
- },
- error : function( xhr, text_status, error_thrown )
- {
- },
- complete : function( xhr, text_status )
- {
- }
- }
- );
- }
- )
- .die( 'hide' )
- .live
- (
- 'hide',
- function( event )
- {
- $( '.debug', debug_element )
- .empty();
-
- clipboard_element
- .removeClass( 'copied' );
-
- clipboard_button
- .data( 'copied', clipboard_button.text() )
- .text( clipboard_button.data( 'text' ) );
-
- clipboard_client.destroy();
-
- debug_element.hide();
- }
- );
-};
-
-*/
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/21384b5b/solr/webapp/web/js/lib/ZeroClipboard.js
----------------------------------------------------------------------
diff --git a/solr/webapp/web/js/lib/ZeroClipboard.js b/solr/webapp/web/js/lib/ZeroClipboard.js
deleted file mode 100644
index a521be8..0000000
--- a/solr/webapp/web/js/lib/ZeroClipboard.js
+++ /dev/null
@@ -1,342 +0,0 @@
-/*
-
-The MIT License (MIT)
-Copyright (c) 2012 Jon Rohan, James M. Greene,
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-*/
-
-// 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
- }
-
-};