Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxWilson committed Aug 16, 2021
1 parent d7f4215 commit 110c7ab
Show file tree
Hide file tree
Showing 4 changed files with 169 additions and 7 deletions.
167 changes: 165 additions & 2 deletions app/encounter-builder/search.controller.js

Large diffs are not rendered by default.

7 changes: 2 additions & 5 deletions app/encounter-builder/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="search--search-form form-inline">
<label class="sr-only">Search</label>
<input class="form-control search-input" type="text" ng-model="vm.filters.search" placeholder="Search...">

<select class="form-control"
ng-model="vm.filters.size"
ng-options="size for size in vm.sizes">
Expand All @@ -20,7 +20,7 @@
ng-options="cr.numeric as cr.string for cr in vm.crList">
<option value="">Min CR</option>
</select>

<select class="form-control"
ng-model="vm.filters.maxCr"
ng-options="cr.numeric as cr.string for cr in vm.crList">
Expand Down Expand Up @@ -57,9 +57,6 @@
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#sourcesModal">
Set Sources
</button>
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#contentModal">
Manage Content
</button>
</div>
<div class="search--reset">
<button class="btn btn-danger" ng-click="vm.resetFilters()">Reset Filters</button>
Expand Down
1 change: 1 addition & 0 deletions app/services/monsters.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,4 @@
delete sourcesById[id];
}
})();

1 change: 1 addition & 0 deletions app/services/sheet-manager.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,3 +236,4 @@ function sheetManager($q, googleSheetLoader, monsters, store) {
};
}
}());

0 comments on commit 110c7ab

Please sign in to comment.