Browse Source

Fixed duplicate label, added input for panel.size. Closes #481

Rashid Khan 12 years ago
parent
commit
8a142d9173
1 changed files with 6 additions and 2 deletions
  1. 6 2
      src/app/panels/map/editor.html

+ 6 - 2
src/app/panels/map/editor.html

@@ -1,10 +1,14 @@
   <div class="row-fluid">
     <div class="span3">
       <form>
-        <h6>Field <tip>2 letter country or state code</tip></h6><h6>Field</h6>
-        <input  bs-typeahead="fields.list" type="text" class="input-small" ng-model="panel.field">
+        <h6>Field <tip>2 letter country or state code</tip></h6>
+        <input bs-typeahead="fields.list" type="text" class="input-small" ng-model="panel.field" ng-change="set_refresh(true)">
       </form>
     </div>
+    <div class="span2">
+      <h6>Max <tip>Maximum countries to plot</tip></h6>
+      <input class="input-mini" type="number" ng-model="panel.size" ng-change="set_refresh(true)">
+    </div>
     <div class="span1"><h6>Map</h6>
       <select ng-change="$emit('render')" class="input-small" ng-model="panel.map" ng-options="f for f in ['world','europe','usa']"></select>
     </div>