Sha256: 42c3c666d13b02c9c40e64175d6908868390a5e8b9387bd06b7c0b5e4f9e6acf
Contents?: true
Size: 867 Bytes
Versions: 17
Compression:
Stored size: 867 Bytes
Contents
-#.filter.ui.wrap.button = reveal :filter, id, :class => 'ui compact button filter' do - if @filter - filter_values = Hash[*@filter.split(";;").collect{|f| f.split("~")}.flatten] - else - filter_values = {} .filters() = action_parameters nil, :class => 'filter_controls' do - header.each do |field| - input field, :string, "Filter for #{ field }", filter_values[field] :markdown Filters can be specified in several ways: - *String of text*: perfect match (e.g. `Cancer`) - *Regular expression*: flexible match (e.g. `/(bladder|breast)\s+cancer/i`) - *Numeric comparison*: lower of grater than (e.g. `< 0.1` or `>= 2`) - *Names*: for entities with names, such as genes or pathways; regular expression accepted (e.g. `:name: SF3B1` or `:name: /CDK\d/`) - *Length*: for lists (e.g. `:length: > 2`)
Version data entries
17 entries across 17 versions & 1 rubygems