mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Tidied up the search boxes on the devices list page
This commit is contained in:
@@ -142,7 +142,6 @@ foreach (dbFetch('SELECT `os` FROM `devices` AS D WHERE 1 GROUP BY `os` ORDER BY
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
<br />
|
|
||||||
<select name='version' id='version' class="form-control input-sm">
|
<select name='version' id='version' class="form-control input-sm">
|
||||||
<option value=''>All Versions</option>
|
<option value=''>All Versions</option>
|
||||||
<?php
|
<?php
|
||||||
@@ -174,7 +173,6 @@ foreach (dbFetch('SELECT `hardware` FROM `devices` AS D WHERE 1 GROUP BY `hardwa
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
<br />
|
|
||||||
<select name="features" id="features" class="form-control input-sm">
|
<select name="features" id="features" class="form-control input-sm">
|
||||||
<option value="">All Featuresets</option>
|
<option value="">All Featuresets</option>
|
||||||
<?php
|
<?php
|
||||||
@@ -208,7 +206,6 @@ foreach (getlocations() as $location) // FIXME function name sucks maybe get_loc
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
<br />
|
|
||||||
<select name="type" id="type" class="form-control input-sm">
|
<select name="type" id="type" class="form-control input-sm">
|
||||||
<option value="">All Device Types</option>
|
<option value="">All Device Types</option>
|
||||||
<?php
|
<?php
|
||||||
@@ -224,12 +221,11 @@ foreach (dbFetch('SELECT `type` FROM `devices` AS D WHERE 1 GROUP BY `type` ORDE
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
|
<button type="submit" class="btn btn-default input-sm">Search</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<a href="<?php echo(generate_url($vars)); ?>" title="Update the browser URL to reflect the search criteria." >Update URL</a> |
|
<a href="<?php echo(generate_url($vars)); ?>" title="Update the browser URL to reflect the search criteria." >Update URL</a> |
|
||||||
<a href="<?php echo(generate_url(array('page' => 'devices', 'section' => $vars['section'], 'bare' => $vars['bare']))); ?>" title="Reset critera to default." >Reset</a>
|
<a href="<?php echo(generate_url(array('page' => 'devices', 'section' => $vars['section'], 'bare' => $vars['bare']))); ?>" title="Reset critera to default." >Reset</a>
|
||||||
<br />
|
|
||||||
<button type="submit" class="btn btn-default input-sm">Search</button>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user