Skip to content

Apache Lucene open-source search software

SOLR-7858 Add a warning message to the angular UI

Upayavirac211edcce874
diff --git a/solr/webapp/web/css/angular/common.css b/solr/webapp/web/css/angular/common.css
index 41e3bca2225..1a3b087db5b 100644
--- a/solr/webapp/web/css/angular/common.css
+++ b/solr/webapp/web/css/angular/common.css
@@ -755,8 +755,23 @@ pre.syntax .tex .formula
top: -20px;
}
-.other-ui-link span {
+.other-ui-link span,
+.new-ui-warning span.help {
background-image: url( ../../img/ico/information-white.png );
right: 0px;
padding-left: 16px;
-}
\ No newline at end of file
+}
+
+.new-ui-warning {
+ position: absolute;
+ left: 150px;
+ top: -20px;
+ align: center;
+ color: red;
+ font-weight: bold;
+}
+.new-ui-warning a.ul {
+ color: red;
+ font-weight: bold;
+ text-decoration: underline;
+}
diff --git a/solr/webapp/web/index.html b/solr/webapp/web/index.html
index df85ef4b66c..2f2d72c8a06 100644
--- a/solr/webapp/web/index.html
+++ b/solr/webapp/web/index.html
@@ -121,8 +121,10 @@ limitations under the License.
<div class="exception">{{exception.msg}}</div>
</div>
- <div class="other-ui-link">
- <a href="/solr/">Original UI</a><a target="_blank" href="http://wiki.apache.org/solr/AngularUI">&nbsp;<span class="help"></span></a>
+ <div class="new-ui-warning">
+ This is an experimental UI. Report bugs <a class="ul" target="_blank" href="http://issues.apache.org/jira/browse/SOLR">here</a>.
+ For the old UI click <a class="ul" href="/solr/">here</a>
+ <a target="_blank" href="http://wiki.apache.org/solr/AngularUI">&nbsp;<span class="help"></span></a>
</div>
<div id="content-wrapper">