| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <div>
- <div class="row-fluid">
- <div class="span12">
- The trends panel will give you a percentage representation of how your query
- has moved in your current timespan compared a specified amount of time ago. For
- example, if the time is 1:10pm, your time picker was set to "Last 10m", and the
- "Time Ago" parameter was set to '1h', the panel would show how much the query
- results have changed since 12:00-12:10pm
- </div>
- </div>
- <h4>Settings</h4>
- <div class="row-fluid">
- <div class="span3" ng-hide='panel.auto_int'>
- <label class="small">Use Elasticsearch date math format here (eg 1m, 5m, 1d, 2w, 1y)</label>
- </div>
- <div class="span3">
- <label class="small">Time Ago</label>
- <input type="text" class="input-small" ng-model="panel.ago" ng-change="set_refresh(true)">
- </div>
- <div class="span2">
- <label class="small">Font Size</label>
- <select class="input-small" ng-model="panel.style['font-size']" ng-options="f for f in ['7pt','8pt','9pt','10pt','12pt','14pt','16pt','18pt','20pt','24pt','28pt','32pt','36pt','42pt','48pt','52pt','60pt','72pt']"></select></span>
- </div>
- <div class="span3">
- <label class="small" >List Format</label>
- <select class="input-small" ng-model="panel.arrangement" ng-options="f for f in ['horizontal','vertical']"></select></span>
- </div>
- </div>
- <h5>Queries</h5>
- <div class="row-fluid">
- <div class="span3">
- <form style="margin-bottom: 0px">
- <label class="small">Label</label>
- <input type="text" placeholder="New Label" style="width:70%" ng-model="newlabel">
- </form>
- </div>
- <div class="span8">
- <form class="input-append" style="margin-bottom: 0px">
- <label class="small">Query</label>
- <input type="text" placeholder="New Query" style="width:80%" ng-model="newquery">
- <button class="btn" ng-click="add_query(newlabel,newquery);newlabel='';newquery='';set_refresh(true)"><i class="icon-plus"></i></button>
- </form>
- </div>
- <div class="span1">
- </div>
- </div>
- <div class="row-fluid" ng-repeat="q in panel.query">
- <div class="span3">
- <form style="margin-bottom: 0px">
- <input type="text" style="width:70%" ng-model="q.label" ng-change="set_refresh(true)">
- </form>
- </div>
- <div class="span8">
- <input type="text" style="width:80%" ng-model="q.query" ng-change="set_refresh(true)">
- </div>
- <div class="span1">
- <i class="icon-remove pointer" ng-click="remove_query(q)"></i>
- </div>
- </div>
- </div>
|