2013-02-14 08:37:03 -07:00
< div class = "row-fluid" >
2013-02-08 15:18:35 -07:00
< div class = "span3" >
< form style = "margin-bottom: 0px" >
< h6 > Label< / h6 >
< 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" >
< h6 > Query< / h6 >
< 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 >
< / 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" >
2013-02-13 12:23:24 -07:00
< input type = "text" style = "width:70%" ng-model = "q.label" >
2013-02-08 15:18:35 -07:00
< / 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" >
2013-02-08 15:57:24 -07:00
< i class = "icon-remove pointer" ng-click = "remove_query(q)" > < / i >
2013-02-08 15:18:35 -07:00
< / div >
< / div >
< div class = "row-fluid" >
< div class = "span3" >
2013-02-15 15:23:04 -07:00
< label class = "small" > Chart Options< / label >
< select ng-change = "$emit('render')" multiple style = "width:95%" ng-model = "panel.show" ng-options = "f for f in ['bars','points','stack','lines','legend','x-axis','y-axis']" > < / select >
2013-02-08 15:18:35 -07:00
< / div >
2013-02-16 21:48:38 -07:00
< div class = "span3" >
< label class = "small" > Line Fill (1 - 10)< / label >
2013-02-13 12:23:24 -07:00
< input ng-change = "$emit('render')" type = "number" class = "input-mini" ng-model = "panel.fill" >
2013-02-08 15:18:35 -07:00
< / div >
2013-02-16 21:48:38 -07:00
< div class = "span3" >
< label class = "small" > Time correction< / label >
< select ng-change = "$emit('render')" ng-model = "panel.timezone" class = 'input-small' ng-options = "f for f in ['browser','utc']" > < / select >
< / div >
2013-02-08 15:18:35 -07:00
< / div >