editor.html 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <div class="row-fluid" ng-controller="map2">
  2. <div class="span11">
  3. The map panel uses 2 letter country or US state codes to plot concentrations on a map. Darker terroritories mean more records matched that area. If multiple queries are sent from a single panel the <strong>first query will be displayed</strong>
  4. </div>
  5. </div>
  6. <div class="row-fluid">
  7. <div class="span3">
  8. <form>
  9. <h6>Field</h6>
  10. <input type="text" class="input-small" ng-model="panel.field">
  11. </form>
  12. </div>
  13. <div class="span6">
  14. <form class="input-append">
  15. <h6>Query</h6>
  16. <input type="text" ng-model="panel.query">
  17. <button class="btn" ng-click="get_data();"><i class="icon-search"></i></button>
  18. </form>
  19. </div>
  20. <div class="span1"><h6>Map</h6>
  21. <select ng-change="$emit('render')" class="input-small" ng-model="panel.map" ng-options="f for f in ['world','europe','usa']"></select>
  22. </div>
  23. </div>
  24. <div class="row-fluid">
  25. <div class="span11">
  26. <h4>Display Options</h4>
  27. </div>
  28. <!--
  29. Rolling our own tab control here because the Angular-Strap Tab directive doesn't allow
  30. updates to components inside, which is quite bizarre. Or I just can't figure it out...
  31. -->
  32. <div class="span11" style="margin-bottom:20px">
  33. <ul class="nav nav-tabs" ng-cloak>
  34. <li ng-repeat="tab in panel.displayTabs" ng-class="{active:isActive(tab)}">
  35. <a ng-click="tabClick(tab)">{{tab}}</a>
  36. </li>
  37. </ul>
  38. <div ng-show="isActive('geopoints')">
  39. <table ng-controller="map2">
  40. <tbody>
  41. <tr>
  42. <td style="width:100px" >
  43. <button type="button" class="btn"
  44. bs-button
  45. ng-class="{'btn-success': panel.display.geopoints.enabled}"
  46. ng-model="panel.display.geopoints.enabled">{{panel.display.geopoints.enabled|enabledText}}</button>
  47. </td>
  48. <td>
  49. </td>
  50. </tr>
  51. </tbody>
  52. </table>
  53. </div>
  54. </div>
  55. </div>
  56. <h5>Panel Spy</h5>
  57. <div class="row-fluid">
  58. <div class="span2">
  59. <label class="small"> Spyable </label><input type="checkbox" ng-model="panel.spyable" ng-checked="panel.spyable">
  60. </div>
  61. <div class="span9 small">
  62. The panel spy shows 'behind the scenes' information about a panel. It can
  63. be accessed by clicking the <i class='icon-eye-open'></i> in the top right
  64. of the panel.
  65. </div>
  66. </div>