Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-7858 Add links between old and new UI

Upayavirac17deb08a068
diff --git a/solr/webapp/web/admin.html b/solr/webapp/web/admin.html
index 7b6e7b77aea..823dd2a61bb 100644
--- a/solr/webapp/web/admin.html
+++ b/solr/webapp/web/admin.html
@@ -79,6 +79,10 @@ limitations under the License.
</div>
+ <div class="other-ui-link">
+ <a href="/solr/index.html">New UI</a><a href="http://lucene.apache.org/ui-change.html">&nbsp;<span class="help"></span></a>
+ </div>
+
<div id="content-wrapper">
<div id="content">
diff --git a/solr/webapp/web/css/angular/common.css b/solr/webapp/web/css/angular/common.css
index 4bdd4bbadd3..41e3bca2225 100644
--- a/solr/webapp/web/css/angular/common.css
+++ b/solr/webapp/web/css/angular/common.css
@@ -747,3 +747,16 @@ pre.syntax .tex .formula
#exception .show-exception a:hover {
color: #333;
}
+
+.other-ui-link {
+ margin: 0px;
+ position: absolute;
+ right: 0px;
+ top: -20px;
+}
+
+.other-ui-link span {
+ background-image: url( ../../img/ico/information-white.png );
+ right: 0px;
+ padding-left: 16px;
+}
\ No newline at end of file
diff --git a/solr/webapp/web/css/styles/common.css b/solr/webapp/web/css/styles/common.css
index 57f110fe993..ad95cdd7700 100644
--- a/solr/webapp/web/css/styles/common.css
+++ b/solr/webapp/web/css/styles/common.css
@@ -699,3 +699,16 @@ pre.syntax .tex .formula
-webkit-box-shadow: 1px 1px 0 #d8d8d8;
color: #333;
}
+
+.other-ui-link {
+ margin: 0px;
+ position: absolute;
+ right: 0px;
+ top: -20px;
+}
+
+.other-ui-link span {
+ background-image: url( ../../img/ico/information-white.png );
+ right: 0px;
+ padding-left: 16px;
+}
\ No newline at end of file
diff --git a/solr/webapp/web/index.html b/solr/webapp/web/index.html
index 1184828d445..c753d7f7654 100644
--- a/solr/webapp/web/index.html
+++ b/solr/webapp/web/index.html
@@ -119,6 +119,10 @@ limitations under the License.
<div class="exception">{{exception.msg}}</div>
</div>
+ <div class="other-ui-link">
+ <a href="/solr/">Original UI</a><a href="http://lucene.apache.org/ui-change.html">&nbsp;<span class="help"></span></a>
+ </div>
+
<div id="content-wrapper">
<div ng-view id="content">