Skip to content

Commit

Permalink
add component definitions, re #4771
Browse files Browse the repository at this point in the history
  • Loading branch information
apeters committed Apr 30, 2019
1 parent ca3ae74 commit 008bc35
Show file tree
Hide file tree
Showing 8 changed files with 128 additions and 0 deletions.
19 changes: 19 additions & 0 deletions arches/app/search/components/advanced_search.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
details = {
"searchcomponentid": "",
"name": "Advanced",
"icon": "fa fa-check-circle-o",
"modulename": "advanced_search.py",
"classname": "AdvancedSearch",
"componenttype": "filter",
"componentpath": "views/components/search/advanced-search",
"componentname": "advanced-search",
"config": {},
"sortorder": "0",
"enabled": True
}


class AdvancedSearch():

def append_dsl(self, dsl):
pass
19 changes: 19 additions & 0 deletions arches/app/search/components/map_filter.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
details = {
"searchcomponentid": "",
"name": "Map Filter",
"icon": "fa fa-map-marker",
"modulename": "map_filter.py",
"classname": "MapFilter",
"componenttype": "filter",
"componentpath": "views/components/search/map-filter",
"componentname": "map-filter",
"config": {},
"sortorder": "0",
"enabled": True
}


class MapFilter():

def append_dsl(self, dsl):
pass
19 changes: 19 additions & 0 deletions arches/app/search/components/provisional_filter.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
details = {
"searchcomponentid": "",
"name": "Provisional Filter",
"icon": "",
"modulename": "provisional_filter.py",
"classname": "ProvisionalFilter",
"componenttype": "",
"componentpath": "views/components/search/provisional-filter",
"componentname": "provisional-filter",
"config": {},
"sortorder": "0",
"enabled": True
}


class ProvisionalFilter():

def append_dsl(self, dsl):
pass
13 changes: 13 additions & 0 deletions arches/app/search/components/related_resources_filter.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
details = {
"searchcomponentid": "",
"name": "Related",
"icon": "fa fa-code-fork",
"modulename": "",
"classname": "",
"componenttype": "filter",
"componentpath": "views/components/search/related-resources-filter",
"componentname": "related-resources-filter",
"config": {},
"sortorder": "0",
"enabled": True
}
13 changes: 13 additions & 0 deletions arches/app/search/components/resource_type_filter.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
details = {
"searchcomponentid": "",
"name": "Resource Type Filter",
"icon": "",
"modulename": "",
"classname": "",
"componenttype": "resource-type-filter",
"componentpath": "views/components/search/resource-type-filter",
"componentname": "resource-type-filter",
"config": {},
"sortorder": "0",
"enabled": True
}
13 changes: 13 additions & 0 deletions arches/app/search/components/saved_searches.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
details = {
"searchcomponentid": "",
"name": "Saved",
"icon": "fa fa-bookmark",
"modulename": "",
"classname": "",
"componenttype": "filter",
"componentpath": "views/components/search/saved-searches",
"componentname": "saved-searches",
"config": {},
"sortorder": "0",
"enabled": True
}
13 changes: 13 additions & 0 deletions arches/app/search/components/search_results.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
details = {
"searchcomponentid": "",
"name": "Search Results",
"icon": "",
"modulename": "",
"classname": "",
"componenttype": "results-list",
"componentpath": "views/components/search/search-results",
"componentname": "search-results",
"config": {},
"sortorder": "0",
"enabled": True
}
19 changes: 19 additions & 0 deletions arches/app/search/components/time_filter.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
details = {
"searchcomponentid": "",
"name": "Time Filter",
"icon": "fa fa-calendar",
"modulename": "time_filter.py",
"classname": "TimeFilter",
"componenttype": "filter",
"componentpath": "views/components/search/time-filter",
"componentname": "time-filter",
"config": {},
"sortorder": "0",
"enabled": True
}


class TimeFilter():

def append_dsl(self, dsl):
pass

0 comments on commit 008bc35

Please sign in to comment.