mirror of https://github.com/apache/cloudstack.git
instance page - advanced search - remove state dropdown field since we have filter menu on left navigation already ("Running Instances", "Stopped Instances", "Destroyed Instances").
This commit is contained in:
parent
dc5c82456c
commit
df9cc101db
|
|
@ -1363,12 +1363,13 @@
|
|||
<form action="#" method="post">
|
||||
<ol>
|
||||
<li>
|
||||
<label for="filter">
|
||||
<label>
|
||||
Name:</label>
|
||||
<input class="text" type="text" name="adv_search_name" id="adv_search_name" />
|
||||
</li>
|
||||
<!--
|
||||
<li>
|
||||
<label for="filter">
|
||||
<label>
|
||||
Status:</label>
|
||||
<select class="select" id="adv_search_state">
|
||||
<option value=""></option>
|
||||
|
|
@ -1384,20 +1385,21 @@
|
|||
<option value="Unknown">Unknown</option>
|
||||
</select>
|
||||
</li>
|
||||
-->
|
||||
<li>
|
||||
<label for="filter">
|
||||
<label>
|
||||
Zone:</label>
|
||||
<select class="select" id="adv_search_zone">
|
||||
</select>
|
||||
</li>
|
||||
<li id="adv_search_domain_li" style="display: none;">
|
||||
<label for="filter">
|
||||
<label>
|
||||
Domain:</label>
|
||||
<select class="select" id="adv_search_domain">
|
||||
</select>
|
||||
</li>
|
||||
<li id="adv_search_account_li" style="display: none;">
|
||||
<label for="filter">
|
||||
<label>
|
||||
Account:</label>
|
||||
<input class="text" type="text" id="adv_search_account" />
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -25,9 +25,11 @@ function vmGetSearchParams() {
|
|||
if (name!=null && trim(name).length > 0)
|
||||
moreCriteria.push("&name="+todb(name));
|
||||
|
||||
/*
|
||||
var state = $advancedSearchPopup.find("#adv_search_state").val();
|
||||
if (state!=null && state.length > 0)
|
||||
moreCriteria.push("&state="+todb(state));
|
||||
*/
|
||||
|
||||
var zone = $advancedSearchPopup.find("#adv_search_zone").val();
|
||||
if (zone!=null && zone.length > 0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue