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

svn commit: r1504026 - in /lucene/dev/trunk/solr: CHANGES.txt webapp/web/css/styles/cores.css webapp/web/tpl/cores.html

Author: steffkes
Date: Wed Jul 17 07:22:10 2013
New Revision: 1504026

URL: http://svn.apache.org/r1504026
Log:
SOLR-5044: Admin UI - Note on Core-Admin about directories while creating core

Modified:
    lucene/dev/trunk/solr/CHANGES.txt
    lucene/dev/trunk/solr/webapp/web/css/styles/cores.css
    lucene/dev/trunk/solr/webapp/web/tpl/cores.html

Modified: lucene/dev/trunk/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/CHANGES.txt?rev=1504026&r1=1504025&r2=1504026&view=diff
==============================================================================
--- lucene/dev/trunk/solr/CHANGES.txt (original)
+++ lucene/dev/trunk/solr/CHANGES.txt Wed Jul 17 07:22:10 2013
@@ -70,6 +70,12 @@ Bug Fixes
 * SOLR-3633 - web UI reports an error if CoreAdminHandler says there are no 
   SolrCores (steffkes)
 
+Optimizations
+----------------------
+
+* SOLR-5044: Admin UI - Note on Core-Admin about directories while creating 
+  core (seffkes)
+
 Other Changes
 ----------------------
 

Modified: lucene/dev/trunk/solr/webapp/web/css/styles/cores.css
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/webapp/web/css/styles/cores.css?rev=1504026&r1=1504025&r2=1504026&view=diff
==============================================================================
--- lucene/dev/trunk/solr/webapp/web/css/styles/cores.css (original)
+++ lucene/dev/trunk/solr/webapp/web/css/styles/cores.css Wed Jul 17 07:22:10 2013
@@ -71,9 +71,19 @@ limitations under the License.
   display: none;
 }
 
+#content #cores .actions form .directory-note
+{
+  background-image: url( ../../img/ico/information-white.png );
+  background-position: 22% 1px;
+  color: #c0c0c0;
+}
+
 #content #cores .actions form .error
 {
-  color: #800;
+  background-image: url( ../../img/ico/cross-button.png );
+  background-position: 22% 1px;
+  color: #c00;
+  font-weight: bold;
   display: none;
 }
 
@@ -94,10 +104,16 @@ limitations under the License.
 #content #cores .actions form input,
 #content #cores .actions form select,
 #content #cores .actions form .buttons,
-#content #cores .actions form .error span
+#content #cores .actions form .note span
 {
   float: right;
-  width: 73%;
+  width: 71%;
+}
+
+#content #cores .actions form .note span
+{
+  padding-left: 3px;
+  padding-right: 3px;
 }
 
 #content #cores .actions form .buttons

Modified: lucene/dev/trunk/solr/webapp/web/tpl/cores.html
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/webapp/web/tpl/cores.html?rev=1504026&r1=1504025&r2=1504026&view=diff
==============================================================================
--- lucene/dev/trunk/solr/webapp/web/tpl/cores.html (original)
+++ lucene/dev/trunk/solr/webapp/web/tpl/cores.html Wed Jul 17 07:22:10 2013
@@ -60,7 +60,13 @@ limitations under the License.
 
           </div>
 
-          <p class="clearfix error">
+          <p class="clearfix note directory-note">
+
+            <span><code>instanceDir</code> and <code>dataDir</code> need to exist before you can create the core</span>
+
+          </p>
+
+          <p class="clearfix note error">
 
             <span></span>