Add entity search radius field to entities list

This commit is contained in:
David Rowe 2015-08-27 11:09:55 -07:00
parent 87c604a475
commit 1880b263d4
2 changed files with 14 additions and 3 deletions

View file

@ -226,6 +226,7 @@
<div id="entity-list">
<div id="search-area">
<input type="text" class="search" id="filter" placeholder="Filter" />
<span id="radius-and-unit"><input type="number" id="radius" value="50" />&nbsp;m</span>
</div>
<table id="entity-table">
<thead>

View file

@ -102,13 +102,23 @@ input[type=button] {
}
#search-area {
width: 100%;
padding: 0.5em;
box-sizing: border-box;
padding-right: 6em;
}
#search-area input {
width: 100%;
#filter {
width: 99%;
}
#radius-and-unit {
width: 6em;
float: right;
margin-right: -6em;
}
#radius {
width: 4em;
}
textarea, input {