<buttonclass="add"ng-click="addDataset()">Add a dataset...</button>
<buttonclass="add"ng-click="addDataset()">Add a dataset...</button>
<liclass="dataset"ng-controller="DatasetController"ng-repeat="dataset in datasets">
<liclass="dataset"ng-controller="DatasetController"ng-repeat="dataset in datasets">
...
@@ -236,21 +240,17 @@
...
@@ -236,21 +240,17 @@
<ling-repeat="filter in filters">
<ling-repeat="filter in filters">
<buttonng-click="removeFilter($index)"title="remove this filter">x</button>
<buttonng-click="removeFilter($index)"title="remove this filter">x</button>
<span>...where the </span>
<span>...where the </span>
<selectng-model="filter.entity">
<selectng-model="filter.entity"ng-options="entity as entity.key for entity in entities"></select>
<optionng-repeat="(entityName, entityColumns) in entities"value="{{entityName}}">{{entityName}}</option>
<spanng-if="filter.entity.key != 'ngrams'">
</select>
<selectng-if="filter.entity"ng-model="filter.column"ng-options="column as column.key for column in filter.entity.columns | orderBy:'key'"></select>
<spanng-if="filter.entity">
<selectng-if="filter.column"ng-model="filter.operator"ng-options="operator.key as operator.label for operator in operators[filter.column.type]"></select>
<tags-inputng-model="filter.value"display-property="terms"placeholder="Add an ngram"on-tag-added="updateQuery()"on-tag-removed="updateQuery()"add-from-autocomplete-only="true">
<buttontype="button"class="btn btn-xs btn-default"data-container="body"data-toggle="popover"data-placement="bottom"data-content='<a href="/project/{{ project.id }}/delete">Yes, I am sure!</a>'>Delete</button>
<buttonclass="add"ng-click="addDataset()">Add a dataset...</button>
<buttonclass="add"ng-click="addDataset()">Add a dataset...</button>
<liclass="dataset"ng-controller="DatasetController"ng-repeat="dataset in datasets">
<liclass="dataset"ng-controller="DatasetController"ng-repeat="dataset in datasets">
...
@@ -237,21 +240,17 @@
...
@@ -237,21 +240,17 @@
<ling-repeat="filter in filters">
<ling-repeat="filter in filters">
<buttonng-click="removeFilter($index)"title="remove this filter">x</button>
<buttonng-click="removeFilter($index)"title="remove this filter">x</button>
<span>...where the </span>
<span>...where the </span>
<selectng-model="filter.entity">
<selectng-model="filter.entity"ng-options="entity as entity.key for entity in entities"></select>
<optionng-repeat="(entityName, entityColumns) in entities"value="{{entityName}}">{{entityName}}</option>
<spanng-if="filter.entity.key != 'ngrams'">
</select>
<selectng-if="filter.entity"ng-model="filter.column"ng-options="column as column.key for column in filter.entity.columns | orderBy:'key'"></select>
<spanng-if="filter.entity">
<selectng-if="filter.column"ng-model="filter.operator"ng-options="operator.key as operator.label for operator in operators[filter.column.type]"></select>
<tags-inputng-model="filter.value"display-property="terms"placeholder="Add an ngram"on-tag-added="updateQuery()"on-tag-removed="updateQuery()"add-from-autocomplete-only="true">