SOLR-3275: Make (UI) CoreAdmin Cloud-Aware

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1331268 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Matheis 2012-04-27 07:23:06 +00:00
parent 0cd09a8900
commit d290df514a
2 changed files with 16 additions and 0 deletions

View File

@ -257,6 +257,12 @@ sammy.get
.width( cores_element.width() + 10 )
.height( cores_element.height() );
if( $( '#cloud.global' ).is( ':visible' ) )
{
$( '.cloud', div_action )
.show();
}
$( 'button.action', actions_element )
.die( 'click' )
.live

View File

@ -50,6 +50,16 @@ limitations under the License.
<p class="clearfix"><label for="add_schema">schema:</label>
<input type="text" name="schema" id="add_schema" placeholder="schema.xml"></p>
<div class="cloud">
<p class="clearfix"><label for="add_collection">collection:</label>
<input type="text" name="collection" id="add_collection"></p>
<p class="clearfix"><label for="add_shard">shard:</label>
<input type="text" name="shard" id="shard"></p>
</div>
<p class="clearfix buttons">
<button type="submit" class="submit"><span>Add Core</span></button>
<button type="reset" class="reset"><span>Cancel</span></button>