mirror of https://github.com/apache/lucene.git
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:
parent
0cd09a8900
commit
d290df514a
|
@ -257,6 +257,12 @@ sammy.get
|
||||||
.width( cores_element.width() + 10 )
|
.width( cores_element.width() + 10 )
|
||||||
.height( cores_element.height() );
|
.height( cores_element.height() );
|
||||||
|
|
||||||
|
if( $( '#cloud.global' ).is( ':visible' ) )
|
||||||
|
{
|
||||||
|
$( '.cloud', div_action )
|
||||||
|
.show();
|
||||||
|
}
|
||||||
|
|
||||||
$( 'button.action', actions_element )
|
$( 'button.action', actions_element )
|
||||||
.die( 'click' )
|
.die( 'click' )
|
||||||
.live
|
.live
|
||||||
|
|
|
@ -50,6 +50,16 @@ limitations under the License.
|
||||||
<p class="clearfix"><label for="add_schema">schema:</label>
|
<p class="clearfix"><label for="add_schema">schema:</label>
|
||||||
<input type="text" name="schema" id="add_schema" placeholder="schema.xml"></p>
|
<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">
|
<p class="clearfix buttons">
|
||||||
<button type="submit" class="submit"><span>Add Core</span></button>
|
<button type="submit" class="submit"><span>Add Core</span></button>
|
||||||
<button type="reset" class="reset"><span>Cancel</span></button>
|
<button type="reset" class="reset"><span>Cancel</span></button>
|
||||||
|
|
Loading…
Reference in New Issue