-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #787 from rashidkpc/master
New look and fix for #739
- Loading branch information
Showing
31 changed files
with
2,196 additions
and
648 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,45 @@ | ||
<div class="row-fluid"> | ||
<div class="section span6"> | ||
<h5>Columns</h5> | ||
<form class="input-append editor-option"> | ||
<input bs-typeahead="fields.list" type="text" class="input-small" ng-model='newfield'> | ||
<button class="btn" ng-click="toggle_field(newfield);newfield=''"><i class="icon-plus"></i></button> | ||
</form><br> | ||
<span style="margin-left:3px" ng-repeat="field in $parent.panel.fields" class="label">{{field}} <i class="pointer icon-remove-sign" ng-click="toggle_field(field)"></i></span> | ||
</div> | ||
<div class="section span6"> | ||
<h5>Hightlighted Fields</h5> | ||
<form class="input-append editor-option"> | ||
<input bs-typeahead="fields.list" type="text" class="input-small" ng-model='newhighlight' ng-change="set_refresh(true)"> | ||
<button class="btn" ng-click="toggle_highlight(newhighlight);newhighlight=''"><i class="icon-plus"></i></button> | ||
</form><br> | ||
<span style="margin-left:3px" ng-repeat="field in $parent.panel.highlight" class="label">{{field}} <i class="pointer icon-remove-sign" ng-click="toggle_highlight(field);set_refresh(true)" ></i></span> | ||
</div> | ||
</div> | ||
|
||
<div class="editor-row"> | ||
<div class="section"> | ||
<div class="span6 section"> | ||
<h5>Options</h5> | ||
<div class="editor-option"> | ||
<h6>Header</h6><input type="checkbox" ng-model="panel.header" ng-checked="panel.header"> | ||
<label class="small">Header</label><input type="checkbox" ng-model="panel.header" ng-checked="panel.header"> | ||
</div> | ||
<div class="editor-option"> | ||
<h6>Sorting</h6><input type="checkbox" ng-model="panel.sortable" ng-checked="panel.sortable"> | ||
<label class="small">Sorting</label><input type="checkbox" ng-model="panel.sortable" ng-checked="panel.sortable"> | ||
</div> | ||
<div class="editor-option" style="white-space:nowrap" ng-show='panel.sortable'> | ||
<h6>Sort</h6> | ||
<label class="small">Sort</label> | ||
<input class="input-small" bs-typeahead="fields.list" ng-model="panel.sort[0]" type="text"></input> | ||
<i ng-click="set_sort(panel.sort[0])" ng-class="{'icon-chevron-up': panel.sort[1] == 'asc','icon-chevron-down': panel.sort[1] == 'desc'}"></i> | ||
</div> | ||
<div class="editor-option"><h6>Font Size</h6> | ||
<div class="editor-option"><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="editor-option"> | ||
<h6>Trim Factor <tip>Trim fields to this long divided by # of rows. Requires data refresh.</tip></h6> | ||
<label class="small">Trim Factor <tip>Trim fields to this long divided by # of rows. Requires data refresh.</tip></label> | ||
<input type="number" class="input-small" ng-model="panel.trimFactor" ng-change="set_refresh(true)"> | ||
</div> | ||
<br> | ||
<div class="editor-option"> | ||
<h6>Local Time <tip>Adjust time field to browser's local time</tip></h6><input type="checkbox" ng-change="set_refresh(true)" ng-model="panel.localTime" ng-checked="panel.localTime"> | ||
<label class="small">Local Time <tip>Adjust time field to browser's local time</tip></label><input type="checkbox" ng-change="set_refresh(true)" ng-model="panel.localTime" ng-checked="panel.localTime"> | ||
</div> | ||
<div class="editor-option" ng-show="panel.localTime"> | ||
<h6>Time Field</h6> | ||
<label class="small">Time Field</label> | ||
<input type="text" class="input-small" ng-model="panel.timeField" ng-change="set_refresh(true)" bs-typeahead="fields.list"> | ||
</div> | ||
</div> | ||
<div class="section span6"> | ||
<h5>Columns</h5> | ||
<form class="input-append editor-option"> | ||
<input bs-typeahead="fields.list" type="text" class="input-small" ng-model='newfield'> | ||
<button class="btn" ng-click="toggle_field(newfield);newfield=''"><i class="icon-plus"></i></button> | ||
</form><br> | ||
<span style="margin-left:3px" ng-repeat="field in $parent.panel.fields" class="label">{{field}} <i class="pointer icon-remove-sign" ng-click="toggle_field(field)"></i></span> | ||
<h5>Hightlighted Fields</h5> | ||
<form class="input-append editor-option"> | ||
<input bs-typeahead="fields.list" type="text" class="input-small" ng-model='newhighlight' ng-change="set_refresh(true)"> | ||
<button class="btn" ng-click="toggle_highlight(newhighlight);newhighlight=''"><i class="icon-plus"></i></button> | ||
</form><br> | ||
<span style="margin-left:3px" ng-repeat="field in $parent.panel.highlight" class="label">{{field}} <i class="pointer icon-remove-sign" ng-click="toggle_highlight(field);set_refresh(true)" ></i></span> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
<div class="row-fluid"> | ||
<div class="span4"> | ||
<label class="small">Relative time options <small>comma seperated</small></label> | ||
<input type="text" array-join class="input-large" ng-model="panel.time_options"> | ||
</div> | ||
<div class="span4"> | ||
<label class="small">Auto-refresh options <small>comma seperated</small></label> | ||
<input type="text" array-join class="input-large" ng-model="panel.refresh_intervals"> | ||
</div> | ||
<div class="span2"> | ||
<label class="small">Time Field</label> | ||
<input type="text" class="input-small" ng-model="panel.timefield"> | ||
<div class="editor-row"> | ||
<div class="section"> | ||
<div class="editor-option"> | ||
<label class="small">Relative time options <small>comma seperated</small></label> | ||
<input type="text" array-join class="input-large" ng-model="panel.time_options"> | ||
</div> | ||
<div class="editor-option"> | ||
<label class="small">Auto-refresh options <small>comma seperated</small></label> | ||
<input type="text" array-join class="input-large" ng-model="panel.refresh_intervals"> | ||
</div> | ||
<div class="editor-option"> | ||
<label class="small">Time Field</label> | ||
<input type="text" class="input-small" ng-model="panel.timefield"> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.