2013-04-05 20:52:35 -07:00
< div ng-controller = "hits" >
< div class = "row-fluid" >
2013-04-06 16:34:04 -07:00
< div class = "span2" > < label class = "small" > Font Size< / label >
< select class = "input-mini" 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 >
2013-04-02 21:20:08 -07:00
< / div >
2013-04-05 20:52:35 -07:00
< div class = "span2" >
2013-04-06 16:34:04 -07:00
< label class = "small" > Aggregate< / label > < input type = "checkbox" ng-model = "panel.aggregate" ng-checked = "panel.aggregate" >
2013-04-02 21:20:08 -07:00
< / div >
2013-04-06 16:34:04 -07:00
< div class = "span3" ng-show = "!panel.aggregate" > < label class = "small" > Counter Style< / label >
< select class = "input-small" ng-model = "panel.arrangement" ng-options = "f for f in ['horizontal','vertical']" > < / select > < / span >
< / div >
< div class = "span2" ng-show = "!panel.aggregate" >
< label class = "small" > Chart< / label > < input type = "checkbox" ng-model = "panel.chart" ng-checked = "panel.chart" >
2013-02-21 15:26:48 -07:00
< / div >
< / div >
2013-04-05 20:52:35 -07:00
< div class = "row-fluid" >
< div class = "span3" >
< form style = "margin-bottom: 0px" >
2013-04-06 16:34:04 -07:00
< label class = "small" > Label< / label >
2013-04-05 20:52:35 -07:00
< 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" >
2013-04-06 16:34:04 -07:00
< label class = "small" > Query< / label >
2013-04-05 20:52:35 -07:00
< input type = "text" placeholder = "New Query" style = "width:80%" ng-model = "newquery" >
< button class = "btn" ng-click = "add_query(newlabel,newquery);newlabel='';newquery=''" > < i class = "icon-plus" > < / i > < / button >
2013-02-08 15:57:24 -07:00
< / form >
< / div >
2013-04-05 20:52:35 -07:00
< 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" >
< / form >
< / div >
< div class = "span8" >
< form class = "input-append" style = "margin-bottom: 0px" >
< input type = "text" style = "width:80%" ng-model = "q.query" >
< button class = "btn" ng-click = "get_data()" > < i class = "icon-search" > < / i > < / button >
< / form >
< / div >
< div class = "span1" >
< i class = "icon-remove pointer" ng-click = "remove_query(q)" > < / i >
< / div >
2013-02-08 15:57:24 -07:00
< / div >
2013-04-05 20:52:35 -07:00
< / div >